2
目录
Starling框架帮助手册中文版 .......................................................................................................... 1
什么是Statling? ...................................................................................................................... 3
为什么选择Starling? ................................................................................................................. 3
Starling的特色 .......................................................................................................................... 3
直观 ................................................................................................................................... 3
轻量级 ............................................................................................................................... 3
免费 ................................................................................................................................... 4
Starling是怎样工作的 .............................................................................................................. 4
显示层次限制 ........................................................................................................................... 9
让我们开始上手吧 ................................................................................................................. 10
构建场景 ......................................................................................................................... 11
Wmode ............................................................................................................................ 15
Stage质量 ........................................................................................................................ 16
根据不同渲染模式决定优化策略 ................................................................................. 16
显示列表 ......................................................................................................................... 16
事件模型 ......................................................................................................................... 30
事件冒泡机制 ................................................................................................................. 30
Touch事件 ....................................................................................................................... 30
模拟多点触摸 ................................................................................................................. 32
Textu re ............................................................................................................................. 35
Image ............................................................................................................................... 37
碰撞检测 ......................................................................................................................... 46
绘图API ........................................................................................................................... 48
Flat Sprites ....................................................................................................................... 49
MovieClip ........................................................................................................................ 52
Texture Atlas .................................................................................................................... 58
Juggler ............................................................................................................................. 64
Button .............................................................................................................................. 66
TextField .......................................................................................................................... 74
嵌入字体 ......................................................................................................................... 77
位图字体 ......................................................................................................................... 79
RenderTexture ................................................................................................................. 88
Tweens ............................................................................................................................ 90
资源管理器 ..................................................................................................................... 94
处理屏幕尺寸改变 ......................................................................................................... 95
在Starling中使用Box2D作为插件 .................................................................................. 97
在Starling中进行概要分析 ........................................................................................... 101
粒子 ............................................................................................................................... 104
工作人员 ....................................................................................................................... 110