feat: Integrated Stream asset and Kai animation system
This commit is contained in:
35
DEVLOG.md
35
DEVLOG.md
@@ -96,3 +96,38 @@ The "Probna Farma" scene is now a fully interactive, atmospheric prototype ready
|
||||
## Next Steps
|
||||
- Finalize Health Bar design (Face icons vs Liquid).
|
||||
- Implement Camp and UI into the new Defold `main.collection`.
|
||||
|
||||
# DEVLOG - 2026-01-28 (Evening Session)
|
||||
|
||||
**Time**: 23:45:00
|
||||
**Session Goal**: Stream asset integration, Player animation, and Environmental Polish.
|
||||
|
||||
## Achievements
|
||||
|
||||
### 1. Animated Character (Kai)
|
||||
- Replaced the static character sprite with a full **256x256 Sprite Sheet**.
|
||||
- Implemented **4-Directional Movement Animation** (Walk Up, Down, Left, Right).
|
||||
- Adjusted physics bounding box and offsets to match the new 160px height scale.
|
||||
|
||||
### 2. Stream Integration (The "Dirty Canal")
|
||||
- **Asset Processing**:
|
||||
- Processed `stream_pipe.png` from source reference.
|
||||
- **Advanced Cleaning**: Used GrabCut and custom masking (`clean_pipe_stream_gentle.py`) to remove the background while preserving internal details (muddy banks).
|
||||
- **"Burying" Technique**: Algorithmically removed the outer isometric walls so the stream sits flat on the terrain surface, eliminating the "floating wall" effect.
|
||||
- **Drain Hole Fix**: Ensured the pipe's drain grate is opaque and dark, preventing grass from showing through.
|
||||
- **Scene Implementation**:
|
||||
- Placed the stream as a static physics object.
|
||||
- Added **Collision Detection** between Kai and the Stream (player stops at water's edge).
|
||||
- Experimented with modular slicing (Head/Body) but reverted to a single robust asset to insure stability for the demo.
|
||||
|
||||
### 3. Scene Organization
|
||||
- **Camp Restoration**: Restored the Tent, Campfire, and Sleeping bag placement with proper Z-sorting/Depth.
|
||||
- **Bug Fixes**: Resolved a critical crash caused by adding collision before the player object was instantiated.
|
||||
|
||||
## Current State
|
||||
- Kai walks with animation.
|
||||
- A "dirty pipe stream" flows out of a grate, properly integrated into the ground (no visible outer walls).
|
||||
- Player interacts with the environment (collides with water).
|
||||
|
||||
---
|
||||
*Signed: Antigravity Agent*
|
||||
|
||||
Reference in New Issue
Block a user