Commit 58e76e87 authored by Lwd's avatar Lwd

commit

parent 247ea653
...@@ -859,13 +859,13 @@ ...@@ -859,13 +859,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 88, "width": 142,
"height": 185 "height": 160
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0,
"y": 0 "y": 1
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
......
...@@ -132,7 +132,9 @@ var game = cc.Class({ ...@@ -132,7 +132,9 @@ var game = cc.Class({
//隐藏剩余物品并跳转下一题 //隐藏剩余物品并跳转下一题
resetQues: function () { resetQues: function () {
if (LWD_3.data_mgr.quesId >= 4) { if (LWD_3.data_mgr.quesId >= 4) {
this._timeoutIds.push(setTimeout(() => {
this.finish(); this.finish();
}, 1000));
LWD_3.data_mgr.gameState = 2 LWD_3.data_mgr.gameState = 2
} else { } else {
for (var i = 0; i < this.contentArr.childrenCount; i++) { for (var i = 0; i < this.contentArr.childrenCount; i++) {
......
...@@ -37,7 +37,7 @@ cc.Class({ ...@@ -37,7 +37,7 @@ cc.Class({
LWD_3.data_mgr.time = 0; 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"); LWD_3.game.inst.playLionDragon("openmouth");
...@@ -93,7 +93,11 @@ cc.Class({ ...@@ -93,7 +93,11 @@ cc.Class({
if (!this.isMove) { if (!this.isMove) {
cc.log("点击了"); cc.log("点击了");
// this.onBtnRotate(); // 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.x = 0;
this.node.y = 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 @@ ...@@ -22,10 +22,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 88, "width": 142,
"height": 185, "height": 160,
"rawWidth": 88, "rawWidth": 142,
"rawHeight": 185, "rawHeight": 160,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 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