Haunted School - Horror Survival Game

Seele01-Flash
By
Haunted School is a terrifying survival horror game where you must explore a demon-infested school, collect exorcism tools, and survive encounters with a demonic child. Experience intense jump scares and atmospheric horror in this free browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Haunted School". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Emulate a "PS1 Retro Horror" aesthetic (Low-poly models, unfiltered textures). Use a post-processing "Noise" or "Film Grain" shader overlay to mimic the gritty look in the reference image. * **Lighting & Atmosphere**: The scene must be very dark (`0x000000` background). The player should have a `SpotLight` (Flashlight) attached to the camera that sways slightly with movement. Use `scene.fog` (Exp2, dark blue/grey) to obscure distant corridor ends and reduce rendering load. * **Environment Geometry**: A procedural or pre-defined maze of school corridors. Walls should feature blue lockers (as seen in the image), tiled floors, and classroom doors. * **Enemy Asset**: A low-poly "Demonic Girl" model. She should have a "glitch" effect or twitchy animation. * **Optimization**: Strictly limit polygon count for mobile performance. Use simple box geometries for walls/lockers with repeated textures to minimize draw calls. ### 2. Audio Requirements * **BGM**: A dark, droning ambient track (low synth pads) that increases in pitch or tempo as the enemy gets closer. * **Sound Effects (SFX)**: * **Footsteps**: Echoing footsteps on tile floors (varying intervals for walking vs. running). * **Combat**: A loud, punchy shotgun blast followed by a mechanical reloading sound. * **Enemy Presence**: Static white noise or a high-pitched violin screech when the enemy enters the line of sight (Jump Scare cue). * **Interaction**: Paper rustling sound when reading "Priest's Notes". ### 3. Gameplay Loop * **Objective**: The player must explore the school to collect **3 Exorcism Tools** (Crucifix, Holy Water, Bible) randomly placed on the map to win. * **Survival Mechanic**: The "Demonic Girl" stalks the player using a NavMesh. * If she touches the player -> Game Over (Jump scare screen). * **Combat**: The player has a Shotgun with limited ammo. Shooting the girl does **not** kill her; it only pushes her back or makes her vanish/teleport to a random location for 30 seconds. * **Resource Management**: Ammo boxes are scarce. Players must choose between shooting (to escape) or running (to save ammo). * **Clues**: Scattered "Priest Notes" provide hints or narrative flavor when clicked. ### 4. Mobile Controls & Interaction * **Screen Orientation**: Landscape Mode (Force fullscreen). * **Movement (Left Screen)**: A dynamic Virtual Joystick for movement (WASD equivalent). Moving the thumb further from the center triggers "Sprint". * **Camera (Right Screen)**: Touch and drag area for looking around (Camera rotation). * **Action Buttons (UI)**: * **Shoot Button**: A large, distinct button on the right side. * **Reload**: A smaller icon near the ammo counter. * **Contextual Interaction**: When a Raycaster detects an item (Note/Tool/Ammo) within 3 meters, a "Hand" icon should appear in the center of the screen to tap. * **Feedback**: * **Damage**: Screen flashes red vignetting when the enemy is close. * **Haptic**: Trigger `navigator.vibrate(200)` when shooting or taking damage. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Haunted School is a spine-chilling survival horror experience that plunges you into the dark corridors of a demon-possessed school. As you navigate through abandoned classrooms and eerie hallways, your mission is to find the priest's tools needed to exorcise a malevolent demonic child before she claims your soul. This atmospheric horror game combines puzzle-solving, resource management, and heart-pounding survival elements to create an unforgettable nightmare.

The game draws inspiration from legendary horror titles like Silent Hill and Amnesia: The Dark Descent, delivering an authentic survival horror experience directly in your browser. With its progressively intensifying scares and masterful use of tension, Haunted School will keep you on the edge of your seat from start to finish.

Core Features

Immersive Horror Atmosphere

Experience genuine terror as you explore the haunted corridors of an abandoned school. The game's atmospheric design creates a sense of dread that builds with every step, utilizing environmental storytelling to immerse you in its nightmarish world.

Strategic Survival Gameplay

Survival isn't just about running - it's about making smart decisions. You'll find a shotgun early in the game that can temporarily ward off the demonic girl, but ammunition is limited. When bullets run out, your only option is to run, hide, and pray you don't become her next victim.

Puzzle and Mystery Elements

The priest has left cryptic notes and clues scattered throughout the school. These serve as both guidance and backstory, helping you understand what happened while directing you toward the tools needed for the final exorcism ritual.

Masterful Jump Scares

Prepare for carefully crafted jump scares that will make your heart race. Unlike cheap horror games that rely solely on loud noises, Haunted School builds tension methodically before delivering its terrifying surprises.

Progressive Horror Intensity

The game becomes increasingly frightening as you progress deeper into the school's mysteries. What starts as unsettling exploration evolves into a desperate fight for survival against supernatural forces.

Gameplay Mechanics

Exploration and Collection

Search every classroom, storage room, and hidden corner for essential items. You'll need to collect priest tools, ammunition, keys, and other supplies while avoiding the demonic presence that stalks the halls.

Combat and Evasion

When confronted by the demonic child, you have limited options: - Use your shotgun to temporarily banish her (limited ammo) - Run and hide in safe locations - Use environmental obstacles to create distance - Crouch to move silently and avoid detection

Puzzle Solving

Decrypt the priest's notes, unlock doors, and piece together the tragic events that led to the school's haunting. Each solved puzzle brings you closer to performing the final exorcism.

Controls and Operation

The game features intuitive controls optimized for horror gameplay: - Movement : WASD keys or arrow keys for navigation - Interaction : E key to pick up items and interact with objects - Combat : Left mouse button to shoot, R to reload - Stealth : C key to crouch and move quietly - Sprint : Left-click to run (use sparingly to conserve stamina) - Inventory : Numbers 1 and 2 to switch between item slots - Drop Items : G key when inventory is full - Pause : ESC key to access menu

Why Play Haunted School

Authentic Horror Experience

This isn't just another jump scare game - it's a carefully crafted horror experience that respects the genre's traditions while delivering genuine scares. The atmospheric tension and psychological horror elements create lasting impressions beyond simple shock value.

Free and Accessible

Enjoy the full horror experience completely free through your web browser. No downloads, no installation, no payment required - just pure terror at your fingertips.

Perfect for Horror Enthusiasts

Whether you're a seasoned horror game veteran or new to the genre, Haunted School offers the perfect balance of scares and gameplay. It's challenging enough for experienced players while remaining accessible to newcomers.

Replayability

Multiple routes through the school and different strategies for surviving encounters with the demonic child ensure that each playthrough offers new discoveries and scares.

Cross-Platform Compatibility

Play on any device with a modern web browser - desktop, laptop, or mobile. The game runs smoothly across all platforms, ensuring everyone can experience the horror.

Dare to enter the Haunted School and discover if you have what it takes to banish the demonic presence once and for all. But remember - in this school, graduation isn't guaranteed, and not all students make it out alive.

Frequently Asked Questions (FAQ)