How would you make a character jump in a Scratch game?
Offline
Offline
Thanks, Jvvg. Also, how do you hide a sprite?
Offline
You use the hide block under the "looks" category.
hide
Offline
jvvg wrote:
This should go in help with scripts, but you do this:
when I receive [jump v] repeat (10) change y by [2] end repeat (10) change y by [-2] end
To have it go more smoothly, do this:
when I receive [jump v] if <touching [Ground v]?> set [Count v] to [0] set [YVEL v] to [6] change y by (YVel) endNow you saw the "Count" variable didn't you? Watch this video for more information.
Offline
frenchdolphin wrote:
Thanks, Jvvg. Also, how do you hide a sprite?
This would be in another topic.
Offline