ID:167554
 
how do i make with my game that i jump with ^ an sit with down like sonic game and that u cant walk up and down
This might help you:
http://developer.byond.com/hub/CIB/gravitylib

If you have problems with using it, tell me.
In response to CIB
i dont get it
In response to Giano
OK, when you have downloaded it, you need to include it in your environment first. Open it and look for the Lib folder. In the Lib folder you see CIB.gravitylib. Click the checkbox beside it to include it. Then put this somewhere in your code:
client
North()
src.mob.jump()
South()
Northwest()
Northeast()
Southwest()
Southeast()

There are also some vars which determine if the atom is fixed or how far you can jump, they are explained in the hub.
In response to CIB
cool thanks