Hi I am brand new to Scratch and stuff.
I need help with a game I am creating! (first game)
I don't know how to jump! I have scratch version 3.1
Can any of you please tell me the easiest way to make the script of jump. I don't have different costumes for jump so it's ok.
Thanks!
Offline
Use a variable for lives.
Easy way to jump.
repeat 10
change y by 5
repeat 10
change y by -5
Last edited by archmage (2008-10-14 08:51:58)
Offline
archmage wrote:
Use a variable for lives.
Easy way to jump.
repeat 10
change y by 5
repeat 10
change y by -5
acctually, you should do :
[blocks]
<when[ Up arrow ]key pressed>
<repeat( 10
<change y by( 5
<repeat until> <touching color[ ground
[/blocks]
THAT is how you do it, so if you jump off a ledge, if you touch the color of the ground, you land.
Offline
Here is a good tutorial to try:
http://scratch.mit.edu/projects/bosoxtutorial/268679
This is what I use.
Offline