OpenLearningQuest / game

An educational game where players build competencies as part of an interactive story.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Four way animation #29

Closed ResendeTech closed 2 months ago

ResendeTech commented 2 months ago

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.

sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

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.

File-Level Changes

Files Changes
scripts/player_script.gd Implemented four-way animation control and sprite flipping for player movement.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - You can change your review settings at any time by accessing your [dashboard](https://sourcery.ai/dashboard): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.