Commit b18b9390 authored by yu's avatar yu

1

parent 41238e10
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
"_is3DNode": true, "_is3DNode": true,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"autoReleaseAssets": true, "autoReleaseAssets": false,
"_id": "0737ce42-24f0-45c6-8e1a-8bdab4f74ba3" "_id": "0737ce42-24f0-45c6-8e1a-8bdab4f74ba3"
}, },
{ {
...@@ -2159,8 +2159,8 @@ ...@@ -2159,8 +2159,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
541.068, 549,
-274.634, -249,
0, 0,
0, 0,
0, 0,
......
...@@ -143,6 +143,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -143,6 +143,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let btn_kaba3 = btn_laba.getChildByName("laba_2"); let btn_kaba3 = btn_laba.getChildByName("laba_2");
btn_kaba2.active = true; btn_kaba2.active = true;
btn_kaba3.active = true; btn_kaba3.active = true;
btn_laba.getComponent(cc.Sprite).enabled = false;
cc.audioEngine.stopAllEffects(); cc.audioEngine.stopAllEffects();
let count = 0; let count = 0;
if (this.intervalId) clearInterval(this.intervalId); if (this.intervalId) clearInterval(this.intervalId);
...@@ -153,6 +154,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -153,6 +154,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
btn_kaba3.active = count % 2 == 1; btn_kaba3.active = count % 2 == 1;
if (stop && count % 2 == 0) { if (stop && count % 2 == 0) {
btn_kaba2.active = false; btn_kaba2.active = false;
btn_laba.getComponent(cc.Sprite).enabled = true;
clearInterval(this.intervalId); clearInterval(this.intervalId);
} }
}, 150) }, 150)
......
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