Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "So let's modify our GameManager class to also manage score for each level."

A block of code is set as follows:

local musicText = TextField.new(conf.fontSmall, "Music: ")
musicText:setPosition(100, 250)
musicText:setTextColor(0xffff00)
self:addChild(musicText)

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "If music is on, we will set the Turn off text, but if music is off, we will set the Turn on text."

Note ...

Get Gideros Mobile Game Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.