Commit 8fb93666 authored by Vũ Gia Vương's avatar Vũ Gia Vương

fix hammer, change splash

parent c812d781
...@@ -553,8 +553,8 @@ ...@@ -553,8 +553,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
1029.842, 1795.934,
76, 2437.4,
0, 0,
0, 0,
0, 0,
...@@ -11926,8 +11926,8 @@ ...@@ -11926,8 +11926,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
1787.226, 3438.053,
-6.605, 2476.813,
0, 0,
0, 0,
0, 0,
......
...@@ -158,9 +158,9 @@ export default class BreakingJarController extends cc.Component { ...@@ -158,9 +158,9 @@ export default class BreakingJarController extends cc.Component {
} }
private onHammer(newPos: cc.Vec2) { private onHammer(newPos: cc.Vec2) {
this.hammerNode.active = true;
cc.Tween.stopAllByTarget(this.hammerNode); cc.Tween.stopAllByTarget(this.hammerNode);
this._spine.setAnimation(0, "Dap4", false); this._spine.setAnimation(0, "Dap4", false);
this.hammerNode.active = true;
cc.tween(this.hammerNode) cc.tween(this.hammerNode)
.to(0.5, { position: cc.v3(newPos.x, newPos.y, 0) }) .to(0.5, { position: cc.v3(newPos.x, newPos.y, 0) })
......
{ {
"last-module-event-record-time": 1745838037290 "last-module-event-record-time": 1746606709842
} }
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