Game Maker
Advertisement

sets in which direction the gravity will work on an object:

0 = gravity to the left.

180 = gravity to the right.
270 is downwards gravity.

90 is gravity upwards

Example:
gravity = 0.2;
gravity_direction = 270;

Advertisement