Commit Graph

62 Commits

Author SHA1 Message Date
521468c797 različne velikosti dreves 2025-12-07 03:40:50 +01:00
9eb57ed117 FAZA 17: 2.5D Minecraft-Style Terrain + Y-Layer Stacking + Custom Sprites
COMPLETED FEATURES:

 Custom Sprite Integration:
- Player, Zombie, Merchant sprites (0.2 scale)
- 11 custom sprites + 5 asset packs loaded
- Auto-transparency processing (white/brown removal)
- Gravestone system with atlas extraction

 2.5D Minecraft-Style Terrain:
- Volumetric blocks with 25px thickness
- Strong left/right side shading (30%/50% darker)
- Minecraft-style texture patterns (grass, dirt, stone)
- Crisp black outlines for definition

 Y-Layer Stacking System:
- GRASS_FULL: All green (elevation > 0.7)
- GRASS_TOP: Green top + brown sides (elevation 0.4-0.7)
- DIRT: All brown (elevation < 0.4)
- Dynamic terrain depth based on height

 Floating Island World Edge:
- Stone cliff walls at map borders
- 2-tile transition zone
- Elevation flattening for cliff drop-off effect
- 100x100 world with defined boundaries

 Performance & Polish:
- Canvas renderer for pixel-perfect sharpness
- CSS image-rendering: crisp-edges
- willReadFrequently optimization
- No Canvas2D warnings

 Technical:
- 3D volumetric trees and rocks
- Hybrid rendering (2.5D terrain + 2D characters)
- Procedural texture generation
- Y-layer aware terrain type selection
2025-12-07 01:44:16 +01:00
34a2d07538 FAZA 3: Add 3 NPCs with random walk AI (zombie, villager, merchant) 2025-12-06 18:18:23 +01:00
9389d4e467 FAZA 2: APPROVED by client - All tests passed, player movement perfect 2025-12-06 18:14:03 +01:00
1c1ee97b2c FAZA 2: Fix player going off-terrain - sync player with terrain container offset 2025-12-06 18:12:15 +01:00
6e92e89f74 FAZA 2: Fix player walk animation error - use static sprite for now 2025-12-06 18:07:09 +01:00
3086356171 FAZA 2: Player entity with WASD movement, walking animation, and camera follow - Ready for testing 2025-12-06 18:00:59 +01:00
7e6cc85a6f FAZA 1: APPROVED by client - Terrain generation works perfectly 2025-12-06 17:56:50 +01:00
d61df381cb FAZA 1: Terrain generation with Perlin noise and isometric view - Ready for testing 2025-12-06 17:54:45 +01:00
7e20dff962 FAZA 0: APPROVED by client - All tests passed 2025-12-06 17:51:50 +01:00
26070dc22b FAZA 0: Add documentation and checklist for testing 2025-12-06 17:49:10 +01:00
cdcd7f8bc6 FAZA 0: Initial project setup - Electron + Phaser configuration 2025-12-06 17:47:56 +01:00