Commit d0130aa2 authored by Tt's avatar Tt

音效增加

parent e6a89b70
...@@ -1970,7 +1970,7 @@ ...@@ -1970,7 +1970,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "73ZnEP4FJMVaWcshSwMy35" "_id": "fbzRyXxD9OwLKO+6qWtnY4"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -2003,7 +2003,7 @@ ...@@ -2003,7 +2003,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "d7AW/cSWdIUbNnujzQlKg8" "_id": "06/oZ5Kc5BbqL0/dGm17Wl"
}, },
{ {
"__type__": "cc.PrivateNode", "__type__": "cc.PrivateNode",
...@@ -2066,7 +2066,7 @@ ...@@ -2066,7 +2066,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "6163ZJ0VlFd4SKIJuAWVxd" "_id": "90vW9AJoNFhILPqxz4k/b+"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -2099,7 +2099,7 @@ ...@@ -2099,7 +2099,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "4b6Q98uaVArYmslDmxFtPS" "_id": "84LXwoWyRIy5Xxj1UW3qiZ"
}, },
{ {
"__type__": "cc.RichText", "__type__": "cc.RichText",
...@@ -2670,7 +2670,7 @@ ...@@ -2670,7 +2670,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "6b25fshBdAcZ925W8rw5+Z" "_id": "6fLe5dJr5LWLu6y7uYkOtY"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -2703,7 +2703,7 @@ ...@@ -2703,7 +2703,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "b2xnNVtpdKW5sVkcuuhn6A" "_id": "494WYP6clOeacseQqfFlKm"
}, },
{ {
"__type__": "cc.PrivateNode", "__type__": "cc.PrivateNode",
...@@ -2766,7 +2766,7 @@ ...@@ -2766,7 +2766,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "19Ll3MbxJEIJFugc7C1KiZ" "_id": "fajdqkN/9I7Lr3ZR1tcmZ6"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -2799,7 +2799,7 @@ ...@@ -2799,7 +2799,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "70Hy0l+HlLL6jv4Oa/VGnQ" "_id": "3cFSU1eX9P/ojUUXJsQXjY"
}, },
{ {
"__type__": "cc.PrivateNode", "__type__": "cc.PrivateNode",
...@@ -2862,7 +2862,7 @@ ...@@ -2862,7 +2862,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "e1fr/H00RM7KVEqIH3G4d/" "_id": "dcVvq/8WJBsrll74ls+XH3"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -2895,7 +2895,7 @@ ...@@ -2895,7 +2895,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "f3up8mDHBEZp5ywvqP5dsa" "_id": "dexZo3OtBEiI719yPt6YEn"
}, },
{ {
"__type__": "cc.PrivateNode", "__type__": "cc.PrivateNode",
...@@ -2958,7 +2958,7 @@ ...@@ -2958,7 +2958,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "04FBRKuCdLG4OU4HCnIcWA" "_id": "192Ddvt8RCAJ3L4XcwG1xC"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -2991,7 +2991,7 @@ ...@@ -2991,7 +2991,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "f2dotnXQhL77vqB93/LjKd" "_id": "9fxA6pNK9KDKP8OPzfwVOG"
}, },
{ {
"__type__": "cc.RichText", "__type__": "cc.RichText",
...@@ -3994,7 +3994,7 @@ ...@@ -3994,7 +3994,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "80WAH5fCtIQIq7PXEAb4Vc" "_id": "87hdH/W59JNJmW2BDgCyPz"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -4027,7 +4027,7 @@ ...@@ -4027,7 +4027,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "4916d62wtIsKHym/+iAjTM" "_id": "2dsP3ifcZJG6pU4ESnokDO"
}, },
{ {
"__type__": "cc.PrivateNode", "__type__": "cc.PrivateNode",
...@@ -4090,7 +4090,7 @@ ...@@ -4090,7 +4090,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "099oYJ7a5MUI1RQSuTTjCD" "_id": "e7DkeTIp5DaZwy6kyQ1eM7"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -4123,7 +4123,7 @@ ...@@ -4123,7 +4123,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "21THjUVipHqaR5HNe3rqdJ" "_id": "b9PIrbBeBLtb9PY0xTF+dl"
}, },
{ {
"__type__": "cc.PrivateNode", "__type__": "cc.PrivateNode",
...@@ -4186,7 +4186,7 @@ ...@@ -4186,7 +4186,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "23ACx9nSBITrg7kKxwaHNt" "_id": "f3RzN75tVJ3aEnKe1iZHcU"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -4219,7 +4219,7 @@ ...@@ -4219,7 +4219,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "4bVeqIdTtN/5vQHNX2Vegq" "_id": "03cHa3vwNJPqpxg1lILPIV"
}, },
{ {
"__type__": "cc.PrivateNode", "__type__": "cc.PrivateNode",
...@@ -4282,7 +4282,7 @@ ...@@ -4282,7 +4282,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "7eW3Nsl1RC/6emGLmGgWUu" "_id": "c2EXPzH8NOLa9RS9c3nw62"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -4315,7 +4315,7 @@ ...@@ -4315,7 +4315,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "8atYUeTilNj7v4MuBkGe1B" "_id": "28D8ELJfxPSpVXgKkQNWS/"
}, },
{ {
"__type__": "cc.PrivateNode", "__type__": "cc.PrivateNode",
...@@ -4378,7 +4378,7 @@ ...@@ -4378,7 +4378,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "eeXSTCroZKzYT7CcIMR6G2" "_id": "d8ac+vZOFPubMJrc1F01pU"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -4411,7 +4411,7 @@ ...@@ -4411,7 +4411,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "a3CN09Tb1JAqYB3+qLH32v" "_id": "ebVKniHQ9N4bKN9LZsLM6R"
}, },
{ {
"__type__": "cc.RichText", "__type__": "cc.RichText",
......
...@@ -28,8 +28,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -28,8 +28,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initData(); this.initData();
this.initView(); this.initView();
this.initEvent(); this.initEvent();
pg.view.find(this, 'layout_xiaodi').getComponent(dg_xiaodi).playEnter(this.data.npcAudio) pg.view.find(this, 'layout_xiaodi').getComponent(dg_xiaodi).playEnter(this.data.npcAudio).then(() => {
this.initGame(); this.initGame();
})
} }
_cantouch = null; _cantouch = null;
...@@ -463,7 +464,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -463,7 +464,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let node = this.createItemMain(data); let node = this.createItemMain(data);
node.x = SceneComponent.mainStartPos.x; node.x = SceneComponent.mainStartPos.x;
node.y = SceneComponent.mainStartPos.y; node.y = SceneComponent.mainStartPos.y;
cc.tween(node).to(1, { x: SceneComponent.mainDefaultPos.x, y: SceneComponent.mainDefaultPos.y }).start(); cc.tween(node).to(0.3, { x: SceneComponent.mainDefaultPos.x, y: SceneComponent.mainDefaultPos.y }).start();
return node; return node;
} }
createItemMain(data) { createItemMain(data) {
...@@ -528,7 +529,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -528,7 +529,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 两边丢弃 // 两边丢弃
this.discardCurrent(); this.discardCurrent();
// 中间移出 // 中间移出
cc.tween(this.currentMain).by(1, { y: -1800 }).start(); cc.tween(this.currentMain).by(0.3, { y: -1800 }).start();
this.playLocalAudio('nextgame') this.playLocalAudio('nextgame')
// 中间移入 // 中间移入
let node = this.nextLayoutMain(this.nextQuestion); let node = this.nextLayoutMain(this.nextQuestion);
......
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