In my game I want my title to disapear when the space bar is clicked and I need help.... so far with it (whcih doens't work) I have:
When *flag* clicked
Forever
Next Costume
If <key -SPACE- is pressed>
hide
Offline
If you want it to just hide, then use the when key space pressed, hide block. If that doesn't work, you may have a different script accidentally showing it. If you want a cool fade effect, then have a
when key [space v] pressed repeat [50] change [ghost v] effect by [2]That way, you don't have to hide it, and it looks cool!
Offline
If it is a sprite.
[scratchblocks]
when gf clicked
show
forever if <key [space v] is pressed>
hide
end
Offline
when gf clicked show forever if <key [space v] is pressed> hide endsorry for the blocks error in the other post.
Offline
Just do this:
clear graphic effects
When space key pressed
repeat 10
change ghost effect by 10
wait 0.001
end of repeat
hide
clear graphic effects
That is what I do, and it works all the time.
Offline
Backgrounds can't be hidden so that might be your problem
Offline
here!
forever if << space v key pressed?>> hide end
Offline
thanks. this helped :3
Offline