dreva in kamni top
This commit is contained in:
@@ -40,6 +40,12 @@ class BootScene extends Phaser.Scene {
|
||||
console.log('✅ BootScene: Complete!');
|
||||
window.gameState.currentScene = 'BootScene';
|
||||
|
||||
// Global Constants for Sprites
|
||||
window.SPRITE_TREE_HEALTHY = 'tree_green_final';
|
||||
window.SPRITE_TREE_BLUE = 'tree_blue_final';
|
||||
window.SPRITE_TREE_DEAD = 'tree_dead_final';
|
||||
window.SPRITE_TREE_SAPLING = 'tree_sapling';
|
||||
|
||||
// Takoj po bootu gremo v PreloadScene
|
||||
this.time.delayedCall(100, () => {
|
||||
this.scene.start('PreloadScene');
|
||||
|
||||
Reference in New Issue
Block a user