coco2dx2.2.2-html5在代码中播放UI编辑器制作的动画时,一个动画里面的多个UI组件会同时播放的问题

!PZ){_0.jpg)

!PZ){_0.jpg)

!PZ){_0.jpg)

cocostudio 版本1.3.0.1

播放代码如下:

this.m_pLayout=ccs.GUIReader.getInstance().widgetFromJsonFile(“Export/UILogin/UILogin.ExportJson”);
this.m_pUILayer.addWidget(this.m_pLayout);
ccs.ActionManager.getInstance().playActionByName(“UILogin.ExportJson” , “Animation0” );

本来组件的动画应该是一个一个接着一个播放的,现在全部一起播放了

楼主记事本打开Export/UILogin/UILogin.ExportJson,复制上来看看啊?

楼主你好,能否把UI动画的帧面板给截个图让我们看一看。

{
“classname”: null,
“name”: null,
“animation”: {
“classname”: null,
“name”: “AnimationManager”,
“actionlist”:
{
“classname”: null,
“name”: “Animation0”,
“actionnodelist”:
{
“classname”: null,
“name”: “PanelMenu”,
“ActionTag”: 60,
“actionframelist”:
{
“classname”: null,
“name”: null,
“colorb”: 255,
“colorg”: 255,
“colorr”: 255,
“frameid”: 35,
“opacity”: 0,
“positionx”: 240,
“positiony”: 67,
“rotation”: 0,
“scalex”: 0,
“scaley”: 0,
“starttime”: 0,
“tweenParameter”: ],
“tweenType”: 0,
“visible”: false
},
{
“classname”: null,
“name”: null,
“colorb”: 255,
“colorg”: 255,
“colorr”: 255,
“frameid”: 40,
“opacity”: 255,
“positionx”: 240,
“positiony”: 67,
“rotation”: 0,
“scalex”: 1,
“scaley”: 1,
“starttime”: 0,
“tweenParameter”: ],
“tweenType”: 0,
“visible”: false
}
]
},
{
“classname”: null,
“name”: “LoginHero1”,
“ActionTag”: 58,
“actionframelist”:
{
“classname”: null,
“name”: null,
“colorb”: 255,
“colorg”: 255,
“colorr”: 255,
“frameid”: 0,
“opacity”: 0,
“positionx”: 228,
“positiony”: 236,
“rotation”: 0,
“scalex”: 1,
“scaley”: 1,
“starttime”: 0,
“tweenParameter”: ],
“tweenType”: 0,
“visible”: false
},
{
“classname”: null,
“name”: null,
“colorb”: 255,
“colorg”: 255,
“colorr”: 255,
“frameid”: 15,
“opacity”: 255,
“positionx”: 228,
“positiony”: 246,
“rotation”: 0,
“scalex”: 1,
“scaley”: 1,
“starttime”: 0,
“tweenParameter”: ],
“tweenType”: 0,
“visible”: false
}
]
},
{
“classname”: null,
“name”: “LoginHero2”,
“ActionTag”: 57,
“actionframelist”:
{
“classname”: null,
“name”: null,
“colorb”: 255,
“colorg”: 255,
“colorr”: 255,
“frameid”: 15,
“opacity”: 0,
“positionx”: 250,
“positiony”: 364,
“rotation”: 0,
“scalex”: 1,
“scaley”: 1,
“starttime”: 0,
“tweenParameter”: ],
“tweenType”: 0,
“visible”: false
},
{
“classname”: null,
“name”: null,
“colorb”: 255,
“colorg”: 255,
“colorr”: 255,
“frameid”: 30,
“opacity”: 255,
“positionx”: 250,
“positiony”: 374,
“rotation”: 0,
“scalex”: 1,
“scaley”: 1,
“starttime”: 0,
“tweenParameter”: ],
“tweenType”: 0,
“visible”: false
}
]
},
{
“classname”: null,
“name”: “LogoCircle”,
“ActionTag”: 54,
“actionframelist”:
{
“classname”: null,
“name”: null,
“colorb”: 255,
“colorg”: 255,
“colorr”: 255,
“frameid”: 25,
“opacity”: 0,
“positionx”: 250,
“positiony”: 660,
“rotation”: 0,
“scalex”: 0,
“scaley”: 0,
“starttime”: 0,
“tweenParameter”: ],
“tweenType”: 0,
“visible”: false
},
{
“classname”: null,
“name”: null,
“colorb”: 255,
“colorg”: 255,
“colorr”: 255,
“frameid”: 35,
“opacity”: 255,
“positionx”: 250,
“positiony”: 660,
“rotation”: 0,
“scalex”: 0.8,
“scaley”: 0.8,
“starttime”: 0,
“tweenParameter”: ],
“tweenType”: 0,
“visible”: false
}
]
}
],
“loop”: true,
“unittime”: 0.1
}
]
},
“dataScale”: 1,
“designHeight”: 800,
“designWidth”: 480,
“textures”:
“images/ui/login.plist”,
“images/ui/art_fnts.plist”,
“images/ui/achievement.plist”,
“UILogin0.plist”
],
“version”: “1.3.0.1”,
“widgetTree”: {
“classname”: “Panel”,
“name”: null,
“children”:
{
“classname”: “Panel”,
“name”: null,
“children”:
{
“classname”: “ImageView”,
“name”: null,
“children”: ],
“options”: {
“__type”: “ImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “ImageView”,
“name”: “LogoCircle”,
“ZOrder”: 0,
“actiontag”: 54,
“anchorPointX”: 0.5,
“anchorPointY”: 0.5,
“classType”: “ImageView”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 312,
“ignoreSize”: true,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 1.25,
“positionPercentY”: 3.3,
“positionType”: 1,
“rotation”: 0,
“scaleX”: 0.8,
“scaleY”: 0.8,
“sizePercentX”: 0.4,
“sizePercentY”: 0.4,
“sizeType”: 0,
“tag”: 31,
“touchAble”: false,
“useMergedTexture”: true,
“visible”: true,
“width”: 312,
“x”: 250,
“y”: 660,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“fileName”: null,
“fileNameData”: {
“path”: “login_logo_circle.png”,
“plistFile”: “”,
“resourceType”: 1
},
“scale9Enable”: false,
“scale9Height”: 312,
“scale9Width”: 312
}
}
],
“options”: {
“__type”: “PanelSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “Panel”,
“name”: “PanelLogo”,
“ZOrder”: 0,
“actiontag”: 52,
“anchorPointX”: 0,
“anchorPointY”: 0,
“classType”: “Panel”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 200,
“ignoreSize”: false,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 0,
“positionPercentY”: 0,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.416666657,
“sizePercentY”: 0.25,
“sizeType”: 0,
“tag”: 29,
“touchAble”: true,
“useMergedTexture”: true,
“visible”: true,
“width”: 200,
“x”: 0,
“y”: 0,
“adaptScreen”: false,
“backGroundImage”: null,
“backGroundImageData”: null,
“backGroundScale9Enable”: false,
“bgColorB”: 255,
“bgColorG”: 200,
“bgColorOpacity”: 100,
“bgColorR”: 150,
“bgEndColorB”: 255,
“bgEndColorG”: 200,
“bgEndColorR”: 150,
“bgStartColorB”: 255,
“bgStartColorG”: 255,
“bgStartColorR”: 255,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“clipAble”: false,
“colorType”: 0,
“layoutType”: 0,
“vectorX”: 0,
“vectorY”: -0.5
}
},
{
“classname”: “Panel”,
“name”: null,
“children”:
{
“classname”: “ImageView”,
“name”: null,
“children”: ],
“options”: {
“__type”: “ImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “ImageView”,
“name”: “LoginHero2”,
“ZOrder”: 0,
“actiontag”: 57,
“anchorPointX”: 0.5,
“anchorPointY”: 0.5,
“classType”: “ImageView”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 311,
“ignoreSize”: true,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 1.25,
“positionPercentY”: 1.82,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.4,
“sizePercentY”: 0.4,
“sizeType”: 0,
“tag”: 34,
“touchAble”: false,
“useMergedTexture”: true,
“visible”: true,
“width”: 287,
“x”: 228,
“y”: 236,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“fileName”: null,
“fileNameData”: {
“path”: “login_hero2.png”,
“plistFile”: “”,
“resourceType”: 1
},
“scale9Enable”: false,
“scale9Height”: 311,
“scale9Width”: 287
}
},
{
“classname”: “ImageView”,
“name”: null,
“children”: ],
“options”: {
“__type”: “ImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “ImageView”,
“name”: “LoginHero1”,
“ZOrder”: 0,
“actiontag”: 58,
“anchorPointX”: 0.5,
“anchorPointY”: 0.5,
“classType”: “ImageView”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 258,
“ignoreSize”: true,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 1.14,
“positionPercentY”: 1.18,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.4,
“sizePercentY”: 0.4,
“sizeType”: 0,
“tag”: 35,
“touchAble”: false,
“useMergedTexture”: true,
“visible”: true,
“width”: 457,
“x”: 238,
“y”: 351,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“fileName”: null,
“fileNameData”: {
“path”: “login_hero1.png”,
“plistFile”: “”,
“resourceType”: 1
},
“scale9Enable”: false,
“scale9Height”: 258,
“scale9Width”: 457
}
}
],
“options”: {
“__type”: “PanelSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “Panel”,
“name”: “PanelHero”,
“ZOrder”: 0,
“actiontag”: 56,
“anchorPointX”: 0,
“anchorPointY”: 0,
“classType”: “Panel”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 200,
“ignoreSize”: false,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 0,
“positionPercentY”: 0,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.416666657,
“sizePercentY”: 0.25,
“sizeType”: 0,
“tag”: 33,
“touchAble”: true,
“useMergedTexture”: true,
“visible”: true,
“width”: 200,
“x”: 0,
“y”: 0,
“adaptScreen”: false,
“backGroundImage”: null,
“backGroundImageData”: null,
“backGroundScale9Enable”: false,
“bgColorB”: 255,
“bgColorG”: 200,
“bgColorOpacity”: 100,
“bgColorR”: 150,
“bgEndColorB”: 255,
“bgEndColorG”: 200,
“bgEndColorR”: 150,
“bgStartColorB”: 255,
“bgStartColorG”: 255,
“bgStartColorR”: 255,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“clipAble”: false,
“colorType”: 0,
“layoutType”: 0,
“vectorX”: 0,
“vectorY”: -0.5
}
},
{
“classname”: “Panel”,
“name”: null,
“children”:
{
“classname”: “Button”,
“name”: null,
“children”:
{
“classname”: “ImageView”,
“name”: null,
“children”: ],
“options”: {
“__type”: “ImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “ImageView”,
“name”: “ImageLogin”,
“ZOrder”: 0,
“actiontag”: 63,
“anchorPointX”: 0.5,
“anchorPointY”: 0.5,
“classType”: “ImageView”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 41,
“ignoreSize”: true,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 0,
“positionPercentY”: 0,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.398009956,
“sizePercentY”: 1.25,
“sizeType”: 0,
“tag”: 40,
“touchAble”: false,
“useMergedTexture”: true,
“visible”: true,
“width”: 124,
“x”: 0,
“y”: 0,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“fileName”: null,
“fileNameData”: {
“path”: “id_login.png”,
“plistFile”: “”,
“resourceType”: 1
},
“scale9Enable”: false,
“scale9Height”: 41,
“scale9Width”: 124
}
}
],
“options”: {
“__type”: “ButtonSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “Button”,
“name”: “BtnLogin”,
“ZOrder”: 0,
“actiontag”: 61,
“anchorPointX”: 0.5,
“anchorPointY”: 0.5,
“classType”: “Button”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 64,
“ignoreSize”: true,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 0,
“positionPercentY”: 0,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.515,
“sizePercentY”: 0.2,
“sizeType”: 0,
“tag”: 38,
“touchAble”: true,
“useMergedTexture”: true,
“visible”: true,
“width”: 201,
“x”: 0,
“y”: 0,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“disabled”: null,
“disabledData”: {
“path”: null,
“plistFile”: null,
“resourceType”: 0
},
“fontName”: “微软雅黑”,
“fontSize”: 14,
“fontType”: 0,
“normal”: null,
“normalData”: {
“path”: “login_btn.png”,
“plistFile”: “”,
“resourceType”: 1
},
“pressed”: null,
“pressedData”: {
“path”: “login_btn_sel.png”,
“plistFile”: “”,
“resourceType”: 1
},
“scale9Enable”: false,
“scale9Height”: 64,
“scale9Width”: 201,
“text”: “”,
“textColorB”: 255,
“textColorG”: 255,
“textColorR”: 255
}
},
{
“classname”: “Button”,
“name”: null,
“children”:
{
“classname”: “ImageView”,
“name”: null,
“children”: ],
“options”: {
“__type”: “ImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “ImageView”,
“name”: “ImageQStart”,
“ZOrder”: 0,
“actiontag”: 65,
“anchorPointX”: 0.5,
“anchorPointY”: 0.5,
“classType”: “ImageView”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 40,
“ignoreSize”: true,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 0,
“positionPercentY”: 0,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.398009956,
“sizePercentY”: 1.25,
“sizeType”: 0,
“tag”: 42,
“touchAble”: false,
“useMergedTexture”: true,
“visible”: true,
“width”: 129,
“x”: 0,
“y”: 0,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“fileName”: null,
“fileNameData”: {
“path”: “direct_start.png”,
“plistFile”: “”,
“resourceType”: 1
},
“scale9Enable”: false,
“scale9Height”: 40,
“scale9Width”: 129
}
}
],
“options”: {
“__type”: “ButtonSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “Button”,
“name”: “BtnQStart”,
“ZOrder”: 0,
“actiontag”: 62,
“anchorPointX”: 0.5,
“anchorPointY”: 0.5,
“classType”: “Button”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 64,
“ignoreSize”: true,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 0,
“positionPercentY”: 0,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.515,
“sizePercentY”: 0.2,
“sizeType”: 0,
“tag”: 39,
“touchAble”: true,
“useMergedTexture”: true,
“visible”: true,
“width”: 201,
“x”: 0,
“y”: 0,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“disabled”: null,
“disabledData”: {
“path”: null,
“plistFile”: null,
“resourceType”: 0
},
“fontName”: “微软雅黑”,
“fontSize”: 14,
“fontType”: 0,
“normal”: null,
“normalData”: {
“path”: “login_btn.png”,
“plistFile”: “”,
“resourceType”: 1
},
“pressed”: null,
“pressedData”: {
“path”: “login_btn_sel.png”,
“plistFile”: “”,
“resourceType”: 1
},
“scale9Enable”: false,
“scale9Height”: 64,
“scale9Width”: 201,
“text”: “”,
“textColorB”: 255,
“textColorG”: 255,
“textColorR”: 255
}
}
],
“options”: {
“__type”: “PanelSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “Panel”,
“name”: “PanelMenu”,
“ZOrder”: 0,
“actiontag”: 60,
“anchorPointX”: 0,
“anchorPointY”: 0,
“classType”: “Panel”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 200,
“ignoreSize”: false,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 0.5,
“positionPercentY”: 0.08375,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.416666657,
“sizePercentY”: 0.25,
“sizeType”: 0,
“tag”: 37,
“touchAble”: true,
“useMergedTexture”: true,
“visible”: true,
“width”: 200,
“x”: 0,
“y”: 0,
“adaptScreen”: false,
“backGroundImage”: null,
“backGroundImageData”: null,
“backGroundScale9Enable”: false,
“bgColorB”: 255,
“bgColorG”: 200,
“bgColorOpacity”: 100,
“bgColorR”: 150,
“bgEndColorB”: 255,
“bgEndColorG”: 200,
“bgEndColorR”: 150,
“bgStartColorB”: 255,
“bgStartColorG”: 255,
“bgStartColorR”: 255,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“clipAble”: false,
“colorType”: 0,
“layoutType”: 0,
“vectorX”: 0,
“vectorY”: -0.5
}
},
{
“classname”: “ImageView”,
“name”: null,
“children”: ],
“options”: {
“__type”: “ImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “ImageView”,
“name”: “ImageTopFrame”,
“ZOrder”: 0,
“actiontag”: 66,
“anchorPointX”: 0.5,
“anchorPointY”: 0.5,
“classType”: “ImageView”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 28,
“ignoreSize”: true,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 0.4953125,
“positionPercentY”: 0.981875062,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.166666672,
“sizePercentY”: 0.1,
“sizeType”: 0,
“tag”: 43,
“touchAble”: false,
“useMergedTexture”: true,
“visible”: true,
“width”: 486,
“x”: 237,
“y”: 785,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“fileName”: null,
“fileNameData”: {
“path”: “top_frame.png”,
“plistFile”: “”,
“resourceType”: 1
},
“scale9Enable”: false,
“scale9Height”: 28,
“scale9Width”: 486
}
},
{
“classname”: “ImageView”,
“name”: null,
“children”: ],
“options”: {
“__type”: “ImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “ImageView”,
“name”: “ImageBomFrame”,
“ZOrder”: 0,
“actiontag”: 67,
“anchorPointX”: 0.5,
“anchorPointY”: 0.5,
“classType”: “ImageView”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 28,
“ignoreSize”: true,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 0.49218753,
“positionPercentY”: 0.136562511,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0.166666672,
“sizePercentY”: 0.1,
“sizeType”: 0,
“tag”: 44,
“touchAble”: false,
“useMergedTexture”: true,
“visible”: true,
“width”: 486,
“x”: 236,
“y”: 109,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“fileName”: null,
“fileNameData”: {
“path”: “top_frame.png”,
“plistFile”: “”,
“resourceType”: 1
},
“scale9Enable”: false,
“scale9Height”: 28,
“scale9Width”: 486
}
}
],
“options”: {
“__type”: “PanelSurrogate:#EditorCommon.JsonModel.Component.GUI”,
“classname”: “Panel”,
“name”: “PanelLogin”,
“ZOrder”: 0,
“actiontag”: -1,
“anchorPointX”: 0,
“anchorPointY”: 0,
“classType”: “Panel”,
“colorB”: 255,
“colorG”: 255,
“colorR”: 255,
“customProperty”: “”,
“flipX”: false,
“flipY”: false,
“height”: 800,
“ignoreSize”: false,
“layoutParameter”: null,
“opacity”: 255,
“positionPercentX”: 0,
“positionPercentY”: 0,
“positionType”: 0,
“rotation”: 0,
“scaleX”: 1,
“scaleY”: 1,
“sizePercentX”: 0,
“sizePercentY”: 0,
“sizeType”: 0,
“tag”: 3,
“touchAble”: true,
“useMergedTexture”: true,
“visible”: true,
“width”: 480,
“x”: 0,
“y”: 0,
“adaptScreen”: false,
“backGroundImage”: null,
“backGroundImageData”: {
“path”: “images/ui/bg_login.jpg”,
“plistFile”: “”,
“resourceType”: 1
},
“backGroundScale9Enable”: false,
“bgColorB”: 255,
“bgColorG”: 200,
“bgColorOpacity”: 0,
“bgColorR”: 150,
“bgEndColorB”: 255,
“bgEndColorG”: 200,
“bgEndColorR”: 150,
“bgStartColorB”: 255,
“bgStartColorG”: 255,
“bgStartColorR”: 255,
“capInsetsHeight”: 1,
“capInsetsWidth”: 1,
“capInsetsX”: 0,
“capInsetsY”: 0,
“clipAble”: false,
“colorType”: 1,
“layoutType”: 0,
“vectorX”: 0,
“vectorY”: -0.5
}
}
}

— Begin quote from ____

引用第2楼hanrea于2014-04-11 09:27发表的 回 楼主(emutime@qq.com) 的帖子 :
楼主你好,能否把UI动画的帧面板给截个图让我们看一看。 http://www.cocoachina.com/bbs/job.php?action=topost&tid=197575&pid=924042

— End quote

— Begin quote from ____

引用第2楼hanrea于2014-04-11 09:27发表的 回 楼主(emutime@qq.com) 的帖子 :
楼主你好,能否把UI动画的帧面板给截个图让我们看一看。 http://www.cocoachina.com/bbs/job.php?action=topost&tid=197575&pid=924042

— End quote

在编辑器里面点播放是一个一个接着放的,在cocos2d-html5v2.2.2就一起放了,我试过cocos2d-x2.2.2版本的win32版本播放,也是一起播放的,是我的动画编辑有问题吗?图已发了,请帮忙看看

这个建议您将前面的空白帧补上,后期我们将会升级现在的UI动画。

好的,我试试,非常感谢

试过,可以了

不客气 :14: