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. ...

Get Learning iPhone Game Development with Cocos2D 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.