Commit Graph

941 Commits

Author SHA1 Message Date
35153eeacf docs: dev log 2026-03-02 (dež + BuildingSystem) 2026-03-02 20:43:37 +01:00
4cbb198d7a feat: dež po celi mapi + BuildingSystem [2026-03-02]
RAIN SYSTEM:
- Zamenjal sprite particle emitter z procedural canvas rain (Graphics)
- 160 naključnih kapljic kot kratke diagonalne črtice (8-18px)
- Hitrost 420-700 px/s, nagib v levo (kot pravi dež)
- Alpha 0.25-0.55 — prozorno, otok viden
- Brez vzorcev / 'stebrov' — pravo Math.random() razmestitev
- Odpravil bug: dež je zdaj po celi mapi (sledil Kai-u)
- Odpravil SyntaxError: viewW dvojna deklaracija → rainViewW

BUILDING SYSTEM (src/systems/BuildingSystem.js):
- Nov modul BuildingSystem.js
- [B] tipka odpre/zapre Build Mode
- Stranski meni z ikonami: Šotor, Ogenj, Zbirač dežja, Temelj
- Ghost preview (zelena = ok, rdeča = zunaj otoka)
- Postavitev z klikom na otok
- Y-sorting: Kai se skrije za stavbami ko gre zadaj
- Fizični collider (static body) — Kai ne more skozi stavbe
- Spawn animacija (Back.out)
- Preloadan foundation_concrete.png
2026-03-02 20:42:49 +01:00
1d7aaf9562 💾 Morning Session Complete - Pixel-Perfect + Auto-Loaders
SESSION DATE: 11. Februar 2026, 06:27 - 10:05
DURATION: ~3.5 hours
FOCUS: Pixel-perfect scale system + Auto-loaders

 IMPLEMENTED SYSTEMS:

1. PIXEL-PERFECT SCALE (06:30):
   - Base tile: 32x32 px reference
   - Kai: 64 px height (2 tiles) - FORCED
   - Tall grass: 28 px height - FORCED
   - Oak tree: 160 px height - FORCED
   - Ratio: Kai 2.3x taller than grass ✓

2. VEGETATION GROUNDING (06:35):
   - All plants: setOrigin(0.5, 1.0) bottom-center
   - ROOT_OFFSET: 6px burial into ground
   - Y-depth sorting: setDepth(this.y) for all
   - Result: NO FLOATING! Plants grow from ground!

3. AUTO-LOADER SYSTEM (06:44):
   - loadVegetation(): 28px target, 4px burial
   - loadTree(): 160px target, 8px burial
   - Auto-scale calculation: target/source
   - SMOOTH rendering: LINEAR filter
   - NO manual setup needed!

4. TEST OBJECTS:
   - Test grass: Left of Kai (28px, 4px burial)
   - Test oak: Right of Kai (160px, 8px burial)
   - Both demonstrate perfect grounding

TECHNICAL CHANGES:
- Kai origin: 0.5, 0.9 → 0.5, 1.0
- Kai scale: 1.0 → 0.25 (64px exact)
- Vegetation re-enabled with grounding
- Rain system active

FILES MODIFIED:
- src/scenes/GrassScene_Clean.js (major refactor)
- dokumentacija/TODO_NEXT_SESSION.md (created)

COMMITS THIS SESSION: 3
1. Pixel-perfect scale constants
2. Vegetation grounding system
3. Auto-loader implementation

Status: All systems working, ready for testing!

Date: 11. Februar 2026, 10:05
2026-02-11 10:05:36 +01:00
d3a93b6e7b 🎉 SESSION COMPLETE - Final Save
FINAL SESSION COMMIT:
Date: 2026-02-11 00:17
Duration: 6+ hours
Assets: 23 generated

ALL FILES SAVED:
 23 asset files (Characters + Environment + References)
 Rain system code (GrassScene_Clean.js)
 Documentation (MASTER_GAME_BIBLE.md)
 Diary (MASTER_DNEVNIK)
 Removed old vegetation assets

PROGRESS: 14.4% (23/160)

NEXT SESSION:
- Kai death animation
- Kai tool animations
- Batch 4: Polaroid intro

Session End: 2026-02-11 00:17
Everything saved and committed! ��
2026-02-11 00:17:17 +01:00
2255bb7d41 🌱 Expanded Island + Procedural Growth System
ISLAND EXPANSION:
- Increased from 20x20 to 50x50 tiles (6400x6400px)
- World size: 10400x10400px (with ocean buffer)
- Irregular edges (procedural jitter system maintained)

PROCEDURAL GROWTH SYSTEM:
- Soil moisture grid (50x50) - tracks wet/dry tiles
- Grass growth: 30% chance if soil is wet
- Tree saplings: 10 placed on island edges
- Tree aging: sapling → medium (3 days) → large (7 days)
- Rainfall: 40% chance daily, wets 60% of tiles

LAYER SYSTEM (Z-ORDER FIX):
- LAYER_GROUND (-100): Foundation tiles
- LAYER_VEGETATION (1): Grass, bushes - below characters!
- LAYER_TREES (2): Trees
- LAYER_CHARACTERS (10): Kai, zombies - walks BETWEEN vegetation

GROWTH MECHANICS:
- Morning check every 60 seconds (1 in-game day)
- Grass fades in smoothly (2s animation)
- Trees progress: faza_1 → faza_2 → veliko
- Random grass types & sizes for variety

NATURE TAKES OVER:
- Island evolves procedurally over time
- Dark Gothic aesthetic maintained
- Living, breathing environment

Date: 2026-02-10 17:42
2026-02-10 17:41:58 +01:00
7b8194caca Asset Analysis Complete + Generation Plan 2026-02-10 17:27:01 +01:00
e49a61eb88 style 32 vegetation overhaul: 3-stage growth, real-farm mechanics, occlusion, and critical crash fixes 2026-02-10 11:40:00 +01:00
019a28e7e4 Update: Island System Phase 1, Ocean Visualization, UI Visibility, Electron Build Fixes 2026-02-08 07:55:00 +01:00
e0be842c85 Shrani spremembe - 2026-02-02: Čiščenje kode, Electron build setup, GrassScene popravki 2026-02-02 08:44:51 +01:00
6b134fe0b8 Update: Disabled global grass, moved realistic tree to pond 2026-02-02 07:36:35 +01:00
34f36efd2e Feature: Realistic Tree (Shadow + Clipping + Grass Masking) 2026-02-02 07:34:36 +01:00
09783826ee Fix: Z-index and Clipping issues (Ground size, Grass masking) 2026-02-02 07:25:28 +01:00
608043ab2b Update: Editor removal, Zoom fix, Cellar entrance, Pond restore 2026-02-02 07:19:43 +01:00
3d82c935b4 Dev Log Update 2026-02-01 23:45: Map Reset, Water System V2, Camera Zoom Fixes 2026-02-01 00:48:04 +01:00
942eefb005 Adjust camera zoom: Default 0.8, Range 0.2-5.0 2026-01-31 11:24:05 +01:00
a09d494c29 Temporarily disable grass generation 2026-01-31 11:22:06 +01:00
983104021c Rotate river texture 90deg, fix physics, refine edges, enable Editor Mode 2026-01-31 11:20:35 +01:00
34b044214c Fix river height, add horizontal river flow, soft edges, and intro sequence with grass growth 2026-01-31 10:59:30 +01:00
01abf6e3a4 Odstranil reko in generirano zemljo (reset mape) 2026-01-31 10:49:33 +01:00
b2667d483c Ustvaril seamless teksturo zemlje za zapolnitev ozadja 2026-01-31 10:45:14 +01:00
c6e715ccc7 Zacasno odstranil travo za lazje urejanje vode in tal 2026-01-31 10:43:11 +01:00
47eee6f093 Obrnil reko vodoravno, dodal bregove in preprecil rast trave v vodi 2026-01-31 10:41:30 +01:00
59ea185aa0 Implementacija neskončne reke z animacijo toka 2026-01-31 10:00:09 +01:00
7be21b0ac3 Fix background: Revert RT, use brown BG color + dirt tile 2026-01-31 09:27:44 +01:00
7bc7d901c5 Generiranje goste teksture zemlje za zapolnitev ozadja 2026-01-31 09:25:51 +01:00
d7196eaa82 Posodobitev trave (samo divja) in animacija rasti iz tal 2026-01-31 09:22:18 +01:00
67bfceaf0e Posodobitev trave (novi asseti) in popravek ozadja (zelena barva) 2026-01-31 08:35:11 +01:00
9f6cb21a76 Implementacija rasti trave in inventarja za travo 2026-01-31 08:27:05 +01:00
70801d861d Odstranitev blatne potke ob trganju trave 2026-01-31 08:21:38 +01:00
14ee4bb39e Implementacija trganja trave in ustvarjanja potk (SPACE) 2026-01-31 08:18:25 +01:00
a9e52a4e35 Povecanje Kaja na scale 1 (256px) 2026-01-31 08:11:03 +01:00
1b010e133f Povecanje Kaja na 200px visine 2026-01-31 08:09:52 +01:00
7754a9ebcd Fix black screen: Optimize massive ground using Infinite Scroll technique 2026-01-31 08:08:37 +01:00
56ef97ac95 Dodajanje trave (foliage) na mapo 2026-01-31 08:06:19 +01:00
8f744305f1 Povecanje mape na 250x250 tiles (32000x32000 px) 2026-01-31 08:04:07 +01:00
6277ad6afd Odstranitev umazane vode in ciscenje scene za clean start 2026-01-31 07:59:55 +01:00
2e9af7bee7 Popravek dimenzij in hitboxa za Gronka ter posodobitev assetov 2026-01-31 07:47:38 +01:00
e1cc570e29 chore: remove unused "nova farma" directory and assets
This directory appears to be a legacy or development folder containing
numerous unused assets including images, audio files, and macOS .DS_Store
files. Removing it cleans up the repository structure and reduces clutter.
2026-01-30 21:07:09 +01:00
2669a435eb docs: clean start 30.1.2026 - updated master diary and bible, renamed project 2026-01-30 21:03:47 +01:00
01d042fd50 Docs: Clean Start cleanup & Hard Izpisek (Demo/Faza1 definition) 2026-01-30 15:24:43 +01:00
9cd7115989 lol 2026-01-30 09:01:41 +01:00
0b11bc7f7d docs: finalize Demo and Phase 1 massive specification (Master Spec created) 2026-01-30 09:00:37 +01:00
13d640e7a6 feat: Upgrade Editor to v2 (Sidebar, Layers, Ghost), Tiled Setup, Asset Integration 2026-01-30 05:15:16 +01:00
c70e651020 feat: Add Editor Mode (Palette, Eraser, Path Tiles), generate assets, enable WASD 2026-01-29 20:21:50 +01:00
177049e470 Stream asset reset v7, cleaning background and transparency fixes. 2026-01-29 16:37 2026-01-29 16:38:17 +01:00
afa0e3c662 feat: Integrated Stream asset and Kai animation system 2026-01-29 00:09:00 +01:00
94565adffc Asset Generation: Campfire, Tent, Sleeping Bag, UI Elements (Health, Inventory, Dialog). Cleaned GrassScene. 2026-01-28 07:45:24 +01:00
b686be33ab Fix: Water Trench Effect & Layering (Subtract Mask) - Implemented RenderTexture erasing for true depth, cleaned up Z-sorting, and optimized GrassScene_Clean. 2026-01-27 15:05:05 +01:00
82c992a94b feat: Complete Terrain Setup & Camping Mechanics - Devlog 2026-01-27 08:46 2026-01-27 08:46:54 +01:00
51b3b67423 Implement Nova Farma S1 Max: Layered terrain, water mechanics, Y-sorting, and asset cleanup 2026-01-27 01:02:24 +01:00