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

#1 2009-02-19 03:14:34

ILikeCheese729
Scratcher
Registered: 2008-10-18
Posts: 9

Double jump

I've been trying, unsuccessfully, to make a double-jump platformer. Can anybody help me?


I got past level 18 on Swistakowy Klopot!

Offline

 

#2 2009-02-19 06:36:18

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: Double jump

basic theory: a var that changes by 1 every time you press the up button, and returns to 0 when gravity is 0. if the var is 0 and up is pressed, it is changed to 1, and grav is changed to jump. If its 1 and up is pressed, then you change grav so that you jump more, and the var is assigned to 2.

Offline

 

Board footer