- Learning Cocos2d-x Game Development
- Siddharth Shekar
- 193字
- 2021-08-05 18:00:18
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: "The CCScene
class can be used as a container of CCLayers
."
A block of code is set as follows:
CCScene* HelloWorld::scene() { CCScene *scene = CCScene::create(); HelloWorld *layer = HelloWorld::create(); scene->addChild(layer); return scene; }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
Enemy* e = Enemy::createEnemy(gameplayLayer);
gameplayLayer->addChild(e);
e->shoot(0.016);
Any command-line input or output is written as follows:
cd desktop\coco2d-x-2.2.3\tools\project-creator
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: "Click on Download and select VS2012_WDX_ENU.iso. Click on Next and the download should begin."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- Windows phone 7.5 application development with F#
- 電腦軟硬件維修大全(實例精華版)
- SDL Game Development
- Creating Dynamic UI with Android Fragments
- Effective STL中文版:50條有效使用STL的經驗(雙色)
- BeagleBone By Example
- 電腦維護365問
- 微軟互聯網信息服務(IIS)最佳實踐 (微軟技術開發者叢書)
- 微型計算機系統原理及應用:國產龍芯處理器的軟件和硬件集成(基礎篇)
- 龍芯自主可信計算及應用
- Managing Data and Media in Microsoft Silverlight 4:A mashup of chapters from Packt's bestselling Silverlight books
- Hands-On Motion Graphics with Adobe After Effects CC
- Blender Game Engine:Beginner's Guide
- FPGA實驗實訓教程
- 嵌入式系統設計大學教程(第2版)