Files
novafarma/backup_faza11_extracted/backup_faza11_2025-12-11/README.md
2025-12-11 11:34:23 +01:00

108 lines
2.1 KiB
Markdown

# NovaFarma 🌾
**2.5D Isometric Survival Game**
Pixel art survival game z izometričnim pogledom, ustvarjen z Phaser.js in Electron.
---
## 🚀 Quick Start
### Predpogoji
- Node.js 18+
- npm
### Instalacija
```bash
# Kloniraj repository (local)
cd c:\novafarma
# Instaliraj odvisnosti
npm install
# Zaženi igro
npm start
```
---
## 🛠️ Tehnologije
- **Node.js** v18+
- **Phaser.js** v3.80.1 - Game engine
- **Electron.js** v33.2.1 - Desktop wrapper
---
## 📁 Struktura projekta
```
novafarma/
├── src/
│ ├── scenes/ # Game scenes (Boot, Preload, Game)
│ ├── entities/ # Game entities (Player, NPC, etc.)
│ ├── systems/ # Game systems (terrain gen, AI, etc.)
│ ├── utils/ # Utility functions
│ └── game.js # Main Phaser config
├── assets/
│ ├── images/ # Image assets
│ ├── sprites/ # Sprite sheets
│ └── audio/ # Sound effects & music
├── dist/ # Build output
├── index.html # HTML entry point
├── main.js # Electron main process
└── package.json
```
---
## 🎮 Trenutni Status
**FAZA 0: ✅ APPROVED** (2025-12-06)
- Setup projekta
- Git inicializacija
- Electron + Phaser integracija
- Osnovne scene (Boot, Preload, Game)
**FAZA 1: ✅ APPROVED** (2025-12-06)
- Perlin Noise terrain generator
- 100x100 isometrična mapa
- 5 tipov terena (voda, pesek, trava, zemlja, kamen)
- Kamera kontrole (WASD, mouse pan, zoom)
**FAZA 2: ✅ APPROVED** (2025-12-06)
- Player entiteta (32x32px pixel art)
- WASD gibanje (grid-based)
- Smooth movement
- Depth sorting
- Kolizija z robovi
- Camera follow
**Naslednja faza:** FAZA 3 - NPC-ji in Dekoracije
---
## 📝 Development Plan
Glej `dev_plan.md` za celoten razvojni načrt.
---
## 🐛 Debug Mode
Razvojni način je privzeto vključen:
- Electron DevTools odprte ob zagonu
- FPS counter v igri
- Console logging
---
## 👨‍💻 Developer
**Email:** hipodevil666@gmail.com
**Git:** Local repository
---
## 📄 License
ISC