Player animation system implementation. More...
Functions | |
| int | Player_AnimationInit () |
| [Start] Initializes the player's animation system | |
| int | Player_AnimationUpdate () |
| [PostUpdate] Updates the player's animation state | |
Player animation system implementation.
Manages player character animations based on state and actions. Handles animation transitions, updates, and initialization.
| int Player_AnimationInit | ( | ) |
[Start] Initializes the player's animation system
Initializes player animations.
Creates and sets up the player's animation system from the animation data defined in player_data.c.
| int Player_AnimationUpdate | ( | ) |
[PostUpdate] Updates the player's animation state
Updates player animations.
Selects the appropriate animation based on player state (idle or walking) and advances the animation frames.