I'm attempting to make a project called Win The Game! On level 2 ghosts are hidden across the screen and you must attempt to click them, but they don't show unless you click them. Even if you click where the sprite is, it won't count if it's not showing. How can I make it so that when you click where the ghost is it shows up?
Offline
Try using:
[set [ghost v] effect to ( 99 )]
...instead of "hide" - hidden sprites can't sense when they're being clicked, unfortunately. But, setting the ghost effect to 99 means that people won't be able to see the ghosts very easily - and they can sense clicks.
Hope this helps
Offline
To add on to what Wolfie1996 said, setting the ghost effect to 100 would keep the sprite completely invisible (as opposed to 99 where it is *vaguely* possible to see it) as well as make the sprite fully-functional. If the sprite is hidden with the "hide" block, the "When ___ Clicked" block won't work, while the <touching [mouse-pointer] > will.
Offline
coolstuff wrote:
To add on to what Wolfie1996 said, setting the ghost effect to 100 would keep the sprite completely invisible (as opposed to 99 where it is *vaguely* possible to see it) as well as make the sprite fully-functional. If the sprite is hidden with the "hide" block, the "When ___ Clicked" block won't work, while the <touching [mouse-pointer] > will.
100% doesn't seem to work for me (sensing clicks)...
99.99 does, though... and I can't see the sprite when it's at that amount...
Offline
Wolfie1996 wrote:
coolstuff wrote:
To add on to what Wolfie1996 said, setting the ghost effect to 100 would keep the sprite completely invisible (as opposed to 99 where it is *vaguely* possible to see it) as well as make the sprite fully-functional. If the sprite is hidden with the "hide" block, the "When ___ Clicked" block won't work, while the <touching [mouse-pointer] > will.
100% doesn't seem to work for me (sensing clicks)...
99.99 does, though... and I can't see the sprite when it's at that amount...
Oh, really? I didn't actually notice that before... Thanks!
Offline