45 Commits

Author SHA1 Message Date
a4d795c561 Tiled Map Setup: Ground tiles, ruins & automated asset processing
Features:
- Resized 4513 PNG assets to 40% for optimal Tiled performance
- Created comprehensive tileset library (grass, dirt, trees, flowers, ruins, walls)
- Generated 3 test maps: travnik_32x32, zapuscena_vas_48x48, travnik_s_objekti
- Added 9 different ruined building tilesets for TownRestorationSystem integration

 Tools Added:
- resize_assets_for_tiled.py: Batch resize all assets to 40%
- generate_tiled_map.py: Auto-generate maps with placed objects
- fix_tiled_map.py: Create proper tile-based maps

 Structure:
- Slike_za_Tiled/: 4513 resized assets ready for Tiled
- assets/tilesets/: 16 tileset definitions (.tsx files)
- assets/maps/: 3 ready-to-use Tiled maps (.tmx files)

 Documentation:
- docs/TILED_SETUP_GUIDE.md: Complete setup and usage guide

Ready for map design in Tiled Map Editor!
2025-12-24 03:41:40 +01:00
84d18f896e V2 Auto-categorization - ALL 60 sprite sheets organized (61 TSX files total) 2025-12-22 19:08:11 +01:00
187762184d Tileset organization system - 25 TSX files + comprehensive workflow docs 2025-12-22 18:54:36 +01:00
721d29146f Cleanup: Removed Tiled experiment files (maps, tilesets) - reverting to original procedural farm 2025-12-22 11:53:50 +01:00
0985af29e5 Green Background Removal + TSX Generation + Bug Fixes
Removed green backgrounds from 30 tileset PNGs (16.4M pixels!)
 Created mass TSX generation script for 3877 individual objects
 Fixed TiledTestScene cursor crash bug
 Added micro_farm_8x8 JSON loading support
 Documentation: GREEN_BACKGROUND_FIX.md, MASS_TSX_GENERATION.md

Scripts:
- scripts/remove_green_background.py (batch transparency fix)
- scripts/generate_mass_tsx.py (3877 .tsx files generator)

Backups: assets/tilesets/backup_green_bg/
2025-12-22 11:23:25 +01:00
7eb1a5874a Avtomatska obdelava tileset slik - 3877 ločenih objektov in TSX datotek
- Ustvarjen skript za ločevanje objektov iz tileset slik (obdelaj_tilesete.py)
- Odstranjevanje zelenega ozadja (#00FF00) iz vseh slik
- Ločevanje posameznih objektov iz multi-object slik
- Pomanjševanje na 50% originalne velikosti
- Obdelanih 234 slik  3877 ločenih objektov

- Ustvarjen skript za generiranje TSX datotek (generiraj_tsx_datoteke.py)
- Avtomatsko generiranje 3877 TSX datotek za Tiled Map Editor
- Pravilna XML struktura za vsak tileset
- Avtomatska detekcija velikosti objektov
- Relativne poti do slik

Rezultati:
- assets/narezano_loceno/ - 3877 ločenih PNG objektov
- assets/tilesets_auto/ - 3877 TSX datotek za Tiled
- Dokumentacija in navodila za uporabo

Vse pripravljeno za uporabo v Tiled Map Editor!
2025-12-21 15:36:42 +01:00
bc58894dd9 docs: Friday session complete - Ready for Monday
Added SESSION_FRIDAY_COMPLETE.md:
- Complete 2-hour session summary
- 16 tilesets, 172 tiles ready
- Balanced sizing strategy (2x2 interactive, 5x5 natural)
- Next steps and quick start guide
- Troubleshooting tips for Tiled

Files ready:
- micro_farm_128x128.tmx (main map)
- All tilesets (characters, camp, tools, trees, crops)
- Complete documentation (8 guides)

Ready to start map design on Monday!
2025-12-20 10:55:01 +01:00
57220ff4e2 feat: Balanced tileset sizes - 96px for interactive objects
Added 96px versions for better visual balance:
- zombie_character_96px (2x2 tiles)
- camp_objects_96px (12 objects: campfire, tents, chests, barrels, workbench)
- tools_96px (6 tools: hoe, axe, pickaxe, scythe, fishing rod, watering can)

Size Strategy (Balanced Approach):
- 2x2 tiles (96x96px): Characters, camp objects, tools - interactive items
- 5x5 tiles (256x256px): Trees, crops - natural/environmental objects
- 1x1 tiles (48x48px): Ground, fences, obstacles - base terrain

Updated map:
- micro_farm_128x128.tmx now uses 96px versions for characters/camp/tools
- Perfect gameplay scale - objects fit naturally with farm plots
- Trees and crops remain large for realistic appearance

Documentation:
- TILESET_SIZES_FINAL.md - Complete sizing strategy guide
- Visual comparisons and gameplay perspective included

Ready for map design in Tiled on Monday!
2025-12-20 10:42:13 +01:00
26bb94e8bb feat: Tiled Map Editor - Complete tileset library (16 tilesets, 172 tiles)
- Added 16 professional tilesets for farm game
- Character sprites: Kai (96px + 512px), Zombie
- Tree growth: Cherry, Apple, Oak, Pine (5 stages each)
- Crop growth: Potatoes, Carrots, Corn, Pumpkin, Wheat (4 stages each)
- Camp objects: Tents, campfire, chests, workbench (12 items)
- Tools: Hoe, pickaxe, axe, scythe, fishing rod, watering can
- Decorations: Rocks, logs, flowers, berry bushes
- Terrain: Autotiling grass/soil, detailed terrain tiles

Maps:
- Created micro_farm_128x128.tmx (128x128 tiles, 6144x6144px)
- Updated starting_base_16x16.tmx with new tilesets
- Complete implementation plans for both maps

Fixes:
- Fixed XML headers in all TSX files (removed spaces)
- Verified all PNG files present
- Kai character sized correctly (96x96px = 2x2 ground tiles)

Documentation:
- Complete session summary (SESSION_COMPLETE.md)
- Tileset guides and troubleshooting
- Size fix documentation (KAI_SIZE_FIXED.md)
- DNEVNIK updated with session details

Ready for map design in Tiled and Phaser integration!
2025-12-20 10:29:28 +01:00
a11b5476c0 Tiled auto-tiling setup + 16x16 starting base map
- Fixed XML headers in all TSX files (removed spaces)
- Created starting_base_16x16.tmx map (768x768px)
- Generated micro camp objects (1-tile icons)
- Added all tilesets to new map:
  * grass_soil_autotile.tsx
  * fence_autotile.tsx
  * starting_camp.tsx
  * farm_obstacles.png
- Generated 7 TOP-DOWN object sprite sheets
- Organized 60 Krvava Zetev sprites
- Updated DNEVNIK with session notes

Ready for Tiled map design on Monday!
2025-12-20 00:47:49 +01:00
7cc66d0e2b Added Tiled auto-tiling system + TOP-DOWN assets
- Created 4 TSX tilesets with terrain/wang set definitions
- grass_soil_autotile.tsx (terrain-based)
- fence_autotile.tsx (wang set)
- water_tileset_autotile.tsx
- grass_tileset_autotile.tsx

Documentation:
- AUTO_TILING_VODIC.md (Slovenian guide)
- TERRAIN_NOTATION_REFERENCE.md
- AUTO_TILING_CHECKLIST.md
- AUTO_TILING_SESSION_SUMMARY.md
- Updated MICRO_FARM_VODIC.md
- Updated DNEVNIK.md

Generated TOP-DOWN sprite sheets (7 packs):
- town_buildings_topdown.png
- trees_topdown_pack.png
- rocks_obstacles_topdown.png
- mine_entrances_topdown.png
- starting_camp_topdown.png
- farm_structures_topdown.png
- buildings_ruins_states.png (3 states per building)

Organized 60 Krvava Zetev sprites in krvava_zetev_sprites folder
All assets vibrant colors, NO grays, ready for Tiled!
2025-12-19 23:58:25 +01:00
7140e59012 ULTIMATE ASSET PACK COMPLETE! 55+ Tiled-Ready Sprites - Characters (10 NPCs + Kai + Ana + Krnić + GROK EASTER EGG!), Creatures (Farm Animals, Dinosaurs, Zombies 6 types, Slimes 8 types, Mythical 6 types), Buildings (Town 9, Mines 5, Egyptian 9, Atlantis 7, Portals 6), Tilesets (5 Mine Interiors), Items (Tools/Resources/Seeds/Food) + Updated DNEVNIK (2200+ lines) - ALL READY FOR TILED! 2025-12-19 00:50:30 +01:00
5152cc092c COMPLETE GAME ASSETS! 50 Tiled-Ready Sprites copied to assets/tiled_sprites/ - Characters (10 NPCs), Creatures (Farm Animals, Dinosaurs, Slimes, Zombies), Buildings (Town Buildings, Mine Entrances, Egyptian Structures, Atlantis Objects, Portals), Tilesets (5 Mine Interiors), Items (Tools, Resources, Seeds) + Complete GDD (1500+ lines) + Task Breakdown (1044 hours, 26 weeks) - KRVAVA ŽETEV 100% DESIGN COMPLETE! 2025-12-19 00:27:34 +01:00
0da66582aa Add mutated animals and zombie sprite sheets for 2D conversion 2025-12-18 19:07:46 +01:00
34eb8a0ccc Add horses (normal + mutant + armored), cart/wagon system for animals, crafting recipe UI with material requirements - 122 SPRITE SHEETS COMPLETE! 2025-12-18 16:57:41 +01:00
2c60941efd Add ocean creatures (octopus, whale, dolphin), werewolf + moon phases, greenhouse upgrades, water sports (SUP, kayak), dead trees, living slime monsters, bows (5 types), arrows (9 types) - 119 SPRITE SHEETS! 2025-12-18 16:55:15 +01:00
b2b3da4113 Add blueprint/recipe system, house interiors complete (bathroom, living, decorations), house upgrades (tent to manor), barn upgrades (4 stages), storage shed upgrades (4 stages), barn interior equipment - 111 TOTAL SPRITE SHEETS! 2025-12-18 16:48:39 +01:00
56a89bf266 Add starter base camp (8x8 with campfire, chest, tent) + house interior furniture (bedroom, kitchen, living room) - 100 sprite sheets milestone! 2025-12-18 16:43:03 +01:00
9ebc93e7a1 MASSIVE DLC expansion: Train repair system, repairable cities, nomad shops, seasonal crops, pets (dogs/cats), magic/wizardry, ALL DLC clothing/food/items (Dino, Mythical, Amazon, Egypt, Atlantis, Chernobyl, Catacombs, Loch Ness) - 96+ TOTAL SPRITE SHEETS 2025-12-18 16:37:34 +01:00
ac9751ff39 Add board sports: longboard, mountain board, snowboard (81 sprite sheets total) 2025-12-18 16:27:27 +01:00
ca7fe26a77 COMPLETE asset library: animal products (normal + mutant), fruit harvest, donkey (normal + mutant), story quest items, Catacombs structures, Egyptian treasures, vehicles, ocean tiles (80+ TOTAL SPRITE SHEETS) 2025-12-18 16:24:26 +01:00
a403fa2da3 Add massive asset update: tree growth stages, biome mini-bosses, family/breeding system, seasonal outfits, DLC Atlantis, DLC Chernobyl, Amazon piranhas, giant sequoia, ores, wood types, leather (67+ total sprite sheets) 2025-12-18 16:17:55 +01:00
5762fd63a2 Replace NPCs with post-apocalyptic survivors (Jakob trader, Lyra mutant, Doctor, Scavenger, Military, Mechanic) 2025-12-18 16:03:23 +01:00
5f259351a6 Add fishing, crafting stations, currency, biome terrain, DLC collectibles (52+ sprite sheets) 2025-12-18 16:01:43 +01:00
935caed0dd Add complete post-apocalyptic assets: modern weapons, survivor gear, laboratories, medical supplies, city ruins, environment objects (46+ sprite sheets total) 2025-12-18 15:54:50 +01:00
a3720b3622 Add complete Krvava Zetev asset library - 29 sprite sheets (characters, zombies, animals, mutants, buildings, crops, DLC creatures) 2025-12-18 15:39:37 +01:00
17e988f96f feat: Tiled Map Editor setup and initial farm map design
- Installed and configured Tiled Map Editor
- Created 4 tilesets (grass, water, dirt, decorations)
- Generated farm_2d.tmx (100x100 orthogonal map)
- Created 4 render layers (Ground, Paths, Decorations, DecorationsTall)
- Painted grass base layer across entire map
- Added dirt path network
- Placed decorative elements (trees, flowers, rocks)
- Recovered and fixed tileset PNG images
- Updated 2D_CONVERSION_LOG.md with Phase 5 completion (85% done)

Next: Export to JSON and integrate into Phaser game
2025-12-17 19:11:29 +01:00
344fbc307d Session 3: Tree Variety System Complete
TREE VARIETIES IMPLEMENTED:
- Added 5 tree types: Cherry, Oak, Pine, Dead, Apple
- AI-generated PNG sprites with transparent backgrounds
- Random tree selection for natural diversity
- Growth scaling (0.4-0.6x for variety)

 VISUAL IMPROVEMENTS:
- 2.5D depth sorting (Y-position based)
- Proper shadows matching tree size
- Layered rendering for perspective

 TRANSPARENCY FIXES:
- Disabled automatic sprite processing
- User manually removed green screen backgrounds
- Fixed pink/red color preservation
- Trees now render with proper transparency

 TREE DISTRIBUTION:
- Reduced from ~78 to 10 trees (87% reduction)
- Removed corner forest clusters (too crowded)
- Sparse scattered placement across 100x100 map
- Wider spacing (8-15 tiles apart)
- Small tree sizes (0.35-0.7x scale, ~50% reduction)

 TECHNICAL CHANGES:
- PreloadScene: Added tree sprite loading
- PreloadScene: Disabled processAllTransparency()
- Flat2DTerrainSystem: PNG sprite rendering with fallback
- map2d_data.js: Sparse tree generation
- Green removal threshold: g > 180 (preserves pink/red)

 FILES MODIFIED:
- src/scenes/PreloadScene.js
- src/systems/Flat2DTerrainSystem.js
- data/map2d_data.js
- assets/sprites/tree_*.png (5 new sprites)
- docs/DNEVNIK.md (updated with user availability)

Session: 1.5h (23:28-00:48)
Date: 14-15.12.2024
2025-12-15 00:49:06 +01:00
c5d6c01305 Cherry Blossom Trees Session 2 + GREEN SCREEN Learning
Session 2 Work:
- Added cherry blossom tree PNG sprites (multiple attempts)
- Implemented random tree growth (0.3x - 0.7x scale)
- Increased scattered trees (15  50 across map)
- Wider tree distribution (10-90 range)

 Green Screen Experiments:
- Attempted AI-generated PNG with green screen (#00FF00)
- Implemented green chroma-key removal in PreloadScene
- Multiple iterations (normal  ultra  nuclear green removal)
- Conclusion: AI green screen unreliable, reverted to procedural

 Final Solution:
- Disabled PNG sprite rendering
- Using 100% procedural cherry blossom trees (pink triangles)
- Random growth scaling for variety
- 50+ trees scattered across entire map

 Documentation:
- Updated DNEVNIK.md with Session 2
- Added GREEN SCREEN RULE for future AI image generation
- Documented lessons learned

 Key Lessons:
- AI transparency/green screen NOT reliable
- Procedural graphics > problematic PNGs
- Hollywood uses green screen, but AI can't do it consistently
- Always have fallback plan!

Session: 1h (22:30-23:20)
Date: 14.12.2024
2025-12-14 23:21:36 +01:00
a4d2d137ec Tiled Map Editor Exploration + Bug Fixes
Tiled Setup:
- Installed Tiled v1.11.2 (winget)
- Created workflow documentation (.agent/workflows/tiled-map-setup.md)
- Generated demo Tiled map files (farm_map.tmx, .json, .tsx)
- Created TILED_INTEGRATION_STATUS.md documentation

 Bug Fixes:
- SaveSystem.js: Fixed compatibility with Flat2DTerrainSystem
- InteractionSystem.js: Added null checks for terrainSystem
- PreloadScene.js: Tiled asset loading (currently not used)

 Documentation:
- Created DNEVNIK.md (development diary)
- Updated QUICK_TASK_REFERENCE.md with recent work

 Note: Tiled integration incomplete (tileset size issues)
- Reverted to procedural Flat2DTerrainSystem (working)
- Future work: Create proper 192x192 tileset PNGs

Session: 2h (20:00-22:00)
Date: 14.12.2024
2025-12-14 22:55:29 +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
0131f1490f carakter 2025-12-14 12:21:17 +01:00
abb9af9063 charakter 2025-12-13 04:34:11 +01:00
6c583a6576 posodobitve 2025-12-12 13:40:51 +01:00
e15b429e75 svet 2025-12-12 00:13:55 +01:00
8b37814bd8 updejt 2025-12-11 20:41:00 +01:00
6e998d516d posodobitev 2025-12-11 19:36:08 +01:00
abc536fea1 popraven novi npc 2025-12-08 17:09:52 +01:00
9c61c3b56d popravki 2025-12-08 01:00:56 +01:00
7834aee111 mesano 2025-12-08 00:18:56 +01:00
22e7b1a6d2 novi trgovc 2025-12-07 23:21:12 +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
03a9cd46a2 stanje 4am 2025-12-07 04:19:57 +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