-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
230 lines (204 loc) · 8.31 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html dir="ltr" class="js desktop" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>index</title>
<script>
(function(H) {
H.className = H.className.replace(/\bno-js\b/, 'js')
})(document.documentElement)
</script>
<link rel="stylesheet" type="text/css" href="css.css">
<script type="text/javascript" charset="utf-8" src="js.js"></script>
</head>
<body>
<!--[if lte IE 7 ]><div id="IE7"><![endif]-->
<!--[if IE 8 ]><div id="IE8"><![endif]-->
<div id="dokuwiki__site">
<div id="dokuwiki__top" class="dokuwiki site mode_show ">
<!-- ********** HEADER ********** -->
<div id="dokuwiki__header">
<div class="pad group">
<hr class="a11y">
</div>
</div>
<!-- /header -->
<div class="wrapper group">
<!-- ********** CONTENT ********** -->
<div id="dokuwiki__content"><div class="pad group">
<div class="pageId"><span>zh_cn:api</span></div>
<div class="page group">
<!-- wikipage start -->
<!-- TOC START -->
<div id="dw__toc">
<h3 class="toggle">Table of Contents</h3>
<div>
<ul class="toc">
<li class="level1"><div class="li"><a href="#quick-cocos2d-x_api_文档">quick-cocos2d-x API 文档</a></div>
<ul class="toc">
<li class="level2"><div class="li"><a href="#其他模块">其他模块</a></div></li>
<li class="level2"><div class="li"><a href="#数据结构">数据结构</a></div></li>
<li class="level2"><div class="li"><a href="#基本对象">基本对象</a></div></li>
<li class="level2"><div class="li"><a href="#显示对象">显示对象</a></div></li>
</ul></li>
</ul>
</div>
</div>
<!-- TOC END -->
<h1 class="sectionedit1" id="quick-cocos2d-x_api_文档">quick-cocos2d-x API 文档</h1>
<div class="level1">
<p>
<abbr title="Application Programming Interface">API</abbr> 文档是针对 quick-cocos2d-x 的 Lua framework 而言,底层的 C++ <abbr title="Application Programming Interface">API</abbr> 文档,请参考 cocos2d-x.org。
</p>
<p>
Lua framework 的基础模块由以下几个部分组成:
</p>
<ul>
<li class="level1"><div class="li">
<a href="framework.functions.html" class="wikilink1" title="zh_cn:api:framework.functions">framework.functions</a> 基础函数库</div>
</li>
<li class="level1"><div class="li">
<a href="framework.debug.html" class="wikilink1" title="zh_cn:api:framework.debug">framework.debug</a> 调试支持</div>
</li>
<li class="level1"><div class="li">
<a href="framework.device.html" class="wikilink1" title="zh_cn:api:framework.device">framework.device</a> 提供设备相关属性的查询,以及设备功能的访问</div>
</li>
<li class="level1"><div class="li">
<a href="framework.display.html" class="wikilink1" title="zh_cn:api:framework.display">framework.display</a> 与显示图像、场景有关的功能</div>
</li>
<li class="level1"><div class="li">
<a href="framework.audio.html" class="wikilink1" title="zh_cn:api:framework.audio">framework.audio</a> 播放音乐、音效</div>
</li>
<li class="level1"><div class="li">
<a href="framework.ui.html" class="wikilink1" title="zh_cn:api:framework.ui">framework.ui</a> 创建和管理用户界面</div>
</li>
<li class="level1"><div class="li">
<a href="framework.transition.html" class="wikilink1" title="zh_cn:api:framework.transition">framework.transition</a> 为图像创造效果</div>
</li>
<li class="level1"><div class="li">
<a href="framework.network.html" class="wikilink1" title="zh_cn:api:framework.network">framework.network</a> 网络服务</div>
</li>
<li class="level1"><div class="li">
<a href="framework.crypto.html" class="wikilink1" title="zh_cn:api:framework.crypto">framework.crypto</a> 加解密、数据编码</div>
</li>
<li class="level1"><div class="li">
<a href="framework.json.html" class="wikilink1" title="zh_cn:api:framework.json">framework.json</a> JSON 编码与解码</div>
</li>
<li class="level1"><div class="li">
<a href="framework.luaoc.html" class="wikilink1" title="zh_cn:api:framework.luaoc">framework.luaoc</a> Lua 与 Objective-C 的交互接口,仅用于 iOS</div>
</li>
<li class="level1"><div class="li">
<a href="framework.luaj.html" class="wikilink1" title="zh_cn:api:framework.luaj">framework.luaj</a> Lua 与 Java 的交互接口,仅用于 Android</div>
</li>
<li class="level1"><div class="li">
<a href="framework.scheduler.html" class="wikilink1" title="zh_cn:api:framework.scheduler">framework.scheduler</a> 全局计时器、计划任务</div>
</li>
</ul>
<p>
这些模块除了
<a href="framework.scheduler.html" class="wikilink1" title="zh_cn:api:framework.scheduler">framework.scheduler</a> 之外,都会在游戏初始化时自动加载。
</p>
<p>
~~
</p>
</div>
<h2 class="sectionedit2" id="其他模块">其他模块</h2>
<div class="level2">
<ul>
<li class="level1"><div class="li">
<a href="tolua.html" class="wikilink1" title="zh_cn:api:tolua">tolua</a></div>
</li>
</ul>
<p>
~~
</p>
</div>
<h2 class="sectionedit3" id="数据结构">数据结构</h2>
<div class="level2">
<ul>
<li class="level1"><div class="li">
<a href="ccpoint.html" class="wikilink1" title="zh_cn:api:ccpoint">CCPoint, CCSize, CCRect</a> 坐标、尺寸、矩形区域</div>
</li>
<li class="level1"><div class="li">
<a href="cccolor.html" class="wikilink1" title="zh_cn:api:cccolor">ccColor3B, ccColor4B, ccColor4F</a> 颜色</div>
</li>
<li class="level1"><div class="li">
<a href="ccpointarray.html" class="wikilink1" title="zh_cn:api:ccpointarray">CCPointArray</a> CCPoint 对象数组</div>
</li>
<li class="level1"><div class="li">
<a href="ccarray.html" class="wikilink1" title="zh_cn:api:ccarray">CCArray</a> C++ 对象数组</div>
</li>
</ul>
<p>
~
~
</p>
</div>
<h2 class="sectionedit4" id="基本对象">基本对象</h2>
<div class="level2">
<ul>
<li class="level1"><div class="li">
<a href="ccobject.html" class="wikilink1" title="zh_cn:api:ccobject">CCObject</a> 根对象</div>
</li>
</ul>
<p>
~~
</p>
</div>
<h2 class="sectionedit5" id="显示对象">显示对象</h2>
<div class="level2">
<ul>
<li class="level1"><div class="li">
<a href="ccscene.html" class="wikilink1" title="zh_cn:api:ccscene">CCScene</a> 场景</div>
</li>
<li class="level1"><div class="li">
<a href="ccnode.html" class="wikilink1" title="zh_cn:api:ccnode">CCNode</a> 节点</div>
</li>
<li class="level1"><div class="li">
<a href="ccsprite.html" class="wikilink1" title="zh_cn:api:ccsprite">CCSprite</a> 图像</div>
</li>
<li class="level1"><div class="li">
<a href="cclayer.html" class="wikilink1" title="zh_cn:api:cclayer">CCLayer</a> 层</div>
</li>
<li class="level1"><div class="li">
<a href="ccshapenode.html" class="wikilink1" title="zh_cn:api:ccshapenode">CCShapeNode</a> 图形</div>
</li>
</ul>
</div>
<!-- wikipage stop -->
</div>
<div class="docInfo">zh_cn/api.txt · Last modified: 2013/08/19 16:24 by Yu Lei Liao</div>
</div></div>
<!-- /content -->
<hr class="a11y">
<!-- PAGE ACTIONS -->
<div id="dokuwiki__pagetools">
<h3 class="a11y">Page Tools</h3>
<div class="tools">
<ul>
<li>
<a href="index.html" class="action backlink" rel="nofollow" title="home">
<span>home</span>
</a>
</li>
<li>
<a href="#dokuwiki__top" class="action top" accesskey="t" rel="nofollow" title="Back to top [T]">
<span>Back to top</span>
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- /wrapper -->
</div>
</div>
<!-- /site -->
<div class="no">
<img src="zh_cn_api%20%5Bquick-cocos2d-x%20docs%5D_files/indexer.gif" alt="" height="1" width="2">
</div>
<div id="screen__mode" class="no"></div>
<!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->
</body>
</html>