Go to the source code of this file.
|
#define | WIDTH 600 |
| The width of the game window in pixels.
|
|
#define | HEIGHT 900 |
| The height of the game window in pixels.
|
|
#define | DEBUG 0 |
| Enables or disables Debug Mode.
|
|
|
float | gravity |
| The gravitational force applied to the player.
|
|
float | jumpSpd |
| The vertical speed of the player when jumping.
|
|
float | moveSpd |
| The horizontal movement speed of the player.
|
|
◆ DEBUG
Enables or disables Debug Mode.
When set to 1, Debug Mode is enabled, which:
- Displays the positions of all platforms on the screen.
- Allows resetting the player's position with the C key without restarting the game.
Set to 0 to disable Debug Mode.
Definition at line 16 of file globals.h.
◆ HEIGHT
The height of the game window in pixels.
Definition at line 5 of file globals.h.
◆ WIDTH
The width of the game window in pixels.
Definition at line 4 of file globals.h.
◆ gravity
The gravitational force applied to the player.
Definition at line 3 of file globals.c.
◆ jumpSpd
The vertical speed of the player when jumping.
Definition at line 4 of file globals.c.
◆ moveSpd
The horizontal movement speed of the player.
Definition at line 5 of file globals.c.