Commit 22af6516 authored by 杨一航's avatar 杨一航

feat: 音效调整

parent 595ee3e5
This diff is collapsed.
......@@ -167,7 +167,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
doEndLogic() {
cc.log("doEndLogic---")
this.playLocalAudio("endstar")
this.root.active = false;
this.btn_restart.active = true;
this.btn_quit.active = true;
......@@ -257,10 +257,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.bigpao.active = true;
this.bigpao.y = -100;
return new Promise((resolve) => {
this.playLocalAudio("bigpp")
cc.tween(this.bigpao).to(1, { y: 300, scale: 1 }).call(async () => {
let pp = this.bigpao.getChildByName("aninode");
pp.active = true;
this.playLocalAudio("bigpp")
this.playLocalAudio("pigppbom")
await asyncPlayDragonBoneAnimation(pp, "newAnimation", 1);
resolve("")
}).start();
......
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