Well Done. Works nice! I like the images and animations. How did you guys animate them? Curious to know.
Viewing post in Math CastLè jam comments
Thank you very much.
For the animations we used requestAnimationFrame which takes a callback and calls it before the browser repaint, so our callback would update the transform translate css style of our enemies moving them towards the castle. For the sprites we set the enemy div background image to the enemy sprite sheet and after a set time the background images position is shifted to show the next sprite frame, making it look like the enemy is walking.