Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Cocos2d Game Development Essentials
  • Table Of Contents Toc
Cocos2d Game Development Essentials

Cocos2d Game Development Essentials - Second Edition

By : Ben Trengrove
4.5 (2)
close
close
Cocos2d Game Development Essentials

Cocos2d Game Development Essentials

4.5 (2)
By: Ben Trengrove

Overview of this book

If you are a game developer with experience in Objective-C and are interested in creating games for iOS or Android, this is the book for you. It will help you to quickly get started with Cocos2D and guide you through the process of creating a game, giving you the essential skills and knowledge you need to do so.
Table of Contents (8 chapters)
close
close

Chapter 4. Animation with SpriteBuilder

In the previous chapter, you were introduced to SpriteBuilder. In order to keep it simple, the tutorial did not use any graphical assets. In this chapter, you will learn how to add assets to SpriteBuilder and create animations for them. It will really take your Flappy Bird game to the next level. You will also be introduced to particles to add a nice little effect to the bird when the user taps the screen.

The following points will be covered in this chapter:

  • Adding sprite assets to SpriteBuilder
  • Animating in SpriteBuilder using sprite frames
  • Animating nodes in SpriteBuilder using keyframes
  • Animating in code using actions
    • Moving, scaling, and rotating
    • Sequencing actions
    • Delaying actions
    • Running actions at the same time
    • Repeating actions
    • Running code with actions to get a callback
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Cocos2d Game Development Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon