|
|
43f4b11c87
|
Fix Biome System integration, memory optimization, and Tiled live sync workflow
|
2025-12-27 12:50:58 +01:00 |
|
|
|
4cf6350d11
|
Phase 37: Micro Farm & Expansion System Complete
MICRO FARM SYSTEM (8x8):
- Initial 8x8 farm boundary (center spawn)
- White boundary visualization
- Corner markers for clear boundaries
- Locked tile tracking (Set-based)
VISUAL FEEDBACK:
- Locked tile overlay (30% black)
- Clear visual distinction (farm vs locked)
- Dynamic rendering (15 tile radius)
- Depth-sorted overlays
FARMING RESTRICTIONS:
- Block tilling outside farm boundary
- Error messages (floating text)
- Farm boundary validation
- FarmingSystem integration
EXPANSION SYSTEM:
- 4-direction unlock buttons (N/S/E/W)
- Cost system (50 gold per expansion)
- 2x2 tile unlock increments
- Visual updates (boundaries + overlay)
UI INTEGRATION:
- Interactive expansion buttons
- Hover effects (color + scale)
- Cost labels (gold display)
- Success/error feedback
MINIMAP INTEGRATION:
- Farm boundary in minimap
- White box indicator
- Player-relative rendering
- Fixed terrain system compatibility
TECHNICAL FIXES:
- Added decorationsMap to Flat2DTerrainSystem
- Fixed variable scope issues
- UIScene minimap compatibility
- TerrainSystem.getTile() integration
FILES CREATED/MODIFIED:
- src/systems/MicroFarmSystem.js (NEW!)
- src/systems/FarmingSystem.js
- src/systems/Flat2DTerrainSystem.js
- src/scenes/GameScene.js
- src/scenes/UIScene.js
- index.html
Session: 1h (00:50-01:19)
Date: 15.12.2024
Status: PHASE 37 COMPLETE!
|
2025-12-15 01:20:14 +01:00 |
|
|
|
725cd98e7c
|
inventori
|
2025-12-13 03:07:45 +01:00 |
|
|
|
c618f3d7fa
|
updejt
|
2025-12-13 01:29:24 +01:00 |
|
|
|
f6450cd3b8
|
1
|
2025-12-13 00:58:46 +01:00 |
|
|
|
6c583a6576
|
posodobitve
|
2025-12-12 13:40:51 +01:00 |
|
|
|
a210638002
|
podobi
|
2025-12-12 10:17:21 +01:00 |
|
|
|
6e998d516d
|
posodobitev
|
2025-12-11 19:36:08 +01:00 |
|
|
|
0323a3279b
|
dodadno
|
2025-12-08 18:25:50 +01:00 |
|
|
|
097d35da1b
|
popravki
|
2025-12-08 17:31:18 +01:00 |
|
|
|
abc536fea1
|
popraven novi npc
|
2025-12-08 17:09:52 +01:00 |
|
|
|
81a7895c10
|
phase 12 koncxana
|
2025-12-08 14:16:24 +01:00 |
|
|
|
f3d476e843
|
phase 11 koncano
|
2025-12-08 14:01:41 +01:00 |
|
|
|
3336b59e7d
|
popravki
|
2025-12-08 11:28:44 +01:00 |
|
|
|
e49f567831
|
farma updejt
|
2025-12-08 01:39:39 +01:00 |
|
|
|
6b8f9aee66
|
dreva in kamni top
|
2025-12-07 22:32:45 +01:00 |
|
|
|
974141c08c
|
mapa
|
2025-12-07 21:31:44 +01:00 |
|
|
|
045bf24792
|
kockasta mapa
|
2025-12-07 14:28:39 +01:00 |
|
|
|
98059a2659
|
popravek zombijo
|
2025-12-07 13:16:04 +01:00 |
|
|
|
2404d44ef7
|
udomacenje zombija in uboj\
|
2025-12-07 12:47:47 +01:00 |
|
|
|
03a9cd46a2
|
stanje 4am
|
2025-12-07 04:19:57 +01:00 |
|
|
|
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 |
|