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

fix hammer, change splash

parent c812d781
......@@ -553,8 +553,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1029.842,
76,
1795.934,
2437.4,
0,
0,
0,
......@@ -11926,8 +11926,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1787.226,
-6.605,
3438.053,
2476.813,
0,
0,
0,
......
......@@ -108,7 +108,7 @@ export default class BreakingJarController extends cc.Component {
this.particleFont.stopSystem();
this.particleBehind.stopSystem();
cc.Tween.stopAllByTarget(this.mask);
cc.tween(this.mask)
.to(1, { opacity: 0 })
.call(() => {
......@@ -158,9 +158,9 @@ export default class BreakingJarController extends cc.Component {
}
private onHammer(newPos: cc.Vec2) {
this.hammerNode.active = true;
cc.Tween.stopAllByTarget(this.hammerNode);
this._spine.setAnimation(0, "Dap4", false);
this.hammerNode.active = true;
cc.tween(this.hammerNode)
.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