Chapter 3. SpriteBuilder
It's time to introduce you to the graphical editor that can be used with Cocos2d, SpriteBuilder. SpriteBuilder is a fully featured graphical development environment for Cocos2d. It is very powerful and much of your game can actually be created inside of SpriteBuilder. It is especially good at eliminating tedious and repetitive layout code because you can lay out your entire scene graphically and see the results straightaway.
In this chapter, you will learn about:
- Setting up a new project in SpriteBuilder
- The basics of SpriteBuilder
- Laying out a scene
- Animating a scene
- Transitioning between scenes
In this chapter, the basics of SpriteBuilder will be introduced as well as some simple physics. You will learn how to create a new project and set up two scenes (one for the main menu, and one for the gameplay). You will then learn how to create code connections in order to write code for your nodes that are created within SpriteBuilder. This will be accomplished...