FrancisTR / Rhythm-Swipe

A Repository dedicated to the 2D Game "Rhythm Swipe".
https://projectrhythmswipe.netlify.app/
GNU Affero General Public License v3.0
2 stars 0 forks source link

Sprite Animation from one tile to the other #22

Open FrancisTR opened 1 year ago

FrancisTR commented 1 year ago

As of now, the player and the enemy move in a static way. We want to have the sprite to move from one tile to the next with animation. The order of reaching A-to-B as follows:

Player Press any keys to move --> The sprite's height position is changed upwards --> move to the tile that the player pressed (If they player press W, the sprite moves upwards). Note that the sprite's height position did not change yet --> change back the sprite's height position to its original.

Note this order is the same for the Guard Sprite.

This video of Cadence of Hyrule trailer is how we want the movement to look like.

https://www.youtube.com/watch?v=oYd_pph6RnI