-
Notifications
You must be signed in to change notification settings - Fork 2
player.lua
PGgamer2 edited this page Dec 29, 2020
·
2 revisions
Player movements and drawing.
| Function | Description |
|---|---|
| updatePlayer (dt) | Player movements. |
| drawPlayer () | Draw the player. |
| playerKeyPressed (keypressed) | Player actions when keys are pressed. |
| SetPlayerDefaultSettings () | Set player settings to the default ones. |
Player movements.
Draw the player.
Player actions when keys are pressed.
Set player settings to the default ones.
The player will be:
- Able to move
- Able to interact
- Able to open the inventory
- Able to open the menu
- Visible