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

#1 2010-10-26 18:47:28

relt123
Scratcher
Registered: 2010-06-28
Posts: 16

jumping

i need a good jumping script. and please no rick rolls

Offline

 

#2 2010-10-26 20:42:52

JeanTheFox
Scratcher
Registered: 2010-06-14
Posts: 1000+

Re: jumping

Could you explain a bit more?


http://i51.tinypic.com/20gcn5j.png

Offline

 

#3 2010-10-26 20:49:02

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: jumping

You can try using the first part of this tutorial: http://scratch.mit.edu/forums/viewtopic.php?id=16077

If that is not what you want, could you please be more specific with your question so I could better answer it.

Hope this helps  smile


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#4 2010-10-30 15:07:52

dhruvsnh
Scratcher
Registered: 2010-07-31
Posts: 3

Re: jumping

Ok first make one script like this

<when green flag clicked>
<forever if> <<  <not> <touching[ platform  >>
<change y by(-4

next do a script like this

<when[ up arrow ]key pressed>
<if><touching[platform
<repeat( 12
<change y by( 9

Offline

 

#5 2010-10-31 11:22:49

relt123
Scratcher
Registered: 2010-06-28
Posts: 16

Re: jumping

JeanTheFox wrote:

Could you explain a bit more?

i need a script that5 makes your sprite jump.

[blocks]<when green flag clicked><glide( 6 )secs to up then down>[/blocks]

Offline

 

#6 2010-10-31 11:38:32

JeanTheFox
Scratcher
Registered: 2010-06-14
Posts: 1000+

Re: jumping

relt123 wrote:

JeanTheFox wrote:

Could you explain a bit more?

i need a script that5 makes your sprite jump.

Do you want the sprite to be able to move? If so, you'll need Y and X velocity...


http://i51.tinypic.com/20gcn5j.png

Offline

 

#7 2010-10-31 13:03:26

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Re: jumping

relt123 wrote:

JeanTheFox wrote:

Could you explain a bit more?

i need a script that5 makes your sprite jump.

[blocks]<when green flag clicked><glide( 6 )secs to up then down>[/blocks]

This should help (I promise, this is not a rickroll)
http://scratch.mit.edu/projects/HD123/1343219


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&amp;online=http://lemonfanatic.webs.com/ONLINE.png&amp;offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

#8 2010-10-31 16:23:08

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: jumping

relt123 wrote:

JeanTheFox wrote:

Could you explain a bit more?

i need a script that5 makes your sprite jump.

[blocks]<when green flag clicked><glide( 6 )secs to up then down>[/blocks]

But you still have not talled us at all what they project is like or anything.
The simplest one would just be

[when flag pressed]
[change y by (10)]
[wait (1) secs]
[change y by (-10)]

Offline

 

Board footer