feat: Implement new Stop 'n' Go game mode with dedicated manager, player logic, and control scripts.

This commit is contained in:
2026-03-23 20:42:55 +08:00
parent 75a636c97c
commit 878e331b6e
6 changed files with 225 additions and 87 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
extends Node
# SpecialTilesManager - Handles special effects triggered by holo tile pickups
# Holo tile indices (11-14) trigger special effects
@@ -370,7 +369,7 @@ func _execute_area_freeze(target_pos: Vector2i = Vector2i.ZERO):
# Check if it is STILL Freeze Overlay
var current_check = enhanced_gridmap.get_cell_item(Vector3i(pos.x, 2, pos.y))
if current_check == 5:
restore_batch.append({"x": pos.x, "y": 2, "z": pos.y, "item": -1})
restore_batch.append({"x": pos.x, "y": 2, "z": pos.y, "item": - 1})
if not restore_batch.is_empty():
main.rpc("sync_grid_items_batch", restore_batch)