Commit 6fefc05c authored by 杨一航's avatar 杨一航

feat; 细节调整

parent 40bf5af1
......@@ -160,7 +160,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
async playFlower(flowerNode) {
await asyncPlayDragonBoneAnimation(flowerNode, "newAnimation", 1);
await asyncDelay(10 + Math.random() * 5);
await asyncDelay(5 + Math.random() * 5);
flowerNode.opacity = 0
await asyncDelay(5 + Math.random() * 5);
flowerNode.opacity = 255;
this.playFlower(flowerNode);
}
initPageData() {
......
......@@ -58,6 +58,7 @@ export default class DragObj extends cc.Component {
this.mainCom.playLocalAudio("right");
this.node.active = false;
this.matcheNode.getChildByName("lb").active = true;
this.matcheNode.getChildByName("tip").active = false;
cc.tween(this.node.parent).to(0.5, { scale: 0 }, { easing: "sineOut" }).start();
this._sucCall && this._sucCall();
// this.node.parent.active = false;
......
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