Commit 10126795 authored by liubing's avatar liubing

修改反馈。

parent 964b28c4
...@@ -1363,7 +1363,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -1363,7 +1363,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const effectNode = cc.find("Canvas/endBg/win/win_ani"); const effectNode = cc.find("Canvas/endBg/win/win_ani");
if (effectNode) { if (effectNode) {
cc.tween(effectNode) cc.tween(effectNode)
.to(0.5, {opacity:255}) .to(1.5, {opacity:255})
.call(async () => { .call(async () => {
await asyncPlayDragonBoneAnimation(effectNode, "normal", 1); await asyncPlayDragonBoneAnimation(effectNode, "normal", 1);
const labelBg = cc.find("Canvas/endBg/labelBg"); const labelBg = cc.find("Canvas/endBg/labelBg");
...@@ -1372,7 +1372,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -1372,7 +1372,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
loss.active = false; loss.active = false;
this.playLocalAudio("胜利"); this.playLocalAudio("胜利");
}) })
.to(0.5, {opacity:0}) // .to(0.5, {opacity:0})
.start() .start()
} }
}) })
...@@ -1388,7 +1388,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -1388,7 +1388,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const effectNode = cc.find("Canvas/endBg/lose/lose_ani"); const effectNode = cc.find("Canvas/endBg/lose/lose_ani");
if (effectNode) { if (effectNode) {
cc.tween(effectNode) cc.tween(effectNode)
.to(0.5, {opacity:255}) .to(1.5, {opacity:255})
.call(async () => { .call(async () => {
await asyncPlayDragonBoneAnimation(effectNode, "normal", 1); await asyncPlayDragonBoneAnimation(effectNode, "normal", 1);
const labelBg = cc.find("Canvas/endBg/labelBg"); const labelBg = cc.find("Canvas/endBg/labelBg");
...@@ -1397,7 +1397,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -1397,7 +1397,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
win.active = false; win.active = false;
this.playLocalAudio("失败"); this.playLocalAudio("失败");
}) })
.to(0.5, {opacity:0}) // .to(0.5, {opacity:0})
.start() .start()
} }
}) })
......
...@@ -50,7 +50,7 @@ export class AI { ...@@ -50,7 +50,7 @@ export class AI {
await asyncDelay(Math.random() * 1 + 10); await asyncDelay(Math.random() * 1 + 10);
const idx = this.getNextRightIdx(); const idx = this.getNextRightIdx();
if (Math.random() < 0.9) { if (Math.random() < 0.75) {
this.networkHelper.sendFrame({ this.networkHelper.sendFrame({
type: "right", type: "right",
idx: idx, idx: idx,
......
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