feat: implement the new "Stop N Go" game mode, including phase management, dynamic safe zones, player missions, and dedicated UI with visual effects.
This commit is contained in:
@@ -600,6 +600,10 @@ func clear_path_visualization(unused_floor_idx: int = 0):
|
||||
for x in range(columns):
|
||||
for z in range(rows):
|
||||
var cell_item = get_cell_item(Vector3i(x, 2, z))
|
||||
# Protect Safe Zone (ID 2) from being cleared by path visualization
|
||||
if cell_item == 2:
|
||||
continue
|
||||
|
||||
if cell_item == hover_item or cell_item == start_item or cell_item == end_item:
|
||||
set_cell_item(Vector3i(x, 2, z), -1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user