Mystery Mansion: Puzzle Escape

Seele01-Flash
By
Mystery Mansion: Puzzle Escape is an immersive 3D escape adventure that challenges you to solve intricate puzzles and uncover the secrets of a mysterious mansion. Explore detailed rooms, collect clues, and use your detective skills to escape.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Mystery Mansion: Puzzle Escape". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a "Modern Rustic" interior aesthetic. Use textures resembling red brick for walls and dark wood for the staircase and floor accents. The overall color palette should be warm (browns, oranges, creams) with high contrast. * **Scene Layout:** Replicate a loft-style living room. Essential elements include a high ceiling, a staircase leading to a mezzanine (currently inaccessible/blocked), a modern sofa, a flat-screen TV, and large windows. * **Lighting:** Implement strong, directional sunlight coming through the windows to create dramatic, sharp shadows on the floor (crucial for the "mystery" atmosphere). Use ambient lighting to ensure corners aren't pitch black. * **Mobile Optimization:** Use low-poly models for furniture. Bake shadows into textures where possible to reduce real-time rendering costs. Limit dynamic light sources. Use texture atlases to reduce draw calls. ### 2. Audio Requirements * **Background Music (BGM):** A loopable, low-tempo "Noir/Mystery" track featuring a solo piano or cello. It should be suspenseful but not aggressive. * **Sound Effects (SFX):** * **Footsteps:** Distinct sounds for walking on tile vs. walking on the wooden staircase. * **Interaction:** A satisfying "click" or "thud" when interacting with objects. * **UI:** A soft "woosh" for opening the inventory and a "ding" when a puzzle is solved. * **Environment:** Subtle ambient noise (wind howling slightly outside) to suggest isolation. ### 3. Gameplay Loop * **Objective:** The player is locked in the living room and must find the specific key to unlock the main door to escape (or progress to the next room). * **Mechanics:** * **Exploration:** Player moves around the room in first-person view. * **Investigation:** When the crosshair hovers over an interactive object (e.g., a drawer, a book, a loose brick), the crosshair changes color. * **Puzzle Sequence:** 1. Find a **Flashlight** (hidden behind the sofa) to see into dark corners. 2. Use the flashlight to read a code written inside the fireplace. 3. Input the code into the TV remote/safe to reveal the **Silver Key**. 4. Use the key on the main door to trigger the "Level Complete" state. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Forced **Landscape** mode. * **Movement (Virtual Joysticks):** * **Left Half of Screen:** Invisible virtual joystick for movement (WASD logic: Forward, Backward, Strafe Left/Right). * **Right Half of Screen:** Touch and drag area for camera rotation (Look). * **Interaction Button:** Instead of simple clicking, place a context-sensitive **"Interact" button** (large icon, at least 64x64px) on the right side of the screen. This button only becomes active/opaque when the player is looking at an interactive object (Raycast detection). * **UI Layout:** * **Inventory Bar:** A semi-transparent dock at the bottom center of the screen (slots for Flashlight, Key, Diary). * **Flashlight Toggle:** A dedicated button to toggle the flashlight on/off. * **Crouch:** A toggle button in the bottom right corner (to look under furniture). * **Feedback:** Implement `navigator.vibrate(20)` for haptic feedback when the player successfully collects an item or unlocks a lock. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Mystery Mansion: Puzzle Escape is a captivating 3D escape game that combines mystery-solving with challenging puzzle mechanics. Set in an atmospheric mansion filled with secrets, this game offers an immersive first-person experience where every room holds clues to your escape. The game features stunning 3D graphics that bring the mysterious mansion to life, creating an engaging environment for puzzle enthusiasts and adventure game lovers.

Core Features

Immersive 3D Environment

Explore a beautifully crafted mansion with detailed rooms, realistic lighting, and atmospheric sound design. Each area of the mansion has been carefully designed to provide visual clues and enhance the mystery-solving experience.

Challenging Puzzle System

The game features a variety of logic-based puzzles that require critical thinking and attention to detail. From hidden object searches to complex mechanical puzzles, each challenge is designed to test different aspects of your problem-solving abilities.

Interactive Inventory System

Collect and examine items using an intuitive inventory system. Rotate objects to discover hidden details, combine items to create tools, and use your findings to progress through the mansion's mysteries.

Story-Driven Adventure

Uncover the mansion's dark secrets through environmental storytelling and discoverable diary entries. The narrative unfolds as you explore, rewarding thorough investigation with deeper plot revelations.

Complete Browser Compatibility

Play directly in your web browser without any downloads or installations. The game is optimized for smooth performance across different devices and browsers.

Gameplay Mechanics

Exploration and Investigation

Move freely through the mansion using standard FPS controls. Search every corner, examine furniture, and investigate suspicious areas to find hidden clues and puzzle pieces.

Clue Collection and Analysis

Gather evidence scattered throughout the mansion. Use your diary to track important information and piece together the mystery. Every clue brings you closer to understanding the mansion's secrets.

Puzzle Solving

Encounter various types of puzzles including mechanical locks, hidden compartments, and logic challenges. Each puzzle is integrated into the mansion's environment, making solutions feel natural and rewarding.

Controls Guide

Movement Controls

  • WASD Keys : Move forward, backward, and strafe left/right
  • Mouse Movement : Look around and change camera view
  • Space Bar : Jump over obstacles or reach higher areas
  • C Key : Crouch to access low areas or hide

Interaction System

  • Left Mouse Click : Interact with objects, open doors, and examine items
  • Right Mouse Click : Cancel current interaction or close menus
  • I Key : Open and close inventory to manage collected items
  • J Key : Access diary to review clues and story information
  • T Key : Toggle flashlight for dark areas

Note: All controls can be customized in the game's options menu to suit your preferences.

Why Play Mystery Mansion: Puzzle Escape

Perfect for Mystery Lovers

If you enjoy detective stories, escape rooms, or puzzle-adventure games, Mystery Mansion offers the perfect blend of mystery and challenge. The atmospheric setting and engaging storyline create an immersive experience that keeps you invested from start to finish.

Brain Training Benefits

The game's diverse puzzle types help improve logical thinking, pattern recognition, and problem-solving skills. Each challenge requires different cognitive approaches, making it an excellent mental exercise.

Accessible Gaming Experience

With its browser-based platform and intuitive controls, the game is accessible to players of all experience levels. No complex installations or high-end hardware requirements make it perfect for casual gaming sessions.

Replayability Factor

Multiple solution paths and hidden secrets encourage replay. Discover details you might have missed on your first playthrough and try different approaches to puzzle-solving.

Frequently Asked Questions (FAQ)