- iOS 9 Game Development Essentials
- Chuck Gaffney
- 224字
- 2021-08-05 16:36:54
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, filenames, file extensions, pathnames, and user input, are shown as follows: "As we can see, the AppDelegate.swift
and the ViewController.swift
files were automatically created for us and right below that, we'd find the Main.Storyboard
file."
A block of code is set as follows:
let score = player.score var scoreCountNum = 0 do { HUD.scoreText = String(scoreCountNum) scoreCountNum = scoreCountNum * 2 } while scoreCountNum < score
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
// Collision bit masks
typedef NS_OPTIONS(NSUInteger, AAPLBitmask) {
AAPLBitmaskCollision = 1UL << 2,
AAPLBitmaskCollectable = 1UL << 3,
AAPLBitmaskEnemy = 1UL << 4,
AAPLBitmaskSuperCollectable = 1UL << 5,
AAPLBitmaskWater = 1UL << 6
};
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: " Alternately, imagine that the player lost all of their lives and got a Game Over message."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- .NET之美:.NET關(guān)鍵技術(shù)深入解析
- Mobile Web Performance Optimization
- OpenNI Cookbook
- C#程序設(shè)計教程
- 區(qū)塊鏈:以太坊DApp開發(fā)實(shí)戰(zhàn)
- Spring實(shí)戰(zhàn)(第5版)
- C#實(shí)踐教程(第2版)
- Unity 2D Game Development Cookbook
- 深入分布式緩存:從原理到實(shí)踐
- jQuery Mobile移動應(yīng)用開發(fā)實(shí)戰(zhàn)(第3版)
- 持續(xù)輕量級Java EE開發(fā):編寫可測試的代碼
- 區(qū)塊鏈技術(shù)進(jìn)階與實(shí)戰(zhàn)(第2版)
- 后臺開發(fā):核心技術(shù)與應(yīng)用實(shí)踐
- Cocos2d-x by Example:Beginner's Guide(Second Edition)
- Mastering Concurrency Programming with Java 9(Second Edition)