- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- Michelle M. Fernandez
- 259字
- 2021-07-23 19:37:10
Conventions
You will also 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: "We can include other contexts through the use of the include
directive."
A block of code is set as follows:
textObject = display.newText( "Hello World!", 160, 80, native.systemFont, 36 ) textObject: setFillColor ( 1, 1, 1 )
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
local buyLevel2 = function ( product ) print ("Congrats! Purchasing " ..product) -- Purchase the item if store.canMakePurchases then store.purchase( {validProducts[1]} ) else native.showAlert("Store purchases are not available, please try again later", { "OK" } ) – Will occur only due to phone setting/account restrictions end end -- Enter your product ID here -- Replace Product ID with a valid one from iTunes Connect buyLevel2("com.companyname.appname.NonConsumable")
Any command-line input or output is written as follows:
keytool -genkey -v -keystore my-release-key.keystore -alias aliasname -keyalg RSA -validity 999999
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 the Enroll Now button and follow Apple's instructions to complete the process."
- Python編程自學(xué)手冊(cè)
- Dynamics 365 Application Development
- TypeScript圖形渲染實(shí)戰(zhàn):基于WebGL的3D架構(gòu)與實(shí)現(xiàn)
- Hands-On Reinforcement Learning with Python
- R大數(shù)據(jù)分析實(shí)用指南
- NGINX Cookbook
- 小型編譯器設(shè)計(jì)實(shí)踐
- INSTANT Apache Hive Essentials How-to
- 零基礎(chǔ)學(xué)SQL(升級(jí)版)
- Node.js 6.x Blueprints
- Azure for Architects
- Eclipse開發(fā)(學(xué)習(xí)筆記)
- Python編程:從入門到實(shí)踐(第2版)
- Java無難事:詳解Java編程核心思想與技術(shù)
- Kudu:構(gòu)建高性能實(shí)時(shí)數(shù)據(jù)分析存儲(chǔ)系統(tǒng)