O'Reilly logo

Sparrow iOS Game Framework Beginner's Guide by Johannes Stein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Managing Assets and Scenes

In the previous chapter, we drew our first display objects on the screen, which in our case were quads. We made a cardboard puppet doll out of quads and learned how to use macros. There is one last thing we need to know before developing our pirate game. In this chapter, we will learn about managing our assets, such as images, sound, and other kinds of files. We will also learn how to group elements into scenes and display these scenes.

Working with assets

When we develop a game, we load files. We probably load a lot of images too. These images are displayed on the screen and are the graphics of any 2D game.

We will also need to load sound files for playing music and sound effects. Other general purpose files ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required