feat: Add initial core game scene, player script, and static Tekton manager.

This commit is contained in:
Yogi Wiguna
2026-03-23 10:22:55 +08:00
parent b1c5e75a3e
commit d0e90fd2aa
3 changed files with 14 additions and 4 deletions
+3 -3
View File
@@ -42,9 +42,9 @@ func calculate_spawn_points(count: int, gridmap: Node) -> Array[Vector2i]:
# If count > 5, we only return 5 because that's the max safe non-adjacent set in 3x3
var spawn_points: Array[Vector2i] = []
var iterations = min(count, target_indices.size())
for i in range(iterations):
var zone_idx = target_indices[i]
for zone_idx in target_indices:
if spawn_points.size() >= count:
break
var zone = zones[zone_idx]
# Determine Position Type for Bias