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

#1 2008-10-27 21:29:13

cmd99
Scratcher
Registered: 2008-10-26
Posts: 6

jumping

how do i jump up and down on scratch

Offline

 

#2 2008-11-01 17:55:04

thelasthorizon
Scratcher
Registered: 2008-08-19
Posts: 100+

Re: jumping

you say

   When Up Arrow Clicked

       repeat however many times
       repeat until touching either edge or whatever color or sprite you want it to stop  at

Offline

 

#3 2008-11-13 03:39:57

Warhunter
Scratcher
Registered: 2008-09-19
Posts: 100+

Re: jumping

huh?


HIVE
please take your time and have a play. Features: Auto-saved data, Various Achievements, Smooth Movement, Different enemies with different behaviors, 3 difficult bosses, Score system, Credits, and EPIC MUSIC.

Offline

 

#4 2008-11-24 16:19:40

Hunter82798
Scratcher
Registered: 2008-08-24
Posts: 8

Re: jumping

Here's a script:

[blocks]<when[ up ]key pressed><repeat( 15-20 )<change y by( about 5 )<repeat( 15-20 )<change y by( about -5 )[/blocks]

Offline

 

#5 2008-11-24 16:37:43

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: jumping

no! do this:
<when green flag clicked>
<forever>
<if> <key[ right arrow key ]pressed?>
<repeat( 10-20
<change y by( 10
<repeat until> <touching color[ green (or any color)
<change y by( -5
<end>
<end>


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

Board footer