This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-08-14 22:58:06

calefyer
Scratcher
Registered: 2008-08-08
Posts: 2

How do you maka a sprite jump????

How do you maka a sprite jump????

Offline

 

#2 2008-08-15 00:14:56

pablito_897
Scratcher
Registered: 2008-07-18
Posts: 61

Re: How do you maka a sprite jump????

<glide(    )secs to x sad     )y sad   120
<glide(    )secs to x sad     )y sad     0

Last edited by pablito_897 (2008-08-15 00:16:39)

Offline

 

#3 2008-08-15 00:24:51

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: How do you maka a sprite jump????

This project tells you how to make a sprite jump and move.
http://scratch.mit.edu/projects/archmage/72848


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#4 2008-08-15 03:13:24

bart9032
Scratcher
Registered: 2008-06-16
Posts: 100+

Re: How do you maka a sprite jump????

or do this

<repeat(7
<change y by(5
<wait( 1  )secs>
<repeat(7
<change y by(-7


Hope this works out or just use y for jumping as that means up and down while x means left and right!

Last edited by bart9032 (2008-08-15 03:14:47)


Hi, my name is Bartholomew JoJo 'Bart' Simpson. Nice to meet you,
Actually, no I am not Bart Simpson. I am bart9032  cool

Offline

 

#5 2008-08-15 03:17:27

bart9032
Scratcher
Registered: 2008-06-16
Posts: 100+

Re: How do you maka a sprite jump????

pablito_897 wrote:

<glide(    )secs to x sad     )y sad   120
<glide(    )secs to x sad     )y sad     0

it depends where your x is or it mucks up in your jump so I prefer using my description!

<glide( <pick random( 1 )to(10)
secs to x sad   )y sad  120

<glide( <pick random( 1 )to( 10)
secs to x sad   )y sad  0<pick random(  )to(

Last edited by bart9032 (2008-08-15 03:19:21)


Hi, my name is Bartholomew JoJo 'Bart' Simpson. Nice to meet you,
Actually, no I am not Bart Simpson. I am bart9032  cool

Offline

 

Board footer