How to Use Animations and Sprite Sheets in Cocos2D 2.X

In this tutorial, you will learn how to create a simple animation of a bear walking in Cocos2D. You’ll also learn how to make them efficient by using sprite sheets, how to make your bear move in response to touch events, and how to change the direction the bear faces based on where the bear is moving. By Tony Dahbura.

Leave a rating/review
Save for later
Share
You are currently viewing page 3 of 3 of this article. Click here to view the first page.

Where To Go From Here?

Here is a sample project with all of the code you've developed in the above tutorial.

At this point, you should know how to use animations in your projects. You should have some fun and experiment by creating your own animations and seeing what you can do!

Tony Dahbura

Contributors

Tony Dahbura

Author

Over 300 content creators. Join our team.