no commit message

This commit is contained in:
贝密游戏
2017-08-04 21:53:42 +08:00
parent 9432a1b8cc
commit efb0dab906
24 changed files with 1392 additions and 291 deletions

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.1",
"uuid": "97f509bc-f385-4b4e-a504-3612898cc5fc",
"isGroup": false,
"subMetas": {}
}

View File

@@ -0,0 +1,32 @@
{
"__type__": "cc.AnimationClip",
"_name": "girl_to_left",
"_objFlags": 0,
"_rawFiles": null,
"_duration": 1,
"sample": 60,
"speed": 1,
"wrapMode": 1,
"curveData": {
"props": {
"position": [
{
"frame": 0,
"value": [
45,
-30
],
"curve": "circOut"
},
{
"frame": 1,
"value": [
-423,
-30
]
}
]
}
},
"events": []
}

View File

@@ -0,0 +1,5 @@
{
"ver": "1.0.0",
"uuid": "297272a6-b2ff-4ee6-890e-ef25293e8807",
"subMetas": {}
}

View File

@@ -0,0 +1,32 @@
{
"__type__": "cc.AnimationClip",
"_name": "girl_to_right",
"_objFlags": 0,
"_rawFiles": null,
"_duration": 1,
"sample": 60,
"speed": 1,
"wrapMode": 1,
"curveData": {
"props": {
"position": [
{
"frame": 0,
"value": [
-423,
-30
],
"curve": "circOut"
},
{
"frame": 1,
"value": [
45,
-30
]
}
]
}
},
"events": []
}

View File

@@ -0,0 +1,5 @@
{
"ver": "1.0.0",
"uuid": "7c710ab0-e143-46e0-a5de-037d5745edf4",
"subMetas": {}
}

View File

@@ -59,17 +59,20 @@
"__id__": 3
},
{
"__id__": 8
"__id__": 9
},
{
"__id__": 30
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 29
"__id__": 36
},
{
"__id__": 30
"__id__": 37
}
],
"_prefab": null,
@@ -177,7 +180,7 @@
"_active": true,
"_components": [
{
"__id__": 7
"__id__": 8
}
],
"_prefab": null,
@@ -230,6 +233,9 @@
"_components": [
{
"__id__": 6
},
{
"__id__": 7
}
],
"_prefab": null,
@@ -259,8 +265,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": -30
"x": 45,
"y": -33
},
"_skewX": 0,
"_skewY": 0,
@@ -295,6 +301,22 @@
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_defaultClip": null,
"_clips": [
{
"__uuid__": "297272a6-b2ff-4ee6-890e-ef25293e8807"
}
],
"playOnLoad": false
},
{
"__type__": "cc.Sprite",
"_name": "",
@@ -330,10 +352,10 @@
},
"_children": [
{
"__id__": 9
"__id__": 10
},
{
"__id__": 12
"__id__": 13
}
],
"_tag": -1,
@@ -381,17 +403,17 @@
"_name": "shade",
"_objFlags": 0,
"_parent": {
"__id__": 8
"__id__": 9
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 10
"__id__": 11
},
{
"__id__": 11
"__id__": 12
}
],
"_prefab": null,
@@ -421,8 +443,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -1,
"y": 3
"x": 0,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
@@ -436,7 +458,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
"__id__": 10
},
"_enabled": true,
"_spriteFrame": {
@@ -462,7 +484,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
"__id__": 10
},
"_enabled": true,
"_layoutSize": {
@@ -493,27 +515,27 @@
"_name": "layout",
"_objFlags": 0,
"_parent": {
"__id__": 8
"__id__": 9
},
"_children": [
{
"__id__": 13
"__id__": 14
},
{
"__id__": 22
"__id__": 23
},
{
"__id__": 20
"__id__": 21
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 27
"__id__": 28
},
{
"__id__": 28
"__id__": 29
}
],
"_prefab": null,
@@ -558,21 +580,21 @@
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 13
},
"_children": [
{
"__id__": 14
"__id__": 15
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 17
},
{
"__id__": 17
"__id__": 18
}
],
"_prefab": null,
@@ -617,14 +639,14 @@
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 13
"__id__": 14
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 15
"__id__": 16
}
],
"_prefab": null,
@@ -669,7 +691,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
"__id__": 15
},
"_enabled": true,
"_useOriginalSize": false,
@@ -691,7 +713,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
"__id__": 14
},
"_enabled": true,
"_spriteFrame": {
@@ -717,10 +739,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
"__id__": 14
},
"_enabled": true,
"transition": 2,
"transition": 3,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
@@ -745,7 +767,7 @@
},
"clickEvents": [
{
"__id__": 18
"__id__": 19
}
],
"_N$interactable": true,
@@ -771,13 +793,13 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 13
"__id__": 14
}
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 19
"__id__": 20
},
"component": "dialog",
"handler": "onClick",
@@ -788,14 +810,14 @@
"_name": "dialog",
"_objFlags": 0,
"_parent": {
"__id__": 20
"__id__": 21
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 21
"__id__": 22
}
],
"_prefab": null,
@@ -840,11 +862,11 @@
"_name": "action",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 13
},
"_children": [
{
"__id__": 19
"__id__": 20
}
],
"_tag": -1,
@@ -892,7 +914,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
"__id__": 20
},
"_enabled": true
},
@@ -901,21 +923,21 @@
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 13
},
"_children": [
{
"__id__": 23
"__id__": 24
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 26
},
{
"__id__": 26
"__id__": 27
}
],
"_prefab": null,
@@ -960,14 +982,14 @@
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 22
"__id__": 23
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 25
}
],
"_prefab": null,
@@ -1012,7 +1034,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
"__id__": 24
},
"_enabled": true,
"_useOriginalSize": false,
@@ -1034,7 +1056,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 23
},
"_enabled": true,
"_spriteFrame": {
@@ -1060,10 +1082,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 23
},
"_enabled": true,
"transition": 2,
"transition": 3,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
@@ -1110,7 +1132,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 22
"__id__": 23
}
},
{
@@ -1118,7 +1140,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 13
},
"_enabled": true,
"_spriteFrame": {
@@ -1144,7 +1166,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 13
},
"_enabled": true,
"_layoutSize": {
@@ -1170,6 +1192,236 @@
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0
},
{
"__type__": "cc.Node",
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 31
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 33
},
{
"__id__": 34
}
],
"_prefab": null,
"_id": "8b920Tvrb5O4arWstrs5QO9",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 239,
"height": 81
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 12,
"y": -127
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Node",
"_name": "open",
"_objFlags": 0,
"_parent": {
"__id__": 30
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 32
}
],
"_prefab": null,
"_id": "79cbdjNJ8lIgaFHbYSexV+r",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 172,
"height": 43
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -11,
"y": 1
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 20,
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "弹出对话框窗口",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"transition": 3,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"duration": 0.1,
"zoomScale": 1.2,
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"clickEvents": [
{
"__id__": 35
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 30
}
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 20
},
"component": "dialog",
"handler": "onShowClick",
"customEventData": ""
},
{
"__type__": "cc.Canvas",
"_name": "",

View File

@@ -17,9 +17,21 @@ cc.Class({
onLoad: function () {
var self = this;
this._dialog = cc.find("Canvas/dialog");
this._button = cc.find("Canvas/button");
this._button.active = false ;
this._girl = cc.find("Canvas/splash/background/girl");
this._animCtrl = this._girl.getComponent(cc.Animation);
},
onClick:function(){
this._dialog.active = false ;
this._button.active = true ;
this._animCtrl.play("girl_to_left");
},
onShowClick:function(){
this._button.active = false ;
this._dialog.active = true ;
var anim = this.getComponent(cc.Animation);
this._animCtrl.play("girl_to_right");
}
// called every frame, uncomment this function to activate update callback

File diff suppressed because one or more lines are too long

View File

@@ -23,9 +23,21 @@ cc.Class({
onLoad: function onLoad() {
var self = this;
this._dialog = cc.find("Canvas/dialog");
this._button = cc.find("Canvas/button");
this._button.active = false;
this._girl = cc.find("Canvas/splash/background/girl");
this._animCtrl = this._girl.getComponent(cc.Animation);
},
onClick: function onClick() {
this._dialog.active = false;
this._button.active = true;
this._animCtrl.play("girl_to_left");
},
onShowClick: function onShowClick() {
this._button.active = false;
this._dialog.active = true;
var anim = this.getComponent(cc.Animation);
this._animCtrl.play("girl_to_right");
}
// called every frame, uncomment this function to activate update callback

View File

@@ -1 +1 @@
{"version":3,"sources":["assets\\script\\action\\login\\dialog.js"],"names":["cc","Class","extends","Component","properties","onLoad","self","_dialog","find","onClick","active"],"mappings":";;;;;;AAAAA,GAAGC,KAAH,CAAS;AACLC,aAASF,GAAGG,SADP;;AAGLC,gBAAY;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAVQ,KAHP;;AAgBLC,YAAQ,kBAAY;AAChB,YAAIC,OAAO,IAAX;AACA,aAAKC,OAAL,GAAeP,GAAGQ,IAAH,CAAQ,eAAR,CAAf;AACH,KAnBI;AAoBLC,aAAQ,mBAAU;AACd,aAAKF,OAAL,CAAaG,MAAb,GAAsB,KAAtB;AACH;;AAED;AACA;;AAEA;AA3BK,CAAT","file":"unknown","sourcesContent":["cc.Class({\r\n extends: cc.Component,\r\n\r\n properties: {\r\n // foo: {\r\n // default: null, // The default value will be used only when the component attaching\r\n // to a node for the first time\r\n // url: cc.Texture2D, // optional, default is typeof default\r\n // serializable: true, // optional, default is true\r\n // visible: true, // optional, default is true\r\n // displayName: 'Foo', // optional\r\n // readonly: false, // optional, default is false\r\n // },\r\n // ...\r\n },\r\n\r\n onLoad: function () {\r\n var self = this;\r\n this._dialog = cc.find(\"Canvas/dialog\");\r\n },\r\n onClick:function(){\r\n this._dialog.active = false ;\r\n }\r\n\r\n // called every frame, uncomment this function to activate update callback\r\n // update: function (dt) {\r\n\r\n // },\r\n});\r\n"]}
{"version":3,"sources":["assets\\script\\action\\login\\dialog.js"],"names":["cc","Class","extends","Component","properties","onLoad","self","_dialog","find","_button","active","_girl","_animCtrl","getComponent","Animation","onClick","play","onShowClick","anim"],"mappings":";;;;;;AAAAA,GAAGC,KAAH,CAAS;AACLC,aAASF,GAAGG,SADP;;AAGLC,gBAAY;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAVQ,KAHP;;AAgBLC,YAAQ,kBAAY;AAChB,YAAIC,OAAO,IAAX;AACA,aAAKC,OAAL,GAAeP,GAAGQ,IAAH,CAAQ,eAAR,CAAf;AACA,aAAKC,OAAL,GAAeT,GAAGQ,IAAH,CAAQ,eAAR,CAAf;AACA,aAAKC,OAAL,CAAaC,MAAb,GAAsB,KAAtB;AACA,aAAKC,KAAL,GAAaX,GAAGQ,IAAH,CAAQ,+BAAR,CAAb;AACA,aAAKI,SAAL,GAAiB,KAAKD,KAAL,CAAWE,YAAX,CAAwBb,GAAGc,SAA3B,CAAjB;AACH,KAvBI;AAwBLC,aAAQ,mBAAU;AACd,aAAKR,OAAL,CAAaG,MAAb,GAAsB,KAAtB;AACA,aAAKD,OAAL,CAAaC,MAAb,GAAsB,IAAtB;AACA,aAAKE,SAAL,CAAeI,IAAf,CAAoB,cAApB;AACH,KA5BI;AA6BLC,iBAAY,uBAAU;AAClB,aAAKR,OAAL,CAAaC,MAAb,GAAsB,KAAtB;AACA,aAAKH,OAAL,CAAaG,MAAb,GAAsB,IAAtB;AACA,YAAIQ,OAAO,KAAKL,YAAL,CAAkBb,GAAGc,SAArB,CAAX;AACA,aAAKF,SAAL,CAAeI,IAAf,CAAoB,eAApB;AACH;;AAED;AACA;;AAEA;AAvCK,CAAT","file":"unknown","sourcesContent":["cc.Class({\r\n extends: cc.Component,\r\n\r\n properties: {\r\n // foo: {\r\n // default: null, // The default value will be used only when the component attaching\r\n // to a node for the first time\r\n // url: cc.Texture2D, // optional, default is typeof default\r\n // serializable: true, // optional, default is true\r\n // visible: true, // optional, default is true\r\n // displayName: 'Foo', // optional\r\n // readonly: false, // optional, default is false\r\n // },\r\n // ...\r\n },\r\n\r\n onLoad: function () {\r\n var self = this;\r\n this._dialog = cc.find(\"Canvas/dialog\");\r\n this._button = cc.find(\"Canvas/button\");\r\n this._button.active = false ;\r\n this._girl = cc.find(\"Canvas/splash/background/girl\");\r\n this._animCtrl = this._girl.getComponent(cc.Animation);\r\n },\r\n onClick:function(){\r\n this._dialog.active = false ;\r\n this._button.active = true ;\r\n this._animCtrl.play(\"girl_to_left\");\r\n },\r\n onShowClick:function(){\r\n this._button.active = false ;\r\n this._dialog.active = true ;\r\n var anim = this.getComponent(cc.Animation);\r\n this._animCtrl.play(\"girl_to_right\");\r\n }\r\n\r\n // called every frame, uncomment this function to activate update callback\r\n // update: function (dt) {\r\n\r\n // },\r\n});\r\n"]}

View File

@@ -0,0 +1,32 @@
{
"__type__": "cc.AnimationClip",
"_name": "girl_to_left",
"_objFlags": 0,
"_rawFiles": null,
"_duration": 1,
"sample": 60,
"speed": 1,
"wrapMode": 1,
"curveData": {
"props": {
"position": [
{
"frame": 0,
"value": [
45,
-30
],
"curve": "circOut"
},
{
"frame": 1,
"value": [
-423,
-30
]
}
]
}
},
"events": []
}

View File

@@ -0,0 +1,32 @@
{
"__type__": "cc.AnimationClip",
"_name": "girl_to_right",
"_objFlags": 0,
"_rawFiles": null,
"_duration": 1,
"sample": 60,
"speed": 1,
"wrapMode": 1,
"curveData": {
"props": {
"position": [
{
"frame": 0,
"value": [
-423,
-30
],
"curve": "circOut"
},
{
"frame": 1,
"value": [
45,
-30
]
}
]
}
},
"events": []
}

View File

@@ -60,17 +60,20 @@
"__id__": 3
},
{
"__id__": 8
"__id__": 9
},
{
"__id__": 30
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 29
"__id__": 36
},
{
"__id__": 30
"__id__": 37
}
],
"_prefab": null,
@@ -178,7 +181,7 @@
"_active": true,
"_components": [
{
"__id__": 7
"__id__": 8
}
],
"_prefab": null,
@@ -231,6 +234,9 @@
"_components": [
{
"__id__": 6
},
{
"__id__": 7
}
],
"_prefab": null,
@@ -260,8 +266,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": -30
"x": 45,
"y": -33
},
"_skewX": 0,
"_skewY": 0,
@@ -296,6 +302,22 @@
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_defaultClip": null,
"_clips": [
{
"__uuid__": "297272a6-b2ff-4ee6-890e-ef25293e8807"
}
],
"playOnLoad": false
},
{
"__type__": "cc.Sprite",
"_name": "",
@@ -331,10 +353,10 @@
},
"_children": [
{
"__id__": 9
"__id__": 10
},
{
"__id__": 12
"__id__": 13
}
],
"_tag": -1,
@@ -382,17 +404,17 @@
"_name": "shade",
"_objFlags": 0,
"_parent": {
"__id__": 8
"__id__": 9
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 10
"__id__": 11
},
{
"__id__": 11
"__id__": 12
}
],
"_prefab": null,
@@ -422,8 +444,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -1,
"y": 3
"x": 0,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
@@ -437,7 +459,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
"__id__": 10
},
"_enabled": true,
"_spriteFrame": {
@@ -463,7 +485,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
"__id__": 10
},
"_enabled": true,
"_layoutSize": {
@@ -494,27 +516,27 @@
"_name": "layout",
"_objFlags": 0,
"_parent": {
"__id__": 8
"__id__": 9
},
"_children": [
{
"__id__": 13
"__id__": 14
},
{
"__id__": 22
"__id__": 23
},
{
"__id__": 20
"__id__": 21
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 27
"__id__": 28
},
{
"__id__": 28
"__id__": 29
}
],
"_prefab": null,
@@ -559,21 +581,21 @@
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 13
},
"_children": [
{
"__id__": 14
"__id__": 15
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 17
},
{
"__id__": 17
"__id__": 18
}
],
"_prefab": null,
@@ -618,14 +640,14 @@
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 13
"__id__": 14
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 15
"__id__": 16
}
],
"_prefab": null,
@@ -670,7 +692,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
"__id__": 15
},
"_enabled": true,
"_useOriginalSize": false,
@@ -692,7 +714,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
"__id__": 14
},
"_enabled": true,
"_spriteFrame": {
@@ -718,10 +740,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
"__id__": 14
},
"_enabled": true,
"transition": 2,
"transition": 3,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
@@ -746,7 +768,7 @@
},
"clickEvents": [
{
"__id__": 18
"__id__": 19
}
],
"_N$interactable": true,
@@ -772,13 +794,13 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 13
"__id__": 14
}
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 19
"__id__": 20
},
"component": "dialog",
"handler": "onClick",
@@ -789,14 +811,14 @@
"_name": "dialog",
"_objFlags": 0,
"_parent": {
"__id__": 20
"__id__": 21
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 21
"__id__": 22
}
],
"_prefab": null,
@@ -841,11 +863,11 @@
"_name": "action",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 13
},
"_children": [
{
"__id__": 19
"__id__": 20
}
],
"_tag": -1,
@@ -893,7 +915,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
"__id__": 20
},
"_enabled": true
},
@@ -902,21 +924,21 @@
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 13
},
"_children": [
{
"__id__": 23
"__id__": 24
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 26
},
{
"__id__": 26
"__id__": 27
}
],
"_prefab": null,
@@ -961,14 +983,14 @@
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 22
"__id__": 23
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 25
}
],
"_prefab": null,
@@ -1013,7 +1035,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
"__id__": 24
},
"_enabled": true,
"_useOriginalSize": false,
@@ -1035,7 +1057,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 23
},
"_enabled": true,
"_spriteFrame": {
@@ -1061,10 +1083,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 23
},
"_enabled": true,
"transition": 2,
"transition": 3,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
@@ -1111,7 +1133,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 22
"__id__": 23
}
},
{
@@ -1119,7 +1141,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 13
},
"_enabled": true,
"_spriteFrame": {
@@ -1145,7 +1167,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 13
},
"_enabled": true,
"_layoutSize": {
@@ -1171,6 +1193,236 @@
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0
},
{
"__type__": "cc.Node",
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 31
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 33
},
{
"__id__": 34
}
],
"_prefab": null,
"_id": "8b920Tvrb5O4arWstrs5QO9",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 239,
"height": 81
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 12,
"y": -127
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Node",
"_name": "open",
"_objFlags": 0,
"_parent": {
"__id__": 30
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 32
}
],
"_prefab": null,
"_id": "79cbdjNJ8lIgaFHbYSexV+r",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 172,
"height": 43
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -11,
"y": 1
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 20,
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "弹出对话框窗口",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"transition": 3,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"duration": 0.1,
"zoomScale": 1.2,
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"clickEvents": [
{
"__id__": 35
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 30
}
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 20
},
"component": "dialog",
"handler": "onShowClick",
"customEventData": ""
},
{
"__type__": "cc.Canvas",
"_name": "",

View File

@@ -1,102 +1,102 @@
{
"f8e6b000-5643-4b86-9080-aa680ce1f599": {
"asset": 1501734583028,
"meta": 1501773860420,
"meta": 1501854414277,
"relativePath": "image"
},
"71561142-4c83-4933-afca-cb7a17f67053": {
"asset": 1499393011534,
"meta": 1501773860531,
"meta": 1501854414361,
"relativePath": "image\\default_btn_disabled.png"
},
"e851e89b-faa2-4484-bea6-5c01dd9f06e2": {
"asset": 1499393011540,
"meta": 1501773860539,
"meta": 1501854414366,
"relativePath": "image\\default_btn_normal.png"
},
"b43ff3c2-02bb-4874-81f7-f2dea6970f18": {
"asset": 1499393011546,
"meta": 1501773860548,
"meta": 1501854414372,
"relativePath": "image\\default_btn_pressed.png"
},
"d81ec8ad-247c-4e62-aa3c-d35c4193c7af": {
"asset": 1499393011550,
"meta": 1501773860556,
"meta": 1501854414376,
"relativePath": "image\\default_panel.png"
},
"99170b0b-d210-46f1-b213-7d9e3f23098a": {
"asset": 1499393011559,
"meta": 1501773860563,
"meta": 1501854414383,
"relativePath": "image\\default_progressbar_bg.png"
},
"cfef78f1-c8df-49b7-8ed0-4c953ace2621": {
"asset": 1499393011555,
"meta": 1501773860572,
"meta": 1501854414387,
"relativePath": "image\\default_progressbar.png"
},
"567dcd80-8bf4-4535-8a5a-313f1caf078a": {
"asset": 1499393011564,
"meta": 1501773860585,
"meta": 1501854414396,
"relativePath": "image\\default_radio_button_off.png"
},
"9d60001f-b5f4-4726-a629-2659e3ded0b8": {
"asset": 1499393011570,
"meta": 1501773860592,
"meta": 1501854414398,
"relativePath": "image\\default_radio_button_on.png"
},
"4bab67cb-18e6-4099-b840-355f0473f890": {
"asset": 1499393011584,
"meta": 1501773860611,
"meta": 1501854414404,
"relativePath": "image\\default_scrollbar_bg.png"
},
"617323dd-11f4-4dd3-8eec-0caf6b3b45b9": {
"asset": 1499393011596,
"meta": 1501773860608,
"meta": 1501854414408,
"relativePath": "image\\default_scrollbar_vertical_bg.png"
},
"d6d3ca85-4681-47c1-b5dd-d036a9d39ea2": {
"asset": 1499393011590,
"meta": 1501773860619,
"meta": 1501854414417,
"relativePath": "image\\default_scrollbar_vertical.png"
},
"0291c134-b3da-4098-b7b5-e397edbe947f": {
"asset": 1499393011577,
"meta": 1501773860626,
"meta": 1501854414419,
"relativePath": "image\\default_scrollbar.png"
},
"6e056173-d285-473c-b206-40a7fff5386e": {
"asset": 1499393011603,
"meta": 1501773860645,
"meta": 1501854414431,
"relativePath": "image\\default_sprite.png"
},
"0275e94c-56a7-410f-bd1a-fc7483f7d14a": {
"asset": 1499393011609,
"meta": 1501773860640,
"meta": 1501854414426,
"relativePath": "image\\default_sprite_splash.png"
},
"73a0903d-d80e-4e3c-aa67-f999543c08f5": {
"asset": 1499393011616,
"meta": 1501773860671,
"meta": 1501854414439,
"relativePath": "image\\default_toggle_checkmark.png"
},
"c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f": {
"asset": 1499393011623,
"meta": 1501773860665,
"meta": 1501854414444,
"relativePath": "image\\default_toggle_disabled.png"
},
"b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd": {
"asset": 1499393011636,
"meta": 1501773860683,
"meta": 1501854414457,
"relativePath": "image\\default_toggle_pressed.png"
},
"d29077ba-1627-4a72-9579-7b56a235340c": {
"asset": 1499393011630,
"meta": 1501773860679,
"meta": 1501854414453,
"relativePath": "image\\default_toggle_normal.png"
},
"fc09f9bd-2cce-4605-b630-8145ef809ed6": {
"asset": 1501734526206,
"meta": 1501773860685,
"meta": 1501854414460,
"relativePath": "misc"
},
"2be36297-9abb-4fee-8049-9ed5e271da8a": {
@@ -106,7 +106,7 @@
},
"f6e6dd15-71d1-4ffe-ace7-24fd39942c05": {
"asset": 1501734539933,
"meta": 1501773860689,
"meta": 1501854414462,
"relativePath": "obsolete"
},
"b8223619-7e38-47c4-841f-9160c232495a": {
@@ -116,7 +116,7 @@
},
"f743d2b6-b7ea-4c14-a55b-547ed4d0a045": {
"asset": 1501734526226,
"meta": 1501773860691,
"meta": 1501854414472,
"relativePath": "particle"
},
"b2687ac4-099e-403c-a192-ff477686f4f5": {
@@ -126,97 +126,97 @@
},
"ae6c6c98-11e4-452f-8758-75f5c6a56e83": {
"asset": 1501734616746,
"meta": 1501773860694,
"meta": 1501854414476,
"relativePath": "prefab"
},
"972b9a4d-47ee-4c74-b5c3-61d8a69bc29f": {
"asset": 1499393011761,
"meta": 1501773860706,
"meta": 1501854414480,
"relativePath": "prefab\\button.prefab"
},
"2c937608-2562-40ea-b264-7395df6f0cea": {
"asset": 1499393011767,
"meta": 1501773860704,
"meta": 1501854414483,
"relativePath": "prefab\\canvas.prefab"
},
"61aeb05b-3b32-452b-8eed-2b76deeed554": {
"asset": 1499393011772,
"meta": 1501773860719,
"meta": 1501854414489,
"relativePath": "prefab\\editbox.prefab"
},
"27756ebb-3d33-44b0-9b96-e858fadd4dd4": {
"asset": 1499393011779,
"meta": 1501773860722,
"meta": 1501854414492,
"relativePath": "prefab\\label.prefab"
},
"785a442c-3ceb-45be-a46e-7317f625f3b9": {
"asset": 1499393011787,
"meta": 1501773860730,
"meta": 1501854414502,
"relativePath": "prefab\\layout.prefab"
},
"ca8401fe-ad6e-41a8-bd46-8e3e4e9945be": {
"asset": 1499393011793,
"meta": 1501773860734,
"meta": 1501854414504,
"relativePath": "prefab\\pageview.prefab"
},
"cd33edea-55f5-46c2-958d-357a01384a36": {
"asset": 1499393011799,
"meta": 1501773860748,
"meta": 1501854414509,
"relativePath": "prefab\\particlesystem.prefab"
},
"5965ffac-69da-4b55-bcde-9225d0613c28": {
"asset": 1499393011804,
"meta": 1501773860746,
"meta": 1501854414510,
"relativePath": "prefab\\progressBar.prefab"
},
"4a37dd57-78cd-4cec-aad4-f11a73d12b63": {
"asset": 1499393011813,
"meta": 1501773860758,
"meta": 1501854414523,
"relativePath": "prefab\\richtext.prefab"
},
"32044bd2-481f-4cf1-a656-e2b2fb1594eb": {
"asset": 1499393011819,
"meta": 1501773860767,
"meta": 1501854414520,
"relativePath": "prefab\\scrollview.prefab"
},
"0004d1cf-a0ad-47d8-ab17-34d3db9d35a3": {
"asset": 1499393011825,
"meta": 1501773860779,
"meta": 1501854414530,
"relativePath": "prefab\\slider.prefab"
},
"1f55e3be-b89b-4b79-88de-47fd31018044": {
"asset": 1499393011838,
"meta": 1501773860785,
"meta": 1501854414532,
"relativePath": "prefab\\sprite_splash.prefab"
},
"96083d03-c332-4a3f-9386-d03e2d19e8ee": {
"asset": 1499393011832,
"meta": 1501773860797,
"meta": 1501854414536,
"relativePath": "prefab\\sprite.prefab"
},
"7de03a80-4457-438d-95a7-3e7cdffd6086": {
"asset": 1499393011846,
"meta": 1501773860803,
"meta": 1501854414540,
"relativePath": "prefab\\tiledmap.prefab"
},
"bf0a434c-84dd-4a8e-a08a-7a36f180cc75": {
"asset": 1499393011859,
"meta": 1501773860821,
"meta": 1501854414552,
"relativePath": "prefab\\toggleGroup.prefab"
},
"0d784963-d024-4ea6-a7db-03be0ad63010": {
"asset": 1499393011853,
"meta": 1501773860812,
"meta": 1501854414544,
"relativePath": "prefab\\toggle.prefab"
},
"232d2782-c4bd-4bb4-9e01-909f03d6d3b9": {
"asset": 1499393011865,
"meta": 1501773860831,
"meta": 1501854414557,
"relativePath": "prefab\\videoplayer.prefab"
},
"8c5001fd-07ee-4a4b-a8a0-63e15195e94d": {
"asset": 1499393011871,
"meta": 1501773860838,
"meta": 1501854414560,
"relativePath": "prefab\\webview.prefab"
},
"7280c7fe-0a27-4246-8efe-f2f40d898ff5": {
@@ -225,8 +225,8 @@
"relativePath": "scene"
},
"4bd396a2-fbc3-4567-8d91-51bcb9640147": {
"asset": 1501772748986,
"meta": 1501772749048,
"asset": 1501841657863,
"meta": 1501852358986,
"relativePath": "images"
},
"fc231bfc-8225-42c5-b578-27ffdd6d536e": {
@@ -250,8 +250,8 @@
"relativePath": "images\\bg.jpg"
},
"d28e5d2a-3a00-45a8-a720-afbd2735a5cb": {
"asset": 1501772749004,
"meta": 1501772749499,
"asset": 1501841304591,
"meta": 1501852358987,
"relativePath": "script\\action\\login"
},
"a5b8f86b-a680-4e8b-b174-cdb247612301": {
@@ -270,8 +270,8 @@
"relativePath": "script\\lib"
},
"cb804921-c57f-4d32-84f3-5ba70007a34b": {
"asset": 1501839869768,
"meta": 1501839869835,
"asset": 1501842211228,
"meta": 1501842211287,
"relativePath": "script\\components\\loading.js"
},
"088657d1-aafb-450b-8525-cc8d95776cca": {
@@ -285,8 +285,8 @@
"relativePath": "script\\lib\\HTTP.js"
},
"2ee56084-b220-444c-a0a2-0dd60fa9129b": {
"asset": 1501772749780,
"meta": 1501772750121,
"asset": 1501852425131,
"meta": 1501853111549,
"relativePath": "resources"
},
"1a3e3c61-a9e2-430f-b7ce-9ff486149755": {
@@ -655,23 +655,38 @@
"relativePath": "scene\\dating"
},
"9ffef9bb-4c0f-40bb-b096-cd5b6c6281d8": {
"asset": 1501841632522,
"meta": 1501841632552,
"asset": 1501853453062,
"meta": 1501853453104,
"relativePath": "scene\\dating\\login.fire"
},
"c3362f07-3cd8-4e58-8025-6ae3c744fd20": {
"asset": 1501773310274,
"meta": 1501774020118,
"meta": 1501842144943,
"relativePath": "script\\lib\\socket.io.js"
},
"16d18a3f-c622-4bff-bac5-0eb1238388ab": {
"asset": 1501841379015,
"meta": 1501841379057,
"asset": 1501854494323,
"meta": 1501854494737,
"relativePath": "script\\action\\login\\dialog.js"
},
"d2140a5b-ab05-43cb-8771-fe43732bded3": {
"asset": 1501841526888,
"meta": 1501841657915,
"relativePath": "images\\girl.png"
},
"297272a6-b2ff-4ee6-890e-ef25293e8807": {
"asset": 1501854700636,
"meta": 1501854700655,
"relativePath": "resources\\animation\\girl_to_left.anim"
},
"97f509bc-f385-4b4e-a504-3612898cc5fc": {
"asset": 1501854134556,
"meta": 1501854414721,
"relativePath": "resources\\animation"
},
"7c710ab0-e143-46e0-a5de-037d5745edf4": {
"asset": 1501854633795,
"meta": 1501854633810,
"relativePath": "resources\\animation\\girl_to_right.anim"
}
}

View File

@@ -5,48 +5,60 @@
"id": "mount-assets"
},
{
"folded": false,
"folded": true,
"id": "7280c7fe-0a27-4246-8efe-f2f40d898ff5"
},
{
"folded": true,
"id": "4bd396a2-fbc3-4567-8d91-51bcb9640147"
},
{
"folded": false,
"id": "efb01227-8422-457c-91fa-0306f401e073"
},
{
"folded": false,
"id": "4bd396a2-fbc3-4567-8d91-51bcb9640147"
},
{
"folded": true,
"id": "2ee56084-b220-444c-a0a2-0dd60fa9129b"
},
{
"folded": false,
"folded": true,
"id": "dbf15e77-1a2d-4923-9221-6eddcca87330"
},
{
"folded": false,
"folded": true,
"id": "965d338b-f04c-4731-8c98-d311a2da8e5c"
},
{
"folded": true,
"folded": false,
"id": "b09d1572-771c-4c05-a478-d8cf271e5635"
},
{
"folded": true,
"id": "27066a97-d0df-4fb9-89f4-fc92b7c8432f"
},
{
"folded": false,
"id": "d2140a5b-ab05-43cb-8771-fe43732bded3"
},
{
"folded": true,
"id": "1a3e3c61-a9e2-430f-b7ce-9ff486149755"
},
{
"folded": false,
"id": "a5b8f86b-a680-4e8b-b174-cdb247612301"
"id": "fc231bfc-8225-42c5-b578-27ffdd6d536e"
},
{
"folded": true,
"id": "fc231bfc-8225-42c5-b578-27ffdd6d536e"
"id": "a5b8f86b-a680-4e8b-b174-cdb247612301"
},
{
"folded": false,
"id": "d28e5d2a-3a00-45a8-a720-afbd2735a5cb"
},
{
"folded": false,
"id": "97f509bc-f385-4b4e-a504-3612898cc5fc"
},
{
"folded": true,
@@ -54,15 +66,11 @@
},
{
"folded": true,
"id": "d28e5d2a-3a00-45a8-a720-afbd2735a5cb"
"id": "53c0f099-6ca1-4577-83bc-7189b6a88c2f"
},
{
"folded": true,
"id": "7d376c4e-e72c-49a3-8bd6-73536eaabfce"
},
{
"folded": true,
"id": "53c0f099-6ca1-4577-83bc-7189b6a88c2f"
}
]
}

View File

@@ -1,9 +1,37 @@
{
"item-states": [
{
"folded": false,
"id": "10334qFkzRJcpgLEwFJhKJP"
},
{
"folded": false,
"id": "12aeaJVV3FFc4J+ADxMOvzK"
},
{
"folded": false,
"id": "a7610yyImBJ36e9Z29uacuy"
},
{
"folded": false,
"id": "15358oAdRhKLaJDnJSV+KCg"
},
{
"folded": false,
"id": "1db83Mga8RFgqAX1yMPOt1P"
},
{
"folded": false,
"id": "717f6BCMvJFT7itjm7p7P2C"
},
{
"folded": false,
"id": "f30aaj50iJIBIxHzz4QfH8b"
},
{
"folded": false,
"id": "8b920Tvrb5O4arWstrs5QO9"
},
{
"folded": false,
"id": "88bd7bzmwpDOb7c0XQN+7lj"

View File

@@ -45,7 +45,7 @@
"children": [
"scene"
],
"height": 683,
"height": 495,
"type": "panel",
"width": 969.984375
},
@@ -54,22 +54,22 @@
"children": [
"node-library"
],
"height": 683,
"height": 495,
"type": "panel",
"width": 291
}
],
"height": 683,
"height": 495,
"type": "dock-h",
"width": 1263.984375
},
{
"active": 0,
"active": 1,
"children": [
"console",
"timeline"
],
"height": 226,
"height": 414,
"type": "panel",
"width": 1263.984375
}
@@ -100,14 +100,51 @@
"timeline"
]
},
"worker": {}
"window-1501854691439": {
"main": false,
"url": "unpack://static/window.html",
"windowType": "float",
"x": 751,
"y": 281,
"width": 418,
"height": 447,
"layout": {
"children": [
{
"active": 0,
"children": [
"timeline.bezier"
],
"height": 400,
"type": "panel",
"width": 400
}
],
"type": "dock-v"
},
"panels": [
"timeline.bezier"
]
}
},
"panels": {
"code-editor": {
"x": 492,
"y": 241,
"width": 1076,
"height": 602
"x": -9,
"y": -9,
"width": 1938,
"height": 1048
},
"timeline.event": {
"x": 751,
"y": 281,
"width": 418,
"height": 447
},
"timeline.bezier": {
"x": 751,
"y": 281,
"width": 418,
"height": 447
}
}
}

View File

@@ -1,52 +1,53 @@
2017-08-03T15:55:36.351Z - normal: Load ~/.CocosCreator/settings.json
2017-08-03T15:55:36.357Z - normal: checking language setting...
2017-08-03T15:55:36.357Z - normal: Language: zh
2017-08-03T15:55:37.856Z - success: protocol editor-framework registered
2017-08-03T15:55:37.857Z - success: protocol app registered
2017-08-03T15:55:37.857Z - success: protocol theme registered
2017-08-03T15:55:37.857Z - success: protocol profile registered
2017-08-03T15:55:37.857Z - success: protocol packages registered
2017-08-03T15:55:37.857Z - success: protocol unpack registerred
2017-08-03T15:55:37.857Z - success: protocol disable-commonjs registerred
2017-08-03T15:55:38.177Z - normal: connected!
2017-08-03T15:55:38.180Z - normal: Check project D:\wordspace\program\beimi\chess\client\beimi
2017-08-03T15:55:38.183Z - normal: Initializing Cocos2d
2017-08-03T15:55:38.396Z - normal: Initializing Asset Database
2017-08-03T15:55:38.432Z - success: protocol uuid registerred
2017-08-03T15:55:38.432Z - success: protocol db registerred
2017-08-03T15:55:38.432Z - success: protocol thumbnail registerred
2017-08-03T15:55:38.432Z - normal: Loading editor/builtin packages
2017-08-03T15:55:38.452Z - success: anysdk loaded
2017-08-03T15:55:38.587Z - success: assets loaded
2017-08-03T15:55:38.589Z - success: builder loaded
2017-08-03T15:55:38.592Z - success: hierarchy loaded
2017-08-03T15:55:38.596Z - success: inspector loaded
2017-08-03T15:55:38.598Z - success: keystore loaded
2017-08-03T15:55:38.601Z - success: node-library loaded
2017-08-03T15:55:38.603Z - success: package-asset loaded
2017-08-03T15:55:38.605Z - success: preferences loaded
2017-08-03T15:55:38.618Z - success: project-importer loaded
2017-08-03T15:55:38.620Z - success: project-settings loaded
2017-08-03T15:55:38.623Z - success: ui-kit loaded
2017-08-03T15:55:38.625Z - success: ui-grid loaded
2017-08-03T15:55:38.629Z - success: scene loaded
2017-08-03T15:55:38.631Z - success: sprite-editor loaded
2017-08-03T15:55:38.634Z - success: store loaded
2017-08-03T15:55:38.638Z - success: timeline loaded
2017-08-03T15:55:38.638Z - normal: Loading builtin packages
2017-08-03T15:55:38.641Z - success: asset-db-debugger loaded
2017-08-03T15:55:38.643Z - success: code-editor loaded
2017-08-03T15:55:38.644Z - success: color-picker loaded
2017-08-03T15:55:38.647Z - success: console loaded
2017-08-03T15:55:38.649Z - success: package-manager loaded
2017-08-03T15:55:38.652Z - success: sdkbox loaded
2017-08-03T15:55:38.655Z - success: tester loaded
2017-08-03T15:55:38.658Z - success: ui-kit-preview-extra loaded
2017-08-03T15:55:38.660Z - success: ui-kit-preview loaded
2017-08-03T15:55:38.662Z - success: ui-tree loaded
2017-08-03T15:55:39.555Z - normal: Initializing project D:\wordspace\program\beimi\chess\client\beimi
2017-08-03T15:55:39.560Z - normal: Loading packages
2017-08-03T15:55:39.565Z - normal: Watching packages
2017-08-03T15:55:39.582Z - normal: Run Application
2017-08-03T15:55:40.028Z - success: preview server running at http://localhost:7456
2017-08-03T15:55:45.490Z - normal: 1.5.2
2017-08-04T13:46:50.915Z - normal: Load ~/.CocosCreator/settings.json
2017-08-04T13:46:50.921Z - normal: checking language setting...
2017-08-04T13:46:50.921Z - normal: Language: zh
2017-08-04T13:46:52.437Z - success: protocol editor-framework registered
2017-08-04T13:46:52.438Z - success: protocol app registered
2017-08-04T13:46:52.438Z - success: protocol theme registered
2017-08-04T13:46:52.438Z - success: protocol profile registered
2017-08-04T13:46:52.438Z - success: protocol packages registered
2017-08-04T13:46:52.438Z - success: protocol unpack registerred
2017-08-04T13:46:52.438Z - success: protocol disable-commonjs registerred
2017-08-04T13:46:52.722Z - normal: connected!
2017-08-04T13:46:52.734Z - normal: Check project D:\wordspace\program\beimi\chess\client\beimi
2017-08-04T13:46:52.781Z - normal: Initializing Cocos2d
2017-08-04T13:46:53.015Z - normal: Initializing Asset Database
2017-08-04T13:46:53.046Z - success: protocol uuid registerred
2017-08-04T13:46:53.046Z - success: protocol db registerred
2017-08-04T13:46:53.046Z - success: protocol thumbnail registerred
2017-08-04T13:46:53.047Z - normal: Loading editor/builtin packages
2017-08-04T13:46:53.071Z - success: anysdk loaded
2017-08-04T13:46:53.208Z - success: assets loaded
2017-08-04T13:46:53.210Z - success: builder loaded
2017-08-04T13:46:53.214Z - success: hierarchy loaded
2017-08-04T13:46:53.217Z - success: inspector loaded
2017-08-04T13:46:53.219Z - success: keystore loaded
2017-08-04T13:46:53.222Z - success: node-library loaded
2017-08-04T13:46:53.224Z - success: package-asset loaded
2017-08-04T13:46:53.226Z - success: preferences loaded
2017-08-04T13:46:53.241Z - success: project-importer loaded
2017-08-04T13:46:53.244Z - success: project-settings loaded
2017-08-04T13:46:53.246Z - success: ui-kit loaded
2017-08-04T13:46:53.248Z - success: ui-grid loaded
2017-08-04T13:46:53.251Z - success: scene loaded
2017-08-04T13:46:53.253Z - success: sprite-editor loaded
2017-08-04T13:46:53.257Z - success: store loaded
2017-08-04T13:46:53.261Z - success: timeline loaded
2017-08-04T13:46:53.261Z - normal: Loading builtin packages
2017-08-04T13:46:53.263Z - success: asset-db-debugger loaded
2017-08-04T13:46:53.264Z - success: code-editor loaded
2017-08-04T13:46:53.265Z - success: color-picker loaded
2017-08-04T13:46:53.268Z - success: console loaded
2017-08-04T13:46:53.270Z - success: package-manager loaded
2017-08-04T13:46:53.274Z - success: sdkbox loaded
2017-08-04T13:46:53.277Z - success: tester loaded
2017-08-04T13:46:53.280Z - success: ui-kit-preview-extra loaded
2017-08-04T13:46:53.282Z - success: ui-kit-preview loaded
2017-08-04T13:46:53.284Z - success: ui-tree loaded
2017-08-04T13:46:54.139Z - normal: Initializing project D:\wordspace\program\beimi\chess\client\beimi
2017-08-04T13:46:54.143Z - normal: Loading packages
2017-08-04T13:46:54.148Z - normal: Watching packages
2017-08-04T13:46:54.162Z - normal: Run Application
2017-08-04T13:46:54.932Z - success: preview server running at http://localhost:7456
2017-08-04T13:47:00.149Z - normal: 1.5.2
2017-08-04T13:48:17.295Z - normal: Compiled project javascript file successfully

View File

@@ -1 +1 @@
{"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\c3\\c3362f07-3cd8-4e58-8025-6ae3c744fd20.js":{"size":243069,"mtime":1501774020103},"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\9e\\9e146e9e-d85e-4863-b061-aece26cbd6c3.js":{"size":1075,"mtime":1501772749509},"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\fb\\fb977eef-db8f-432a-8f42-bf3d8d970e95.js":{"size":3596,"mtime":1501772749740},"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\08\\088657d1-aafb-450b-8525-cc8d95776cca.js":{"size":2917,"mtime":1501839082352},"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\cb\\cb804921-c57f-4d32-84f3-5ba70007a34b.js":{"size":2453,"mtime":1501839869827},"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\16\\16d18a3f-c622-4bff-bac5-0eb1238388ab.js":{"size":1040,"mtime":1501841379054}}
{"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\9e\\9e146e9e-d85e-4863-b061-aece26cbd6c3.js":{"size":1075,"mtime":1501772749509},"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\fb\\fb977eef-db8f-432a-8f42-bf3d8d970e95.js":{"size":3596,"mtime":1501772749740},"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\08\\088657d1-aafb-450b-8525-cc8d95776cca.js":{"size":2917,"mtime":1501839082352},"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\c3\\c3362f07-3cd8-4e58-8025-6ae3c744fd20.js":{"size":243069,"mtime":1501842144929},"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\cb\\cb804921-c57f-4d32-84f3-5ba70007a34b.js":{"size":2453,"mtime":1501842211278},"D:\\wordspace\\program\\beimi\\chess\\client\\beimi\\library\\imports\\16\\16d18a3f-c622-4bff-bac5-0eb1238388ab.js":{"size":1554,"mtime":1501854494729}}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,32 @@
{
"__type__": "cc.AnimationClip",
"_name": "girl_to_left",
"_objFlags": 0,
"_rawFiles": null,
"_duration": 1,
"sample": 60,
"speed": 1,
"wrapMode": 1,
"curveData": {
"props": {
"position": [
{
"frame": 0,
"value": [
45,
-30
],
"curve": "circOut"
},
{
"frame": 1,
"value": [
-423,
-30
]
}
]
}
},
"events": []
}

View File

@@ -0,0 +1,32 @@
{
"__type__": "cc.AnimationClip",
"_name": "girl_to_right",
"_objFlags": 0,
"_rawFiles": null,
"_duration": 1,
"sample": 60,
"speed": 1,
"wrapMode": 1,
"curveData": {
"props": {
"position": [
{
"frame": 0,
"value": [
-423,
-30
],
"curve": "circOut"
},
{
"frame": 1,
"value": [
45,
-30
]
}
]
}
},
"events": []
}

View File

@@ -59,17 +59,20 @@
"__id__": 3
},
{
"__id__": 8
"__id__": 9
},
{
"__id__": 30
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 29
"__id__": 36
},
{
"__id__": 30
"__id__": 37
}
],
"_prefab": null,
@@ -177,7 +180,7 @@
"_active": true,
"_components": [
{
"__id__": 7
"__id__": 8
}
],
"_prefab": null,
@@ -230,6 +233,9 @@
"_components": [
{
"__id__": 6
},
{
"__id__": 7
}
],
"_prefab": null,
@@ -259,8 +265,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": -30
"x": 45,
"y": -33
},
"_skewX": 0,
"_skewY": 0,
@@ -295,6 +301,22 @@
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_defaultClip": null,
"_clips": [
{
"__uuid__": "297272a6-b2ff-4ee6-890e-ef25293e8807"
}
],
"playOnLoad": false
},
{
"__type__": "cc.Sprite",
"_name": "",
@@ -330,10 +352,10 @@
},
"_children": [
{
"__id__": 9
"__id__": 10
},
{
"__id__": 12
"__id__": 13
}
],
"_tag": -1,
@@ -381,17 +403,17 @@
"_name": "shade",
"_objFlags": 0,
"_parent": {
"__id__": 8
"__id__": 9
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 10
"__id__": 11
},
{
"__id__": 11
"__id__": 12
}
],
"_prefab": null,
@@ -421,8 +443,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -1,
"y": 3
"x": 0,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
@@ -436,7 +458,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
"__id__": 10
},
"_enabled": true,
"_spriteFrame": {
@@ -462,7 +484,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
"__id__": 10
},
"_enabled": true,
"_layoutSize": {
@@ -493,27 +515,27 @@
"_name": "layout",
"_objFlags": 0,
"_parent": {
"__id__": 8
"__id__": 9
},
"_children": [
{
"__id__": 13
"__id__": 14
},
{
"__id__": 22
"__id__": 23
},
{
"__id__": 20
"__id__": 21
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 27
"__id__": 28
},
{
"__id__": 28
"__id__": 29
}
],
"_prefab": null,
@@ -558,21 +580,21 @@
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 13
},
"_children": [
{
"__id__": 14
"__id__": 15
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 17
},
{
"__id__": 17
"__id__": 18
}
],
"_prefab": null,
@@ -617,14 +639,14 @@
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 13
"__id__": 14
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 15
"__id__": 16
}
],
"_prefab": null,
@@ -669,7 +691,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
"__id__": 15
},
"_enabled": true,
"_useOriginalSize": false,
@@ -691,7 +713,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
"__id__": 14
},
"_enabled": true,
"_spriteFrame": {
@@ -717,10 +739,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
"__id__": 14
},
"_enabled": true,
"transition": 2,
"transition": 3,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
@@ -745,7 +767,7 @@
},
"clickEvents": [
{
"__id__": 18
"__id__": 19
}
],
"_N$interactable": true,
@@ -771,13 +793,13 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 13
"__id__": 14
}
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 19
"__id__": 20
},
"component": "dialog",
"handler": "onClick",
@@ -788,14 +810,14 @@
"_name": "dialog",
"_objFlags": 0,
"_parent": {
"__id__": 20
"__id__": 21
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 21
"__id__": 22
}
],
"_prefab": null,
@@ -840,11 +862,11 @@
"_name": "action",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 13
},
"_children": [
{
"__id__": 19
"__id__": 20
}
],
"_tag": -1,
@@ -892,7 +914,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
"__id__": 20
},
"_enabled": true
},
@@ -901,21 +923,21 @@
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 12
"__id__": 13
},
"_children": [
{
"__id__": 23
"__id__": 24
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 26
},
{
"__id__": 26
"__id__": 27
}
],
"_prefab": null,
@@ -960,14 +982,14 @@
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 22
"__id__": 23
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 25
}
],
"_prefab": null,
@@ -1012,7 +1034,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
"__id__": 24
},
"_enabled": true,
"_useOriginalSize": false,
@@ -1034,7 +1056,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 23
},
"_enabled": true,
"_spriteFrame": {
@@ -1060,10 +1082,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 23
},
"_enabled": true,
"transition": 2,
"transition": 3,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
@@ -1110,7 +1132,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 22
"__id__": 23
}
},
{
@@ -1118,7 +1140,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 13
},
"_enabled": true,
"_spriteFrame": {
@@ -1144,7 +1166,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 13
},
"_enabled": true,
"_layoutSize": {
@@ -1170,6 +1192,236 @@
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0
},
{
"__type__": "cc.Node",
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 31
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 33
},
{
"__id__": 34
}
],
"_prefab": null,
"_id": "8b920Tvrb5O4arWstrs5QO9",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 239,
"height": 81
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 12,
"y": -127
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Node",
"_name": "open",
"_objFlags": 0,
"_parent": {
"__id__": 30
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 32
}
],
"_prefab": null,
"_id": "79cbdjNJ8lIgaFHbYSexV+r",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 172,
"height": 43
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -11,
"y": 1
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 20,
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "弹出对话框窗口",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"transition": 3,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"duration": 0.1,
"zoomScale": 1.2,
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"clickEvents": [
{
"__id__": 35
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 30
}
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 20
},
"component": "dialog",
"handler": "onShowClick",
"customEventData": ""
},
{
"__type__": "cc.Canvas",
"_name": "",

View File

@@ -17,9 +17,21 @@ cc.Class({
onLoad: function () {
var self = this;
this._dialog = cc.find("Canvas/dialog");
this._button = cc.find("Canvas/button");
this._button.active = false ;
this._girl = cc.find("Canvas/splash/background/girl");
this._animCtrl = this._girl.getComponent(cc.Animation);
},
onClick:function(){
this._dialog.active = false ;
this._button.active = true ;
this._animCtrl.play("girl_to_left");
},
onShowClick:function(){
this._button.active = false ;
this._dialog.active = true ;
var anim = this.getComponent(cc.Animation);
this._animCtrl.play("girl_to_right");
}
// called every frame, uncomment this function to activate update callback