Files
novafarma/assets/videos 🔴/README.md
David Kotnik e92212cb9d 🎨 PIKE NA KONCU IMENA - Prave pozicije pike!
 VSE MAPE Z PIKAMI NA KONCU:

📂 /assets/
├── MASTER_REFS 🟣 (6 PNG)
├── animations 🟢 (134 PNG)
├── audio 🔴 (0 PNG)
├── demo 🔴 (0 PNG)
│   ├── biomi 🔴 (0 PNG)
│   ├── characters 🔴 (0 PNG)
│   ├── items 🔴 (0 PNG)
│   ├── npc 🔴 (0 PNG)
│   └── vfx 🔴 (0 PNG)
├── dialogue 🔴 (0 PNG)
├── kreature 🟢 (71 PNG)
├── maps 🟣 (1 PNG)
├── slike 🟢 (420 PNG!)
├── vfx 🟣 (3 PNG)
└── videos 🔴 (0 PNG)

📂 /tiled/
├── maps 🟣 (1 file)
├── tilesets 🟣 (1 file)
├── tutorials 🟣 (1 file)
└── TODO 🟣 (2 files)

🎯 FORMAT:
"folder_name 🔴" (ne "🔴 folder_name")
Pike na koncu imena! 

📊 STATUS LOGIC:
• 🔴 = 0 files (PRAZNO)
• 🟣 = 1-9 files (V DELU)
• 🟢 = 10+ files (DOKONČANO)

👁️ VISIBLE IN FINDER:
→ Instant visual feedback!
→ Na koncu imena (lepše!)
→ Easy sorting!

📁 All folders renamed!
🚀 Status indicators working!
2026-01-03 17:04:18 +01:00

1.6 KiB

🎬 VIDEO FILES

Lokacija: assets/videos/


📁 KAM DATI MP4 VIDEO:

1. Kopiraj MP4 file sem:

c:\novafarma\assets\videos\

Primeri:

  • intro.mp4 - Intro cutscene
  • boss_intro.mp4 - Boss encounter
  • background.mp4 - Background loop
  • tutorial.mp4 - Tutorial video

🎮 KAKO UPORABITI:

1. Preload (v GameScene.js ali PreloadScene.js):

preload() {
    this.load.video('intro', 'assets/videos/intro.mp4');
}

2. Play (v create()):

create() {
    const video = this.add.video(400, 300, 'intro');
    video.play();
}

📝 PRIMERI:

Fullscreen Intro:

const video = this.add.video(
    this.cameras.main.centerX,
    this.cameras.main.centerY,
    'intro'
);
video.setDisplaySize(
    this.cameras.main.width,
    this.cameras.main.height
);
video.play();

Background Loop:

const bg = this.add.video(0, 0, 'background');
bg.setOrigin(0, 0);
bg.setDisplaySize(800, 600);
bg.setDepth(-1000);
bg.setLoop(true);
bg.play();

Skip on Click:

this.input.on('pointerdown', () => {
    video.stop();
    this.scene.start('GameScene');
});

⚠️ POMEMBNO:

File Format:

  • MP4 (H.264 codec)
  • Resolution: 720p ali 1080p
  • File size: < 50 MB

Performance:

  • Ne uporabljaj preveč video hkrati
  • Mobile: Lower resolution

QUICK START:

  1. Kopiraj MP4 v: assets/videos/intro.mp4
  2. Dodaj v code: Glej zgoraj
  3. Test: Zaženi igro

Mapa je pripravljena! 🎬

Kopiraj MP4 file v: c:\novafarma\assets\videos\