The next step
Now, you have seen the power of SpriteBuilder. With a relatively small amount of code, you have created a game that has complex physics mechanics. There was no layout code to write at all which keeps the code very readable.
You learned a lot in this chapter. SpriteBuilder is a large piece of software and you require a lot of practice to learn it properly. You should now have a basic understanding about how to layout a scene, and how to create resuseable components to speed up developer. Reuseable components also cut down on code repetition.
Of course! The game is very simple and lacks polish. In the next chapter, you will add some proper assets and design simple animations to go with them. You will also learn about particle systems. This will take the game to a whole new level.
In the meantime, however you could think about adding the following features:
- Add a score system. You will need to detect when the character passes between two blocks. To do this, you could use an invisible...