- Learning Cocos2d-JS Game Development
- Emanuele Feronato
- 206字
- 2021-08-06 19:43:51
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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "I found myself almost rewriting the game with a series of if
.. then
.. else
trying to make it look good on any device."
A block of code is set as follows:
var gameScene = cc.Scene.extend({ onEnter:function () { this._super(); gameLayer = new game(); gameLayer.init(); this.addChild(gameLayer); } });
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
var gameScene = cc.Scene.extend({ onEnter:function () { this._super(); gameLayer = new game(); gameLayer.init(); this.addChild(gameLayer); } });
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 you now open the developer console, you should see: my awesome game starts here".
- UI圖標(biāo)創(chuàng)意設(shè)計(jì)
- C# 7 and .NET Core Cookbook
- 軟件項(xiàng)目估算
- LabVIEW 2018 虛擬儀器程序設(shè)計(jì)
- 軟件項(xiàng)目管理(第2版)
- Mastering SVG
- 算法精粹:經(jīng)典計(jì)算機(jī)科學(xué)問題的Python實(shí)現(xiàn)
- 軟件工程
- Android系統(tǒng)原理及開發(fā)要點(diǎn)詳解
- Visual Basic程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)(第二版)
- Spring Boot+Vue全棧開發(fā)實(shí)戰(zhàn)
- Clojure for Machine Learning
- 動(dòng)手打造深度學(xué)習(xí)框架
- Visual Basic語言程序設(shè)計(jì)上機(jī)指導(dǎo)與練習(xí)(第3版)
- 深入大型數(shù)據(jù)集:并行與分布化Python代碼