- Implement 90° field-of-view check for idle/patrolling guards (only alerts when player is within cone, in range, and has clear line of sight) - Change patrol behavior: 0-1 waypoints ping-pong, 2+ waypoints form a one-way loop (home → nodes → home → ...) - Reduce patrol speed to 50% of chase speed for natural movement - Update editor to display loop closing line when 2+ patrol nodes exist - Add new weapon sprite images (gattling, machinegun, plasma, rocket, shotgun) - Extend map parser to support patrol route definitions via `opts.patrols` - Add patrol routes to e1m1 (guard at 2.5,18.5) and e1m2 (guard at 9.5,8.5) - Add comprehensive tests for vision cone (inside/outside edge cases) and patrol loop/ping-pong behavior |
||
|---|---|---|
| .. | ||
| level-e1m1.json | ||
| level-e1m2.json | ||
| level-e2m1.json | ||