🌱 Expanded Island + Procedural Growth System

ISLAND EXPANSION:
- Increased from 20x20 to 50x50 tiles (6400x6400px)
- World size: 10400x10400px (with ocean buffer)
- Irregular edges (procedural jitter system maintained)

PROCEDURAL GROWTH SYSTEM:
- Soil moisture grid (50x50) - tracks wet/dry tiles
- Grass growth: 30% chance if soil is wet
- Tree saplings: 10 placed on island edges
- Tree aging: sapling → medium (3 days) → large (7 days)
- Rainfall: 40% chance daily, wets 60% of tiles

LAYER SYSTEM (Z-ORDER FIX):
- LAYER_GROUND (-100): Foundation tiles
- LAYER_VEGETATION (1): Grass, bushes - below characters!
- LAYER_TREES (2): Trees
- LAYER_CHARACTERS (10): Kai, zombies - walks BETWEEN vegetation

GROWTH MECHANICS:
- Morning check every 60 seconds (1 in-game day)
- Grass fades in smoothly (2s animation)
- Trees progress: faza_1 → faza_2 → veliko
- Random grass types & sizes for variety

NATURE TAKES OVER:
- Island evolves procedurally over time
- Dark Gothic aesthetic maintained
- Living, breathing environment

Date: 2026-02-10 17:42
This commit is contained in:
2026-02-10 17:41:58 +01:00
parent 7b8194caca
commit 2255bb7d41
2 changed files with 240 additions and 11 deletions

View File

@@ -334,14 +334,41 @@
---
## 🟣 BATCH 13: POWER GRID SYSTEM (10 assets)
### **22. ELECTRICAL INFRASTRUCTURE**
**Files to generate/copy:**
- `power_pole.png` - Power pole sprite (copy from `objekt_elektricni_drog_predelan_svetlejsi.png`)
- `cable_horizontal.png` - Horizontal cable segment
- `cable_vertical.png` - Vertical cable segment
- `cable_corner_tl.png` - Top-left corner cable
- `cable_corner_tr.png` - Top-right corner cable
- `cable_corner_bl.png` - Bottom-left corner cable
- `cable_corner_br.png` - Bottom-right corner cable
- `cable_spark_effect.png` - Electric spark particles (⚡ travel along cables)
- `power_indicator_on.png` - Green glow indicator (building is powered)
- `power_indicator_off.png` - Red indicator (no power)
**Reference:** `objekt_cevi_in_kabli_set.png` (240KB cable set)
**Gameplay:**
- Player places power poles (range: 10 tiles)
- Cables auto-connect between poles
- Visual feedback: sparks travel along active cables
- Buildings show powered status (green glow vs red)
**Priority:** MEDIUM (Faza 1 feature - Generator system extension)
---
## 📊 GENERATION SUMMARY:
**TOTAL ASSETS TO GENERATE:** ~150-180 individual files
**TOTAL ASSETS TO GENERATE:** ~160-190 individual files
**By Priority:**
- 🔴 **CRITICAL:** 35 assets (Zombies, Kai, Day/Night, Fog, Polaroid)
- 🟡 **HIGH:** 45 assets (UI, Structures, Tools)
- 🟢 **MEDIUM:** 40 assets (Animals, Crops, Water system)
- 🟢 **MEDIUM:** 50 assets (Animals, Crops, Water, Power Grid)
- 🔵 **LOW:** 30-50 assets (Fish, Insects, Couriers)
---
@@ -371,6 +398,7 @@
6. Batch 4: UI systems (Radio, Twin Bond, Taming)
7. Batch 11: Structures
8. Batch 12: Tools & Items
9. Batch 13: Power Grid System
### **Week 3:**
9. Batch 5: Water system