gravity_direction (Game Maker)
gravity_direction
(Game Maker 6.1, 7)
gravity_direction - direction of gravity
Description
gravity_direction is a local variable that contains the direction of gravity. If gravity is set to , gravity_direction retains its value but does not aid in moving an instance.
The value of gravity_direction can be any number between and 359 and represent the same directions as used for gravity direction
Direction Reference
- 0 is right
- 45 is up/right
- 90 is up
- 135 is up/left
- 180 is left
- 225 is down/left
- 270 is down
- 315 is down/right
Related Pages
Variables
Actions
page revision: 14, last edited: 01 Oct 2013 06:53





