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

#1 2011-04-18 17:08:57

canopy
Scratcher
Registered: 2011-03-21
Posts: 21

2 in 1???

I want to know how to make it to where when I press an order of keys to create a reaction such as a double jump. All I know is this:

<when[ up arrow ]key pressed>
<repeat( 10
<change y by( 1
<end>
<repeat( 10
<change y by( -1
<end>

<when[ up arrow ]key pressed>
<if><<  <not> <touching[ ground >>
<repeat( 10
<change y by( 1
<end>
<repeat( 10
<change y by( -1
<end>
<end>

But that's way to glitchy! Any better ways?


http://29.media.tumblr.com/tumblr_ls2vjiQWk91qe2e32o2_500.gif

Offline

 

#2 2011-04-18 21:01:27

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: 2 in 1???

I think you may be looking for something like this:

http://i55.tinypic.com/33dff9z.gif

Does that help?


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#3 2011-04-19 00:18:47

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: 2 in 1???

It's a complicated idea to get in your script, but I think Harakou's method should work.


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

Board footer