Commit f896d2bf authored by liujiangnan's avatar liujiangnan

feat

parent d5664390
No preview for this file type
...@@ -815,7 +815,7 @@ ...@@ -815,7 +815,7 @@
"alignMode": 1, "alignMode": 1,
"_target": null, "_target": null,
"_alignFlags": 45, "_alignFlags": 45,
"_left": 92.07799999999995, "_left": 92.07799999999993,
"_right": 1101.142, "_right": 1101.142,
"_top": 236.257, "_top": 236.257,
"_bottom": 248.423, "_bottom": 248.423,
...@@ -1211,7 +1211,7 @@ ...@@ -1211,7 +1211,7 @@
"alignMode": 1, "alignMode": 1,
"_target": null, "_target": null,
"_alignFlags": 45, "_alignFlags": 45,
"_left": 95.08800000000001, "_left": 95.08800000000002,
"_right": 1123.932, "_right": 1123.932,
"_top": 227.51599999999996, "_top": 227.51599999999996,
"_bottom": 363.124, "_bottom": 363.124,
...@@ -1519,7 +1519,7 @@ ...@@ -1519,7 +1519,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 82.56999999999994, "width": 82.57000000000005,
"height": 135.49 "height": 135.49
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -1531,7 +1531,7 @@ ...@@ -1531,7 +1531,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-501.89700000000005, -501.8970000000001,
59.70600000000002, 59.70600000000002,
0, 0,
0, 0,
...@@ -1607,7 +1607,7 @@ ...@@ -1607,7 +1607,7 @@
"alignMode": 1, "alignMode": 1,
"_target": null, "_target": null,
"_alignFlags": 45, "_alignFlags": 45,
"_left": 96.81799999999993, "_left": 96.8179999999999,
"_right": 1100.612, "_right": 1100.612,
"_top": 232.54899999999998, "_top": 232.54899999999998,
"_bottom": 351.961, "_bottom": 351.961,
...@@ -5386,7 +5386,7 @@ ...@@ -5386,7 +5386,7 @@
"__id__": 120 "__id__": 120
} }
], ],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 123 "__id__": 123
......
...@@ -262,45 +262,12 @@ cc.Class({ ...@@ -262,45 +262,12 @@ cc.Class({
this.initBg(); this.initBg();
this.title.string = this.data.title; this.title.string = this.data.title;
this._curMission = 0, this._curMission = 0;
this.initMissionOptions(); this.initMissionOptions();
this.initTimerRight(); this.initTimerRight();
this.updateFlagArea(); this.updateFlagArea();
let that = this;
// if (this.data.audio_url && this.data.audio_url!=""){
// playAudioByUrl(this.data.audio_url,function(){
// that.playTimer(()=>{
// that.nextMission();
// });
// });
// }else{
// this.playTimer(()=>{
// this.nextMission();
// });
// }
// this.title.node.parent.on(cc.Node.EventType.TOUCH_START, () => {
// playAudioByUrl(this.data.audio_url);
// });
this.clicktoplay.on(cc.Node.EventType.TOUCH_START, () => {
that.clicktoplay.active = false;
// that.playTimer(()=>{
that.nextMission();
// });
});
this.nextMission();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment