Wikia

Game Maker

Gravity

237pages on
this wiki
Talk0

Sets the gravity. When setting this your object will move (for example) up and if its not moving up anymore it will slow down and fall down.

Example;

gravity = 0.2;
if (keyboard_check_direct(vk_up)) vspeed += 0.4;

Around Wikia's network

Random Wiki