Crafty Beyond the Basics: Sprites

Hero Spritesheet

In all the Crafty tutorials up to this point, you have been using square or rectangular boxes to understand different concepts like animation and keyboard or touch events. While this is a great way to quickly learn more about the library, you will most probably like to use images in your actual games.

In this tutorial, you will learn how to load sprite sheets to use different images in your game. After that, you will learn how to animate different characters using sprite animation.

Loading a…

Read the entire article at the source link…




We’re happy to share this resource that we found. The content displayed on this page is property of it’s original author and/or their organization.




Leave a Reply

You must be logged in to post a comment.