Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "A CCScene
class is a class that inherits from CCNode
and whose main purpose is to contain the behavior of a single scene in the game."
A block of code is set as follows:
// Create a colored background (Dark Grey) CCNodeColor *background = [CCNodeColor nodeWithColor:[CCColor colorWithRed:0.2f green:0.2f blue:0.2f alpha:1.0f]]; [self addChild:background];
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "In the project navigator, select the Resources group, right-click and select Add Files to "RunYetiRun"…."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
Sometimes, you are going to be challenged by me requesting you to try to solve a particular situation. These challenges will be labeled as 1-star, 2-star, or 3-star challenges depending on the difficulty of the task, but they can be solved with the knowledge acquired throughout the book. They will look like this: