Save all: Fixed blue screen, VibeVoice audio, Tiled setup
This commit is contained in:
@@ -35,9 +35,16 @@ class PreloadScene extends Phaser.Scene {
|
||||
// this.load.tilemapTiledJSON('farm_map', 'assets/maps/farm_map.json');
|
||||
// this.load.tilemapTiledJSON('micro_farm_128x128', 'assets/maps/micro_farm_128x128.json'); // 🌾 Testna farma
|
||||
// this.load.tilemapTiledJSON('micro_farm_8x8', 'assets/maps/micro_farm_8x8.json'); // 🏕️ Manjša test mapa
|
||||
this.load.image('grass_tileset_img', 'assets/tilesets/grass.png');
|
||||
this.load.image('water_tileset_img', 'assets/tilesets/water.png');
|
||||
this.load.image('decorations_tileset_img', 'assets/tilesets/decorations.png');
|
||||
// 🗺️ TILED MAP (User's NovaFarma)
|
||||
this.load.tilemapTiledJSON('NovaFarma', 'assets/maps/NovaFarma.json');
|
||||
|
||||
// 🎨 TILED TILESETS (Manual Loading)
|
||||
const kzPath = 'assets/narezano_in_majhno/krvava_zetev_sprites/';
|
||||
this.load.image('tileset_01_Ground', kzPath + 'grass_soil_tileset_1766171156780_obdelan.png');
|
||||
this.load.image('tileset_02_Obstacles', kzPath + 'farm_obstacles_1766171194583_obdelan.png');
|
||||
this.load.image('tileset_03_Fences', kzPath + 'fence_tileset_1766171177275_obdelan.png');
|
||||
this.load.image('tileset_04_Buildings', kzPath + 'town_buildings_pack_1766099810580_obdelan.png');
|
||||
this.load.image('tileset_05_Tools_Items', kzPath + 'tools_items_pack_tiled_1766099926620_obdelan.png');
|
||||
|
||||
// New asset packs
|
||||
this.load.image('objects_pack', 'assets/objects_pack.png');
|
||||
@@ -771,8 +778,8 @@ class PreloadScene extends Phaser.Scene {
|
||||
|
||||
// ✅ Starting main menu (StoryScene)
|
||||
this.time.delayedCall(500, () => {
|
||||
console.log('🎮 Starting StoryScene (Main Menu)...');
|
||||
this.scene.start('StoryScene'); // ← MAIN MENU
|
||||
console.log('🎮 Starting TiledTestScene (NovaFarma Test)...');
|
||||
this.scene.start('TiledTestScene'); // ← Direct jump to Tiled Test
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user