-
Notifications
You must be signed in to change notification settings - Fork 2
player.gd
Lupin edited this page Dec 2, 2024
·
3 revisions
**# PLAYER SCRIPT **
The player script is where player movement, player attacking , and player health tracking happens and is attached to the player scene in our Godot project
In the physics process function this is where the movement and attacking input is read and processed.
Here is the first half of the function, in the initial lines it sets the player's hitbox and checking whether the player has a weapon equipped this is important for later when we get to damage: