CaptureTheGun is a single-player 3D puzzle game inspired by the psychological tension and time-loop mechanics of Re:Zero and the anime aesthetic of MiSide. Players take on the role of a detective trapped in a room with a dangerous childhood friend, now a criminal. The game features CTF (Capture The Flag) style puzzles, deep lore, and a unique blend of suspense and strategy.
- Re:Zero: Time-loop mechanic—when the player dies, they return to a previous checkpoint, retaining knowledge but not progress.
- MiSide: Anime-inspired visuals and atmosphere, with a focus on psychological tension and character-driven narrative.
- 5 Seconds Before Death: Each time the MC (main character) dies, they relive the last 5 seconds before death, then return to a checkpoint.
- Sanity Parameter: Every death increases the MC's insanity. On every 5th death, there's a 75% chance the MC will commit suicide, resulting in a unique game over and narrative consequences.
- Memory Retention: The MC remembers clues and puzzle solutions from previous loops, allowing for meta-progression.
- Criminal Childhood Friend: The main antagonist is the MC's childhood friend, now a criminal, who closely observes the player's actions.
- Suspicion Meter: Using tools or taking too long to solve puzzles increases the criminal's suspicion. If suspicion gets too high, the criminal may attack or sabotage the MC.
- Stealth Puzzle Solving: Players must balance solving puzzles efficiently while avoiding actions that raise suspicion.
- Puzzle Variety: Includes cryptographic challenges, hidden clues, environmental puzzles, and more, inspired by CTF competitions.
- Tool Usage: Tools are hidden throughout the environment and must be used carefully to avoid detection.
- Third-person exploration: Navigate detailed, anime-inspired environments.
- Deep Lore: Uncover the backstory of the MC, the criminal, and the mysterious circumstances trapping them together.
- Multiple Endings: Outcomes depend on sanity, suspicion, and puzzle-solving efficiency.
- Meta-progression: Use knowledge from previous loops to solve puzzles faster and unlock new narrative paths.
- Solve interconnected CTF-style puzzles to locate the hidden gun.
- Manage the MC's sanity and avoid repeated deaths.
- Keep the criminal's suspicion low to survive.
- Use environmental tools and clues wisely.
- Discover the truth behind the time loop and the criminal's motives.
The game is set in a richly detailed indoor environment with interactive objects, hidden clues, and red herrings. Every object could be a clue, a tool, or a trap.
Assets/
├── Scenes/ - Game scenes including levels, main menu, etc.
├── Artworks/ - Visual assets, textures, and anime-inspired elements
├── TextMesh Pro/ - Text rendering and UI font system
├── Prefabs/ - Reusable game objects and components
├── Model/ - 3D models for characters, environments, and props
└── Utils/ - Utility scripts and helper functions
- Unity 2022.3 LTS or newer
- .NET 6+ SDK (for backend development, if needed)
- Docker Desktop (for backend/server)
- Git
git clone https://github.com/coolcmyk/CaptureTheGun.git
cd CaptureTheGun-
Open a terminal in
SpringBootdirectory. -
Run the setup script:
setup.bat
-
Open a terminal in
SpringBootdirectory. -
Run the setup script:
./setup.sh
This will:
- Build the Spring Boot JAR using Gradle
- Build the Docker image
- Start the backend and database containers
The backend will be available at http://localhost:8080.
- Open the project folder in Unity Hub.
- Open the main scene or any scene you want to test.
- Press Play to start the game in the editor.
- The Unity game will communicate with the backend at
http://localhost:8080. - Make sure Docker containers are running before pressing Play in Unity.
To stop the backend and database, run:
docker-compose downfrom the SpringBoot directory.
| Member | GitHub |
|---|---|
| coolcmyk |
[Screenshots will be added here when available]
CaptureTheGun combines time-loop suspense, CTF puzzle-solving, and anime-inspired psychological drama. Every death, every clue, and every suspicious glance brings you closer to the truth—or to your own unraveling.


