十四-2 手游开发神器 cocos2d-x editor 之串联游戏流程
2014-02-20 16:41
645 查看
选关界面
GameSelectLayer.ccbx
[html]view plaincopy
<?xmlversion="1.0"encoding="UTF-8"?>
<Document
jsControlled="true"
jsController="GameSelectLayer"
resolution="default"
>
<Resolutions>
<ResolutioncenteredOrigin="false"ext="iphone"height="1280"width="720"name="default"scale="1"/>
<ResolutioncenteredOrigin="false"ext="iphone"height="720"width="1280"name="default1"scale="1"/>
</Resolutions>
<Animations>
<AnimationautoPlay="true"
id="0"
name="Default Timeline"
length="10"
chainedId="0"
offset="0.0"
position="0.0"
resolution="30"
scale="128">
<CallbackChannel>
</CallbackChannel>
<SoundChannel>
</SoundChannel>
</Animation>
</Animations>
<Layer
positionX="0"positionY="0"
width="100"height="100"sizeType="Percent"
anchorPointX="0.5"anchorPointY="0.5"ignoreAnchorPoint="true"
scaleX="1"scaleY="1"
touchEnabled="true"positionType="LeftBottom">
<LayerColorpositionType="LeftBottom"width="720"height="1280"positionX="0"positionY="0"anchorPointX="0"
anchorPointY="0"color="#ff20b4ff"/>
<Spritename="bg_g"var="b1"target="Doc"positionX="360"positionY="641"
positionType="LeftBottom"anchorPointX="0.5"anchorPointY="0.5"
scaleX="1"scaleY="1"scaleType="Absolute"ignoreAnchorPoint="false"
src="Resources/s_bg_grade.png"visible="false"color="#ffffffff"/>
<SpritepositionType="LeftBottom"width="587.0"height="834"positionX="361.0"positionY="689.0"anchorPointX="0.5"
anchorPointY="0.5"src="Resources/s_bg_grade.png">
<NodepositionType="LeftBottom"width="40"height="100"positionX="42.0"positionY="42.0"anchorPointX="0"
anchorPointY="0"target="Doc"var="listTop">
<ScrollViewname="levelScrollPanel"
var="levelScrollPanel"target="Doc"positionX="0"positionY="100"
positionType="LeftBottom"width="510"height="500"
sizeType="Absolute"anchorPointX="0"anchorPointY="0"
scaleX="1"scaleY="1"
clipsToBounds="true"
direction="Horizontal"
bounces="true"
ignoreAnchorPoint="true"visible="true"touchEnabled="true"mouseEnabled="true">
</ScrollView></Node>
<NodepositionType="LeftBottom"width="40"height="40"positionX="268.0"positionY="73.0"anchorPointX="0.5"
anchorPointY="0.5"var="dotNode"target="Doc"/>
</Sprite>
</Layer>
</Document>
后面的内容见多,此平台不支持这么多文字,详情请参考我在csdn上的博客:http://blog.csdn.net/touchsnow/article/details/18770755csdn博客
GameSelectLayer.ccbx
[html]view plaincopy
<?xmlversion="1.0"encoding="UTF-8"?>
<Document
jsControlled="true"
jsController="GameSelectLayer"
resolution="default"
>
<Resolutions>
<ResolutioncenteredOrigin="false"ext="iphone"height="1280"width="720"name="default"scale="1"/>
<ResolutioncenteredOrigin="false"ext="iphone"height="720"width="1280"name="default1"scale="1"/>
</Resolutions>
<Animations>
<AnimationautoPlay="true"
id="0"
name="Default Timeline"
length="10"
chainedId="0"
offset="0.0"
position="0.0"
resolution="30"
scale="128">
<CallbackChannel>
</CallbackChannel>
<SoundChannel>
</SoundChannel>
</Animation>
</Animations>
<Layer
positionX="0"positionY="0"
width="100"height="100"sizeType="Percent"
anchorPointX="0.5"anchorPointY="0.5"ignoreAnchorPoint="true"
scaleX="1"scaleY="1"
touchEnabled="true"positionType="LeftBottom">
<LayerColorpositionType="LeftBottom"width="720"height="1280"positionX="0"positionY="0"anchorPointX="0"
anchorPointY="0"color="#ff20b4ff"/>
<Spritename="bg_g"var="b1"target="Doc"positionX="360"positionY="641"
positionType="LeftBottom"anchorPointX="0.5"anchorPointY="0.5"
scaleX="1"scaleY="1"scaleType="Absolute"ignoreAnchorPoint="false"
src="Resources/s_bg_grade.png"visible="false"color="#ffffffff"/>
<SpritepositionType="LeftBottom"width="587.0"height="834"positionX="361.0"positionY="689.0"anchorPointX="0.5"
anchorPointY="0.5"src="Resources/s_bg_grade.png">
<NodepositionType="LeftBottom"width="40"height="100"positionX="42.0"positionY="42.0"anchorPointX="0"
anchorPointY="0"target="Doc"var="listTop">
<ScrollViewname="levelScrollPanel"
var="levelScrollPanel"target="Doc"positionX="0"positionY="100"
positionType="LeftBottom"width="510"height="500"
sizeType="Absolute"anchorPointX="0"anchorPointY="0"
scaleX="1"scaleY="1"
clipsToBounds="true"
direction="Horizontal"
bounces="true"
ignoreAnchorPoint="true"visible="true"touchEnabled="true"mouseEnabled="true">
</ScrollView></Node>
<NodepositionType="LeftBottom"width="40"height="40"positionX="268.0"positionY="73.0"anchorPointX="0.5"
anchorPointY="0.5"var="dotNode"target="Doc"/>
</Sprite>
</Layer>
</Document>
后面的内容见多,此平台不支持这么多文字,详情请参考我在csdn上的博客:http://blog.csdn.net/touchsnow/article/details/18770755csdn博客
相关文章推荐
- 十四 手游开发神器 cocos2d-x editor 之串联游戏流程 推荐
- 十四 手游开发神器 cocos2d-x editor 之串联游戏流程
- 十二 手游开发神器 cocos2d-x editor 之游戏暂停悬浮层
- 十二 手游开发神器 cocos2d-x editor 之游戏暂停悬浮层
- 四 手游开发神器 cocos2d-x editor 游戏框架介绍
- 四 手游开发神器 cocos2d-x editor 游戏框架介绍
- 十三 手游开发神器 cocos2d-x editor 之选关滑动界面(ScrollView)
- 十三 手游开发神器 cocos2d-x editor 之选关滑动界面(ScrollView)
- 七 手游开发神器 cocos2d-x editor 之图片字体(LabelBMFont)
- 三 手游开发神器 cocos2d-x editor 之基础工具 intellij idea
- 七 手游开发神器 cocos2d-x editor 之图片字体(LabelBMFont)
- 十一 手游开发神器 cocos2d-x editor 之音乐和音效
- 三 手游开发神器 cocos2d-x editor 之基础工具 intellij idea
- 十一 手游开发神器 cocos2d-x editor 之音乐和音效
- 手游开发神器 cocos2d-x editor 教程聚合和代码下载(持续更新中)
- 三 手游开发神器 cocos2d-x editor 之基础工具 intellij idea
- 手游开发神器 cocos2d-x editor 教程聚合和代码下载(持续更新中)
- 六 手游开发神器 cocos2d-x editor 之场景切换
- 手游开发神器 cocos2d-x editor 教程聚合和代码下载
- 六 手游开发神器 cocos2d-x editor 之场景切换