Commit dcb878ae authored by 王勇霞's avatar 王勇霞

速度调整

parent 71239089
...@@ -733,5 +733,5 @@ export const ResJson = { ...@@ -733,5 +733,5 @@ export const ResJson = {
"name": "svga" "name": "svga"
} }
], ],
"path": "https://yun.duiba.com.cn/db_games/activity/template/1678710002/resource/" "path": "https://yun.duiba.com.cn/db_games/activity/template/1678772466/resource/"
} }
\ No newline at end of file
...@@ -177,7 +177,6 @@ export class GameScene extends Scene { ...@@ -177,7 +177,6 @@ export class GameScene extends Scene {
this.addRole() this.addRole()
// 开始循环添加 // 开始循环添加
for (let i = 0; i < this.startLen; i++) { for (let i = 0; i < this.startLen; i++) {
this.createCloudItem(stageHeight - (500 + 150 * i), i + 1, i % 2 == 0 ? 'left' : 'right'); this.createCloudItem(stageHeight - (500 + 150 * i), i + 1, i % 2 == 0 ? 'left' : 'right');
} }
...@@ -293,7 +292,6 @@ export class GameScene extends Scene { ...@@ -293,7 +292,6 @@ export class GameScene extends Scene {
}) })
if (success) { if (success) {
GDispatcher.dispatchEvent("openGameEnd", { GDispatcher.dispatchEvent("openGameEnd", {
isFillUp: data.point ? true : false,
point: data.point || 0 point: data.point || 0
}); });
} else { } else {
......
...@@ -53,7 +53,7 @@ export default class Role extends FYGE.Container { ...@@ -53,7 +53,7 @@ export default class Role extends FYGE.Container {
FYGE.Tween.get(this.position).to({ FYGE.Tween.get(this.position).to({
x: this.item.position.x + 20, x: this.item.position.x + 20,
y: this.item.position.y - 110 y: this.item.position.y - 110
}, 500, FYGE.Ease.quadInOut) }, 350, FYGE.Ease.quadInOut)
.call(() => { .call(() => {
// console.log("播放完成") // console.log("播放完成")
callback && callback(this.item) callback && callback(this.item)
...@@ -82,7 +82,7 @@ export default class Role extends FYGE.Container { ...@@ -82,7 +82,7 @@ export default class Role extends FYGE.Container {
FYGE.Tween.get(this.position).to({ FYGE.Tween.get(this.position).to({
x: this.item.position.x + 20, x: this.item.position.x + 20,
y: this.item.position.y - 110 y: this.item.position.y - 110
}, 500, FYGE.Ease.quadInOut) }, 350, FYGE.Ease.quadInOut)
.call(() => { .call(() => {
console.log("播放完成") console.log("播放完成")
callback && callback(this.item) callback && callback(this.item)
...@@ -101,7 +101,7 @@ export default class Role extends FYGE.Container { ...@@ -101,7 +101,7 @@ export default class Role extends FYGE.Container {
// 人物自由落地 // 人物自由落地
onFreeFall(position, data, callback) { onFreeFall(position, data, callback) {
this.item = data.item this.item = data.item
this.position.set(position.x, position.y - 1000) this.position.set(position.x, position.y - 800)
this.downSvga.visible = false this.downSvga.visible = false
this.jumpSvga.visible = true, this.jumpSvga.visible = true,
this.jumpSvga.startAniRange(1, undefined, 1) this.jumpSvga.startAniRange(1, undefined, 1)
...@@ -112,7 +112,7 @@ export default class Role extends FYGE.Container { ...@@ -112,7 +112,7 @@ export default class Role extends FYGE.Container {
}).to({ }).to({
x: position.x + 20, x: position.x + 20,
y: position.y - 110 y: position.y - 110
}, 1000, FYGE.Ease.quadInOut) }, 500, FYGE.Ease.quadInOut)
.call(() => { .call(() => {
console.log("播放完成") console.log("播放完成")
callback && callback(this.item) callback && callback(this.item)
......
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