Fix Biome System integration, memory optimization, and Tiled live sync workflow

This commit is contained in:
2025-12-27 12:50:58 +01:00
parent f8d533465b
commit 43f4b11c87
19 changed files with 1314 additions and 591 deletions

View File

@@ -64,7 +64,7 @@ class BiomeEnemySystem {
for (let x = 0; x < 500; x += sampleRate) {
for (let y = 0; y < 500; y += sampleRate) {
const biome = biomeSystem.getBiome(x, y);
const biome = biomeSystem.getBiomeAt(x, y);
const density = this.spawnDensity[biome] || 0.02;
if (Math.random() < density) {