feat: Add initial main game scene with grid and cameras, and implement player movement manager.

This commit is contained in:
Yogi Wiguna
2026-02-05 17:48:47 +08:00
parent a4bd5e3c0b
commit e34a7467d0
2 changed files with 12 additions and 5 deletions
@@ -133,6 +133,9 @@ func try_push(target_pos: Vector2i, direction: Vector2i) -> bool:
other_player.rpc("start_movement_along_path", push_path, false)
other_player.target_position = pushed_to_pos # Logical update
# Apply stun/freeze effect as requested (same as wall stagger)
other_player.rpc("apply_stagger", 1.5)
else:
# Wall/Blocked -> Stagger in place
other_player.rpc("apply_stagger", 1.5)