O'Reilly logo

Learning iPhone Game Development with Cocos2D 3.0 by Kirill Muzykov

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

Time for action – displaying the world

Making a video game implies drawing on the screen. Everybody knows that! So, let's go ahead and finally draw something on the screen. We're not going to step aside from the tradition of saying hello to the world, but we're going to make it more visual.

In this part, we will display an image of the earth, and in the next part, we will welcome it using some text. Refer to the following steps:

  1. First of all, we'll need an actual image to display on the screen. It is not some kind of a special image; we could use any, but I've prepared an earth image that works best for this sample. To display images in the game, we should first add them to the project so that they are packed and distributed with the game or application. ...

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