Art: Made all trees 40% smaller + apple tree simple 2D flat style
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user