Update: Disabled global grass, moved realistic tree to pond

This commit is contained in:
2026-02-02 07:36:35 +01:00
parent 34f36efd2e
commit 6b134fe0b8

View File

@@ -158,10 +158,11 @@ export default class GrassSceneClean extends Phaser.Scene {
this.hole.setDepth(-48); // On ground, below pond/items
this.physics.add.existing(this.hole, true); // Static body for trigger
// --- REALISTIC TREE DEMO ---
// Lokacija: Malo levo od igralca
const treeX = WORLD_W / 2 - 300;
const treeY = WORLD_H / 2;
// --- REALISTIC TREE (Next to Pond) ---
// Ribnik je na: WORLD_W / 2 + 400, WORLD_H / 2 + 200
// Drevo postavimo levo zgoraj od ribnika
const treeX = WORLD_W / 2 + 300;
const treeY = WORLD_H / 2 + 150;
// 1. Senca (Shadow) - Rahla temna elipsa za globino
const shadow = this.add.ellipse(treeX, treeY + 10, 140, 60, 0x000000);
@@ -253,7 +254,7 @@ export default class GrassSceneClean extends Phaser.Scene {
// --- INTRO SEQUENCE STATE ---
this.introStarted = false;
const GRASS_COUNT = 2000; // Re-enabled for environment
const GRASS_COUNT = 0; // Disabled per user request
const SPREAD = 4000; // 4000px radius okoli centra
// Parametri za izločanje trave (Pond & Hole)