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
This commit is contained in:
2025-12-14 17:12:40 +01:00
parent c3dd39e1a6
commit 80bddf5d61
37 changed files with 8164 additions and 1800 deletions

View File

@@ -65,6 +65,7 @@
<!-- UI Theme -->
<script src="src/ui/UITheme.js"></script>
<script src="src/ui/UIHelpers.js"></script>
<script src="src/ui/WeatherUI.js"></script> <!-- Weather Control Panel -->
<!-- Utilities -->
<script src="src/utils/PerlinNoise.js"></script>
@@ -91,6 +92,7 @@
<!-- TimeSystem merged into WeatherSystem -->
<script src="src/systems/StatsSystem.js"></script>
<script src="src/systems/InventorySystem.js"></script>
<script src="src/utils/GlobalInventoryHelper.js"></script> <!-- Global inventory helper -->
<script src="src/systems/LootSystem.js"></script>
<script src="src/systems/InteractionSystem.js"></script>
<script src="src/utils/InventoryIcons.js"></script> <!-- 2D Flat Icons -->
@@ -161,6 +163,10 @@
<script src="src/systems/FullInventoryUI.js"></script> <!-- Full Inventory UI (I key) -->
<script src="src/systems/CameraSystem.js"></script> <!-- Camera System (Trailer/Screenshots) -->
<!-- 🎨 2D FLAT CONVERSION -->
<script src="data/map2d_data.js"></script>
<script src="src/systems/Flat2DTerrainSystem.js"></script>
<!-- Entities -->
<script src="src/entities/Player.js"></script>
<script src="src/entities/NPC.js"></script>
@@ -174,6 +180,11 @@
<script src="src/scenes/PreloadScene.js"></script>
<script src="src/scenes/UIScene.js"></script>
<script src="src/scenes/StoryScene.js"></script>
<!-- 🛠️ CRAFTING SYSTEM -->
<script src="src/systems/CraftingSystem.js"></script>
<script src="src/ui/CraftingUI.js"></script>
<script src="src/scenes/GameScene.js"></script>
<script src="src/game.js"></script>
</body>