Commit Graph

2 Commits

Author SHA1 Message Date
John Lamb
1911da1e33 feat(gameplay): large zoomable map, neighborhood layout, tagging fix
Major changes:
- Map: 80x40 (was 38x18) - requires zoom/pan to navigate
- CameraController: pinch-to-zoom, drag-to-pan, scroll wheel zoom
- Neighborhood layout: streets grid with house rows, backyards, fences
- All gaps minimum 2.5 units wide for unit passage
- Streets visible on ground (gray paths)

Bug fixes:
- Tagging: only captured unit goes to jail, never the instigator
- Collision handled once (by lower instance ID)
- Respawn offset fixed for landscape mode

New constants:
- CameraMinZoom/MaxZoom/StartZoom
- MinGapSize, StreetWidth
- VisionRadius increased to 6 (larger map)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-01 21:45:28 -06:00
John Lamb
95b37a1606 feat(core): implement playable CTF prototype with 6 core scripts
Implements the minimal playable core for the teaser prototype:
- Game.cs: Bootstrap, scene setup, scoring, round reset, win condition
- Unit.cs: Movement, route following, tagging, respawn
- RouteDrawer.cs: Click-drag route input with LineRenderer preview
- Flag.cs: Pickup, drop, return mechanics
- Visibility.cs: Fog of war via SpriteRenderer visibility
- SimpleAI.cs: Enemy AI that chases player flag

All game objects created programmatically (no Editor setup required).
Uses RuntimeInitializeOnLoadMethod for automatic bootstrap.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-01 21:03:11 -06:00