I've been trying, unsuccessfully, to make a double-jump platformer. Can anybody help me?
Offline
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