Art: Made all trees 40% smaller + apple tree simple 2D flat style

This commit is contained in:
2025-12-15 19:43:26 +01:00
parent 2d0ef6d8b9
commit be374c6237
6 changed files with 46 additions and 46 deletions

View File

@@ -3,6 +3,7 @@ class ChunkManager {
constructor(scene, chunkSize = 50) {
this.scene = scene;
this.chunkSize = chunkSize; // 50x50 tiles per chunk
this.biomeSystem = null; // Will be set by GameScene
// Active chunks (currently loaded)
this.activeChunks = new Map(); // Key: "chunkX,chunkY", Value: chunk data
@@ -67,8 +68,8 @@ class ChunkManager {
// Get biome for this tile
let biomeId = 'grassland';
if (this.scene.biomeSystem) {
biomeId = this.scene.biomeSystem.getBiomeAt(worldX, worldY);
if (this.biomeSystem) {
biomeId = this.biomeSystem.getBiomeAt(worldX, worldY);
}
chunk.tiles.push({