Commit 58e76e87 authored by Lwd's avatar Lwd

commit

parent 247ea653
......@@ -859,13 +859,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 88,
"height": 185
"width": 142,
"height": 160
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
"x": 0,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
......
......@@ -132,7 +132,9 @@ var game = cc.Class({
//隐藏剩余物品并跳转下一题
resetQues: function () {
if (LWD_3.data_mgr.quesId >= 4) {
this.finish();
this._timeoutIds.push(setTimeout(() => {
this.finish();
}, 1000));
LWD_3.data_mgr.gameState = 2
} else {
for (var i = 0; i < this.contentArr.childrenCount; i++) {
......
......@@ -37,7 +37,7 @@ cc.Class({
LWD_3.data_mgr.time = 0;
//如果有提示手则停止
LWD_3.game.inst.handTween && LWD_3.game.inst.handTween.stop();
LWD_3.game.inst.handTween && LWD_3.game.inst.handTween.stop() && (LWD_3.game.inst.handTip.active = false);
//狮子猫动画
LWD_3.game.inst.playLionDragon("openmouth");
......@@ -93,7 +93,11 @@ cc.Class({
if (!this.isMove) {
cc.log("点击了");
// this.onBtnRotate();
this.handTip += 1;
if (this.handTip >= 2) {
LWD_3.game.inst.setHandTip(this.node.parent);
this.handTip = 0;
}
//回到原来的位置
this.node.x = 0;
this.node.y = 0;
......
assets/LWD_3/textures/icon_hand.png

13.4 KB | W: | H:

assets/LWD_3/textures/icon_hand.png

16.4 KB | W: | H:

assets/LWD_3/textures/icon_hand.png
assets/LWD_3/textures/icon_hand.png
assets/LWD_3/textures/icon_hand.png
assets/LWD_3/textures/icon_hand.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 88,
"height": 185,
"rawWidth": 88,
"rawHeight": 185,
"width": 142,
"height": 160,
"rawWidth": 142,
"rawHeight": 160,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
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