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

#1 2011-08-10 20:52:43

Underthebed
New Scratcher
Registered: 2011-07-29
Posts: 10

Help for gliding

I need some help on a game I'm making, and I need the sprite to jump, double jump, and then glide when pressing the up button.

Offline

 

#2 2011-08-10 21:05:42

4lover
Scratcher
Registered: 2010-04-24
Posts: 500+

Re: Help for gliding

it depends what you mean do yuo mean when you press the up button all of that happens?


Check out this awesome new zombie-cod type of game: http://scratch.mit.edu/projects/4lover/1975649

Offline

 

#3 2011-08-10 23:57:39

Underthebed
New Scratcher
Registered: 2011-07-29
Posts: 10

Re: Help for gliding

Yes. You press the up button once, and you jump. press the button again while in mid jump and you jump again. I have this part down. The only part I don't have is that after you double jump, you can hold the up button and glide in the direction you were running while you were jumping. So, instead of falling down as fast as regular gravity, you fall down slower, like you would see in cartoons when they are falling and they open an umbrella. ((I hope that isn't too confusing.)

Offline

 

#4 2011-08-11 02:32:26

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Help for gliding

I know how to do this in many different ways. Could you upload what you have so far so maybe we can help you better?


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&link4=http://i.imgur.com/POEpQyZ.png&link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#5 2011-08-11 11:22:31

Underthebed
New Scratcher
Registered: 2011-07-29
Posts: 10

Re: Help for gliding

I don't know how to do that yet. How will I edit it when it's already online?

Offline

 

#6 2011-08-11 11:30:54

scratchisthebest
Scratcher
Registered: 2009-02-08
Posts: 500+

Re: Help for gliding

Press Share to upload. A little-known trick is you can update a project by uploading it again with the same name!

Maybe you could use a variable:
[blocks]<forever>
  <if><( <{ double jumped? }> <=> yes )>
    <change y by( -1
  <else>
    <change y by( -5
  <end>
<end>

Last edited by scratchisthebest (2011-08-11 11:31:48)


bye 1.4, we all loved you. but we all outgrew the site. 2.0 is a welcome change.
http://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.png

Offline

 

#7 2011-08-11 11:50:57

Underthebed
New Scratcher
Registered: 2011-07-29
Posts: 10

Re: Help for gliding

I already have how the double jump will work already, I just need the glide. I'll post what I have up there. and thank you for telling me that! I'll need to update my games every day, what the perfectionist that I am.

Offline

 

#8 2011-08-11 13:35:53

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Help for gliding

why are you under the bed?


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&amp;link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&amp;link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#9 2011-08-11 14:33:34

Underthebed
New Scratcher
Registered: 2011-07-29
Posts: 10

Re: Help for gliding

no reason. It's my you tube and touch arcade name.

Offline

 

#10 2011-08-13 21:52:54

Underthebed
New Scratcher
Registered: 2011-07-29
Posts: 10

Re: Help for gliding

I sent it in! It's called baloon man, which is spelled wrong, but I'm still happy it's out!

Offline

 

#11 2011-08-15 17:55:07

Underthebed
New Scratcher
Registered: 2011-07-29
Posts: 10

Re: Help for gliding

sending out to all people? Any help?

Offline

 

Board footer