The Cabin - Escape Game

Seele01-Flash
By
The Cabin is a thrilling free escape puzzle game that combines supernatural horror with challenging brain teasers. Investigate paranormal activities, capture ghostly events on camera, and solve your way out of a haunted cabin.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**The Cabin: Supernatural Investigation**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: "Found Footage" Horror. The entire scene must be rendered in **Grayscale (Black & White)** or heavy Sepia using a Three.js post-processing EffectComposer (FilmPass/ShaderPass) to simulate film grain, noise, and vignette. * **Environment**: A dense, spooky forest surrounding a dilapidated wooden cabin. Use `THREE.FogExp2` (dense white/grey fog) to obscure visibility and optimize mobile rendering by hiding the far clip plane. * **Key Objects**: * **The Swing Set**: A rusty metal swing set (referencing the source image) that occasionally animates/sways on its own. * **The Ghosts**: Use "Billboard" planes (2D sprites that always face the camera) for the ghostly figures to maintain high performance and the "uncanny valley" look. They should appear semi-transparent. * **The Cabin**: A low-poly structure with a locked door, serving as the final goal. * **Lighting**: The scene is dark. The player has a "Flashlight" (SpotLight attached to the camera) that casts dynamic shadows. The light should flicker randomly to build tension. ### 2. Audio Requirements * **BGM**: An unsettling, non-melodic ambient drone consisting of low-frequency wind noise and distant metallic creaking. * **SFX**: * **Footsteps**: Crunching leaves/gravel, synced with camera movement. * **Camera Shutter**: A loud, mechanical shutter sound when the player takes a photo. * **Paranormal High-pitch**: A rising screeching sound (Shepard tone) that increases in volume as the player gets closer to a ghost. * **UI**: Soft static noise clicks for inventory interaction. ### 3. Gameplay Loop * **Objective**: Investigate the woods, capture evidence of ghosts, and find the key to enter the cabin. * **The Camera Mechanic**: The player has a "Camera Mode". Ghosts are invisible or barely visible to the naked eye. The player must raise their camera (UI toggle) to see them clearly. * **Combat/Collection**: When a ghost charges or appears, the player must center them in the viewfinder and press "SHOOT" (Take Photo). This "captures" the ghost (it vanishes) and adds to the "Evidence Score". * **Puzzle**: One specific ghost drops a "Rusty Key" upon being photographed. The player must walk over to collect it (collision detection) and use it to open the Cabin door to win the level. * **Fail State**: If a ghost touches the player before being photographed, the screen turns to static (Death). ### 4. Mobile Controls & Interaction * **Orientation**: Landscape Mode (Force locked if possible). * **Movement (Left Thumb)**: A dynamic virtual joystick on the left side of the screen for walking (Forward/Backward/Strafe). Movement speed should be slow and weighty. * **Look (Right Thumb)**: Swipe anywhere on the right side of the screen to rotate the camera (First-Person View). * **UI overlay**: * **Camera Button**: A large circular button (bottom right, distinct from look area) to snap a photo. * **Inventory**: A simplified slot at the top center showing acquired items (e.g., Key icon). * **Reticle**: A small center dot for aiming, changing to a camera viewfinder bracket when in "Camera Mode". * **Haptic Feedback**: Trigger a short vibration (`navigator.vibrate`) when the player takes a photo or collides with a wall/ghost. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About The Cabin

The Cabin is an immersive escape puzzle game that plunges you into a supernatural mystery. With a solid 4.1/5 rating from players, this free online game challenges you to investigate paranormal phenomena while solving intricate puzzles to escape a spooky cabin. Ignore the "Keep Out" signs - there's something mysterious happening inside that demands investigation.

Core Features

Supernatural Investigation Gameplay

Step into the shoes of a paranormal investigator in this atmospheric horror-puzzle experience. Your mission is to document supernatural events using your camera while gathering essential tools to continue your investigation. The game masterfully blends puzzle-solving with spine-tingling horror elements.

Point-and-Click Adventure

Navigate through the eerie cabin using intuitive mouse controls. Explore every corner, examine mysterious objects, and interact with the environment to uncover clues about the supernatural occurrences plaguing this abandoned location.

Inventory and Task Management

The game features a comprehensive inventory system accessible through the "I" button. Collect various tools and items throughout your investigation, manage your equipment effectively, and use collected items strategically to solve complex puzzles.

Atmospheric Horror Elements

Experience genuine scares as you document paranormal activities. The game creates tension through its dark atmosphere, mysterious sounds, and unexpected supernatural encounters that will keep you on edge throughout your escape attempt.

Game Mechanics

The Cabin operates on classic escape room principles enhanced with supernatural elements:

  • Evidence Collection : Use your camera to capture supernatural phenomena as they occur
  • Puzzle Solving : Solve interconnected puzzles that unlock new areas and reveal story elements
  • Environmental Exploration : Search through rooms, cabinets, and hidden areas for crucial items
  • Progressive Difficulty : Puzzles become more complex as you delve deeper into the mystery

Operation Guide

Playing The Cabin is straightforward yet engaging:

  • Mouse Movement : Navigate and explore the cabin environment by moving your cursor
  • Left Click : Interact with objects, examine items, and trigger actions
  • Inventory Access : Press the "I" button to open your inventory and view collected items
  • Task Management : Check your current objectives and progress through the inventory screen
  • Camera Operation : Use your camera equipment to document paranormal evidence when supernatural events occur

The game provides visual and audio cues to guide your investigation. Pay attention to environmental details, as even the smallest clues can be crucial for your escape.

Why Play The Cabin

This game offers a perfect blend of intellectual challenge and supernatural thrills. It's ideal for players who enjoy:

  • Mystery Enthusiasts : Uncover a compelling paranormal mystery through investigation and deduction
  • Puzzle Lovers : Challenge your problem-solving skills with cleverly designed escape room puzzles
  • Horror Fans : Experience atmospheric scares without excessive gore or jump scares
  • Casual Gamers : Enjoy a complete gaming experience that's free and requires no downloads

The game runs entirely in your web browser, making it accessible anytime you want a quick supernatural adventure. With its engaging storyline, challenging puzzles, and spooky atmosphere, The Cabin provides hours of entertainment for players seeking a thrilling escape game experience.

Frequently Asked Questions (FAQ)