Commit ddc3c8f0 authored by Tt's avatar Tt

修改音频部分

parent 098021d0
...@@ -751,13 +751,13 @@ export default class L2_boardgame2_SceneComponent extends MyCocosSceneComponent ...@@ -751,13 +751,13 @@ export default class L2_boardgame2_SceneComponent extends MyCocosSceneComponent
return; return;
} }
this.playLocalAudio("落子");
await asyncTweenTo( await asyncTweenTo(
node, node,
0.7, 0.7,
{ x: touchStartPos.nodeX, y: touchStartPos.nodeY }, { x: touchStartPos.nodeX, y: touchStartPos.nodeY },
{ easing: "cubicOut" } { easing: "cubicOut" }
); );
this.playLocalAudio("落子");
node.stopAllActions(); node.stopAllActions();
} }
......
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