Fix Biome System integration, memory optimization, and Tiled live sync workflow
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user