Closed ResendeTech closed 2 months ago
This pull request introduces four-way animation control for the player character. The changes include flipping the sprite horizontally when moving left and playing different animations based on the direction of movement. Additionally, an idle animation is played when no movement keys are pressed.
Files | Changes |
---|---|
scripts/player_script.gd |
Implemented four-way animation control and sprite flipping for player movement. |
Summary by Sourcery
This pull request introduces four-way animation for the player character, allowing for distinct animations when moving left, right, up, and down. Additionally, it includes horizontal flipping of the sprite when moving left to ensure the correct orientation.