|
|
6573c6e48c
|
Add player controls (X/C keys) + generate 38 new assets (195 total)
- Implemented X key for chopping action (handleChoppingAction)
- Implemented C key for mining action (handleMiningAction)
- Added silver arrows to inventory (10x)
- Generated 38 new PNG assets:
* Trees: pine, oak, maple
* Crops: carrot, tomato, pumpkin, pepper, cabbage
* Buildings: silo, composter
* Environment: rock, bush, daisy, log, pond, stump, berries
* Tools: iron sword, scythe, fishing rod, shovel, boots, stone, wood
* Food/Items: cheese, milk, egg, fertilizer, hay bale
* Lighting: torch, lantern
* Animals: hedgehog, horse, sheep, pig, bat, owl
|
2025-12-28 18:01:59 +01:00 |
|
|
|
80bddf5d61
|
feat: Complete 2D Visual Overhaul - Isometric to Flat Top-Down
- NEW: Flat2DTerrainSystem.js (375 lines)
- NEW: map2d_data.js procedural map (221 lines)
- MODIFIED: GameScene async create, 2D terrain integration
- MODIFIED: Player.js flat 2D positioning
- MODIFIED: game.js disabled pixelArt for smooth rendering
- FIXED: 15+ bugs (updateCulling, isometric conversions, grid lines)
- ADDED: Phase 28 to TASKS.md
- DOCS: DNEVNIK.md session summary
Result: Working flat 2D game with Stardew Valley style!
Time: 5.5 hours
|
2025-12-14 17:12:40 +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 |
|