Commit 2964c14a authored by haiyoucuv's avatar haiyoucuv

init

parent 06b168ee
...@@ -16,8 +16,8 @@ export default [ ...@@ -16,8 +16,8 @@ export default [
guideFlag: true, guideFlag: true,
creditsNum: 923, creditsNum: 923,
expireDays: 7, expireDays: 7,
currentStoreNum: 923, currentStoreNum: 1000,
storeLimitNum: 2222, storeLimitNum: 1000,
continueSignDays: 3, continueSignDays: 3,
todaySignFlag: false, todaySignFlag: false,
signRecords: new Array(7).fill(1).map((_, index) => { signRecords: new Array(7).fill(1).map((_, index) => {
......
...@@ -64,7 +64,8 @@ export class Game extends Base { ...@@ -64,7 +64,8 @@ export class Game extends Base {
this.fullAni.play(); this.fullAni.play();
this.fullAni.onFrameChange = (currentFrame) => { this.fullAni.onFrameChange = (currentFrame) => {
if (currentFrame === targetFrame) { console.log(currentFrame)
if (currentFrame === targetFrame - 1) {
this.fullAni.animationSpeed = 1; this.fullAni.animationSpeed = 1;
this.fullAni.onFrameChange = null; this.fullAni.onFrameChange = null;
this.dropAni.visible = false; this.dropAni.visible = 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