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

速度调整

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