Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits) (+1)

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.

(+1)

Thank you!