Commit f16ccfbe authored by haiyoucuv's avatar haiyoucuv

11

parent 25f2fb41
......@@ -10,7 +10,7 @@ export default [
message: "message",
data: AESEncrypt(JSON.stringify({
recordId: "recordId",
countdownSeconds: 10,
countdownSeconds: 110,
remainTipTimes: 3,
}), "7A2F4B8D1E6C3905", "cDOiBC1n2QrkAY2P"),
// data: "TtL6pvFMpXEajymGe7uOoiD0iaAnxxtuOFqvG+Vo0R4qzJQlb+eQneEkPKv+nNsXKJHVe/hfKTQAMj6FuC2Ltg=="
......
......@@ -60,14 +60,15 @@ export class Level17 extends LevelBase {
this.circleArr.map((item, index) => {
if(this.pos.x >= item.x && this.pos.x <= item.x + item.width && this.pos.y >= item.y && this.pos.y <= item.y + item.height) {
if (item.findFlag) return;
item.findFlag = true;
Tween.get(item)
.to({ alpha: 1 }, 444, Ease.quadInOut)
.call(() => {
!item.findFlag && this.findNum++;
item.alpha = 1;
item.findFlag = true;
this.findNum++;
if(this.findNum == 10) {
this.setPauseCd(true);
console.log(123123123123)
globalEvent.emit(GameEvent.NextLevel);
}
})
......
......@@ -29,29 +29,29 @@ export const errorWaitTime = 1000;
export const rightWaitTime = 2000;
export const LevelArr = [
{ cls: Level1, tip: `5=1` },
{ cls: Level2, tip: `图中一共有9个金币` },
{ cls: Level3, tip: `当然是太阳最高啦` },
{ cls: Level4, tip: `没有什么比猫猫的<br/>左右爪更像了` },
{ cls: Level5, tip: `将蛋黄放在蛋白上<br/>拼出荷包蛋` },
{ cls: Level6, tip: `直接移动最底层的蛋糕` },
{ cls: Level7, tip: `旋转存钱罐,倒出金币` },
{ cls: Level8, tip: `最深的颜色是题目` },
{ cls: Level9, tip: `移动小鸭子至河边` },
{ cls: Level10, tip: `将“1”移动至等号右边<br/>形成等式` },
{ cls: Level11, tip: `将冰箱放大至能装够装下<br/>长颈鹿` },
{ cls: Level12, tip: `掐断烟头` },
{ cls: Level13, tip: `打开盖子看看` },
{ cls: Level14, tip: `将香蕉移动到牛奶中<br/>变成香蕉牛奶` },
// { cls: Level1, tip: `5=1` },
// { cls: Level2, tip: `图中一共有9个金币` },
// { cls: Level3, tip: `当然是太阳最高啦` },
// { cls: Level4, tip: `没有什么比猫猫的<br/>左右爪更像了` },
// { cls: Level5, tip: `将蛋黄放在蛋白上<br/>拼出荷包蛋` },
// { cls: Level6, tip: `直接移动最底层的蛋糕` },
// { cls: Level7, tip: `旋转存钱罐,倒出金币` },
// { cls: Level8, tip: `最深的颜色是题目` },
// { cls: Level9, tip: `移动小鸭子至河边` },
// { cls: Level10, tip: `将“1”移动至等号右边<br/>形成等式` },
// { cls: Level11, tip: `将冰箱放大至能装够装下<br/>长颈鹿` },
// { cls: Level12, tip: `掐断烟头` },
// { cls: Level13, tip: `打开盖子看看` },
// { cls: Level14, tip: `将香蕉移动到牛奶中<br/>变成香蕉牛奶` },
{ cls: Level15, tip: `猫吃老鼠` },
{ cls: Level16, tip: `移动笼子罩住小鸭子` },
{ cls: Level17, tip: `别忘了,人是高等动物哦` },
{ cls: Level18, tip: `移开乌云露出太阳<br/>让冰块融化` },
{ cls: Level19, tip: `将小船放大,装下两人` },
{ cls: Level20, tip: `别忘了把题目也装进箱子里` },
{ cls: Level21, tip: `移动鸡蛋,碰一碰便知` },
{ cls: Level22, tip: `移开圣诞老人的衣服看看` },
{ cls: Level23, tip: `一样重` },
{ cls: Level24, tip: `将雪球合在一起滚成大雪球` },
{ cls: Level25, tip: `按住小猪鼻子,把它憋醒` },
// { cls: Level18, tip: `移开乌云露出太阳<br/>让冰块融化` },
// { cls: Level19, tip: `将小船放大,装下两人` },
// { cls: Level20, tip: `别忘了把题目也装进箱子里` },
// { cls: Level21, tip: `移动鸡蛋,碰一碰便知` },
// { cls: Level22, tip: `移开圣诞老人的衣服看看` },
// { cls: Level23, tip: `一样重` },
// { cls: Level24, tip: `将雪球合在一起滚成大雪球` },
// { cls: Level25, tip: `按住小猪鼻子,把它憋醒` },
];
......@@ -57,6 +57,7 @@ class GameStore {
score,
timestamp: Date.now(),
};
console.log(d);
const param = AESEncrypt(JSON.stringify(d), "7A2F4B8D1E6C3905", "cDOiBC1n2QrkAY2P");
const { success, data } = await API.middleSubmit({ param });
......@@ -75,6 +76,7 @@ class GameStore {
score,
timestamp: Date.now(),
};
console.log(d);
const param = AESEncrypt(JSON.stringify(d), "7A2F4B8D1E6C3905", "cDOiBC1n2QrkAY2P");
const { success, data } = await API.submit({ param });
......
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