Where the Cookies At?

Brackeys Game Jam 2025.2

Image
  • Platform: PC
  • Engine: Unity 6.2
  • Team Size: 5
  • Duration: 7 Days
  • Game Jam Page

Brief

Where the Cookies At? is a stealth game made for Brackeys Game Jam 2025.2. The player must sneak to eat cookies without being caught by the mother NPC, who patrols the level and reacts to the player’s movements. My primary contribution was designing and implementing the NPC behavior, as well as adding UI interaction feedback for the cookies.

Project Goals

Build a playable stealth prototype for the Brackeys Game Jam 2025.2 that focused on NPC behavior, cookie interaction, and player feedback. The goal was to create a short but complete loop where the player sneaks and tries to eat all the cookies while avoiding the mother NPC, supported by clear UI, patrol logic, and detection states.


Primary responsibilities
  • NPC State Machine (patrol, detection, catch, cooldown)
  • Field of View & Player Detection
  • Visual Feedback (icons, exclamation/question marks)
  • Cookie Interaction UI & Counter
Other hats
  • Gameplay Scripting & Integration
  • Bug Fixing & Polish

Post Mortem

The jam showed the importance of scope control. Even simple interactions like grabbing a cookie required UI, counters, HUD elements, and sound effects, which added more work than expected. While ambitious, the project reinforced how a smaller scope with more mechanics can sometimes deliver stronger results. Still, the team delivered a fun, cohesive prototype under time pressure.

My Contributions

1. NPC Patrol Movement

Image

Built the NPC’s patrol system using the NavMesh, with flexible patrol patterns. The mother could either ping-pong (1 → 2 → 3 → 2 → 1) or loop (1 → 2 → 3 → 1 → 2 → 3) along waypoints.

2. Field of View Detection

Image

Implemented a field of view system that detects the player within a radius and angle (e.g., 5m at 90°). After 0.5s of visibility, the player is considered caught, leading to game over.

3. Player Detection Feedback

Image

Added visual cues when the mother detects the player: an exclamation mark animates above her head, she rotates to face the player, and her movement halts while she is in the detection state.

4. Cookie Interaction UI

Image

Improved cookie interaction feedback by displaying an E-button prompt when near cookies, plus a cookie counter that decreases from 13 to 0 with smooth fade-in/out transitions.

Gameplay

Image

Play our Game!