Added visual debugging to verify chunk rendering:
Flat2DTerrainSystem.js changes:
- Added red border around each rendered chunk
- Border: 2px red, semi-transparent (0.5 alpha)
- High depth (100) to ensure visibility
- Console log for each border created
Purpose:
- Verify chunks are actually being rendered
- See chunk boundaries visually
- Debug if chunks overlap or have gaps
- Confirm 3x3 chunk grid (9 chunks = 9 red boxes)
Expected visual:
- 9 red rectangles around player (3x3 grid)
- Each rectangle = 50x50 tiles = 2400x2400 pixels
- Player should be in center rectangle
Session 3: Visual testing in progress
Next: Reload and verify red borders appear