The long overdue follow up is finally here! 😅
In part 1, we covered how to animate a sprite sheet character on a timer using requestAnimationFrame...
For further actions, you may consider blocking this person and/or reporting abuse
So, basically, game development is incredibly laborious and every frame of movement is a small labor of love, got it!
But this is quite wonderful, thank you for sharing.
Thanks for your tutorial. This is really helpful!
Very helpful.
One of the best tutorials I've ever seen on dev.to.
Hey what about diagonal move speed ? it's too fast
The speed should be the same as the horizontal and vertical movements. If you need to slow it down, though, you could add a conditional multiplier so that when there's both horizontal and vertical movement, multiply the speed by 0.8 (or whatever you need).
Hi Martin
Good job!
Have you heard of the Phaser framework?
phaser.io
Thanks!
Yeah, I used Phaser for a game prototype a couple years ago. It's a great framework - one I highly recommend for anyone looking to build a game in JS and not wanting to start from scratch.
Nice way, helpful. Thanks.