feat: Introduce core player movement manager with grid-based movement, player pushing mechanics, and initial bot control and strategic planning.

This commit is contained in:
Yogi Wiguna
2026-03-05 16:41:35 +08:00
parent aa26e9f2a4
commit 5c4764b082
7 changed files with 169 additions and 47 deletions
+2 -2
View File
@@ -1642,9 +1642,9 @@ func randomize_game_grid():
var enhanced_gridmap = $EnhancedGridMap
if enhanced_gridmap:
# Custom spawn ratio for Free Mode: 60% common tiles, 40% empty tiles (start of game)
# Custom spawn ratio for Free Mode: 80% common tiles, 20% empty tiles (start of game)
var density_callable = func():
if randf() <= 0.6:
if randf() <= 0.8:
return ScarcityModel.STANDARD_TILES.pick_random()
else:
return -1 # Empty