Skip to Main Content
Learning iPhone Game Development with Cocos2D 3.0
book

Learning iPhone Game Development with Cocos2D 3.0

by Kirill Muzykov
June 2014
Beginner to intermediate content levelBeginner to intermediate
434 pages
9h 49m
English
Packt Publishing
Content preview from Learning iPhone Game Development with Cocos2D 3.0

Time for action – adding labels

It would be nice to know how many birds we've spawned, how many birds we've hit, and more importantly how many birds we've missed.

Note

If you completed all code from the previous chapter, simply continue building on top of your project. If you've skipped a part or don't have the code for some reason, just take the final code of the project from the previous chapter in the Chapter_05/Cocohunt_05_Final folder and use it as a starter project.

You can download the book's supporting files by visiting www.packtpub.com/support and following the instructions.

Let's display those labels on the screen:

  1. Open the Cocohunt project at the point where we left it in the previous chapter.
  2. Right-click on the Scenes group, click on New ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Swift Games Development for iOS: Develop 2D and 3D games Using Apple's SceneKit and SpriteKit

Beginning Swift Games Development for iOS: Develop 2D and 3D games Using Apple's SceneKit and SpriteKit

James Goodwill, Wesley Matlock

Publisher Resources

ISBN: 9781782160144Supplemental Content