5 Commits

Author SHA1 Message Date
John Lamb
0c43bd1c19 teaser 2026-02-04 20:27:47 -06:00
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
c4b3507272 fix(map): landscape orientation with left/right bases
- Map now 38x18 (19:9 landscape aspect ratio)
- Player base on left, enemy base on right
- Houses repositioned for horizontal play lanes
- Unit spawn offsets adjusted for horizontal layout

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-01 21:37:05 -06:00
John Lamb
3fc62cde24 fix(config): 3 units, smartphone aspect ratio, denser map, 5s respawn
Changes based on playtesting feedback:
- UnitsPerTeam: 5 -> 3 (more manageable for demo)
- RespawnDelay: 3s -> 5s (tagged units out longer)
- Map aspect ratio: 40x30 -> 18x38 (9:19 smartphone portrait)
- Houses: 6 -> 19 (dense layout forcing route choices)
- Bases: moved to top/bottom center for vertical play

All gameplay numbers now organized as public constants for easy tuning.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-01 21:24:22 -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

Diff Content Not Available