Povecanje mape na 250x250 tiles (32000x32000 px)

This commit is contained in:
2026-01-31 08:04:07 +01:00
parent 6277ad6afd
commit 8f744305f1

View File

@@ -70,8 +70,12 @@ export default class GrassSceneClean extends Phaser.Scene {
}
create() {
const WORLD_W = 2500;
const WORLD_H = 2500;
// --- WORLD CONFIGURATION ---
const TILE_SIZE = 128; // Standard grid size
const MAP_WIDTH_TILES = 250;
const MAP_HEIGHT_TILES = 250;
const WORLD_W = MAP_WIDTH_TILES * TILE_SIZE; // 32000 px
const WORLD_H = MAP_HEIGHT_TILES * TILE_SIZE; // 32000 px
this.physics.world.setBounds(0, 0, WORLD_W, WORLD_H);
this.cameras.main.setBounds(0, 0, WORLD_W, WORLD_H);