- 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.
- Learning C# by Developing Games with Unity 2020
- Implementing Cisco Networking Solutions
- Visual C++應用開發
- PHP 7+MySQL 8動態網站開發從入門到精通(視頻教學版)
- LabVIEW虛擬儀器入門與測控應用100例
- Learning Material Design
- JavaScript腳本特效編程給力起飛
- 零基礎學Scratch 3.0編程
- Bitcoin Essentials
- 自己動手構建編程語言:如何設計編譯器、解釋器和DSL
- Learning Zimbra Server Essentials
- IBM DB2 9.7 Advanced Application Developer Cookbook
- Mastering React Test:Driven Development
- 軟件測試
- 匯編語言程序設計教程