Cornfield - Horror Survival Puzzle Game

Seele01-Flash
By
Cornfield is an intense 3D horror survival game where you must escape a deadly corn maze while being hunted by a terrifying monster. Solve puzzles, navigate dark corridors, and use your wits to survive this heart-pounding adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Cornfield Escape". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** "PS1 Horror" aesthetic (Low-poly, pixelated textures). This style is chosen for both atmospheric dread and high mobile performance. * **The Cornfield:** Use **InstancedMesh** to generate thousands of corn stalks efficiently. The stalks should be tall (2x player height), with collision boxes to form a maze-like structure. * **The Monster:** A low-poly humanoid figure with pale skin, a gaping mouth, and emissive (glowing) orange eyes. The model should have a simple "chase" animation loop. * **Lighting & Atmosphere:** The scene must be very dark (night). The player has a **Flashlight** (SpotLight) attached to the camera. Implement heavy **Exp2 Fog** (black or dark murky green) to hide the draw distance and build tension. * **Mobile Optimization:** Limit texture sizes to 512x512. Use baked lighting for static geometry (ground). Ensure the poly count for the monster is under 2000 tris. ### 2. Audio Requirements * **BGM:** A low-frequency, drone-like ambient track that induces anxiety. No melodic music. * **Spatial SFX:** * **Corn Rustling:** A specific sound effect triggered when the player or monster moves through the corn stalks. * **Heartbeat:** A looping sound that increases in volume and tempo as the monster gets closer (proximity-based). * **Jumpscare:** A loud, discordant string screech played upon death. * **UI Sounds:** Subtle clicks for button presses. ### 3. Gameplay Loop * **Objective:** The player spawns in a random location in the corn maze and must find 3 specific items (e.g., Fuse, Key, Gear) to repair a generator/gate and escape. * **Stealth Mechanics:** * **Walking:** Normal noise level. * **Sprinting (Shift equivalent):** Moves faster but attracts the monster from a further distance. * **Crouching:** Moves slower but makes the player nearly invisible unless the monster is very close. * **Monster AI:** The monster patrols randomly. If the player enters its line of sight or makes loud noise (sprinting), the monster enters "Chase Mode" and runs toward the player. * **Win/Loss:** * **Win:** Successfully interact with the exit gate after collecting items. * **Loss:** The monster touches the player -> Trigger a camera shake effect + "Jumpscare" overlay -> Show "Game Over" UI. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Landscape Mode. * **Movement (Left Side):** A dynamic **Virtual Joystick** for movement (WASD logic). The joystick should re-center where the thumb first touches the left half of the screen. * **Camera (Right Side):** Touch and drag on the right half of the screen to look around. * **Action Buttons (Right Side UI):** * **Sprint Button:** A toggle button (icon: running man). * **Crouch Button:** A toggle button (icon: crouching figure). * **Interact Button:** A large, contextual button (icon: hand) that *only* appears/lights up when the player is within raycast distance of an interactable item (to reduce screen clutter). * **Visual Feedback:** When the monster is near, pulse the screen borders with a red vignette to compensate for the lack of audio precision on some mobile devices. * **Haptics:** Trigger `navigator.vibrate(200)` when the monster spots the player and upon death. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Cornfield is a pulse-pounding 3D horror survival game that combines puzzle-solving with intense escape gameplay. Set in a shadowy corn maze, you'll face the ultimate test of nerves as you attempt to outsmart a relentless corn monster that stalks your every move. This free browser-based horror experience delivers genuine scares and challenging puzzles that will keep you on the edge of your seat.

The game features atmospheric 3D graphics that create an immersive horror environment, complete with eerie lighting and spine-chilling sound design. Every corner turned could be your last as you navigate through the twisted pathways of the cornfield maze.

Core Features

Intense Survival Horror Experience

Cornfield delivers authentic horror thrills with its terrifying corn monster antagonist. The creature actively hunts you through the maze, creating constant tension and urgency. Jump scares and atmospheric horror elements combine to create a truly frightening experience.

Complex Puzzle Challenges

Survival isn't just about running – you must solve intricate puzzles to progress through the maze. Each puzzle requires careful thinking and quick execution, as the monster never stops pursuing you. The hint system (H key) provides assistance when you're truly stuck.

Strategic Gameplay Elements

  • Item Management : Pick up and drop items strategically using mouse controls or E/G keys
  • Stealth Mechanics : Use the crouch function (C key) to avoid detection
  • Fire Combat : Limited fire ability (F key) for desperate situations
  • Sprint System : Use Shift to run when escape is your only option

Immersive 3D Environment

The game features detailed 3D graphics that bring the cornfield maze to life. Dynamic lighting effects create shadows and hiding spots, while the realistic maze design makes every playthrough feel authentic and terrifying.

Gameplay Mechanics

Cornfield combines multiple gameplay elements to create a unique horror survival experience:

Maze Navigation : The corn maze is your prison and playground. Learn its layout, find shortcuts, and use the environment to your advantage while avoiding the monster's patrol routes.

Puzzle Solving : Strategic thinking is essential. Puzzles block your path to freedom, and each one must be solved while under pressure from the pursuing creature.

Resource Management : Items are scattered throughout the maze. Knowing when to pick up, carry, or drop items can mean the difference between escape and becoming the monster's next meal.

Controls and Operation Guide

The game features intuitive controls optimized for both keyboard and mouse:

  • Movement : WASD keys or arrow keys for navigation
  • Interaction : Left mouse button or E key to interact with objects and pick up items
  • Drop Items : Right mouse button or G key to drop carried items
  • Stealth : C key to crouch and move quietly
  • Hints : H key when you need puzzle assistance
  • Combat : F key for limited fire abilities
  • Sprint : Shift key to run faster when escaping
  • Pause : Tab key to pause the game

Master these controls quickly – your survival depends on fluid movement and quick reactions when the monster appears.

Why Play Cornfield

Perfect for Horror Fans : If you enjoy games like Amnesia, Outlast, or Five Nights at Freddy's, Cornfield offers similar thrills in a unique corn maze setting.

Free and Accessible : Play immediately in your browser without downloads, installations, or payments. The game runs smoothly on most modern devices.

Skill-Based Challenge : Success requires a combination of puzzle-solving skills, strategic thinking, and quick reflexes. Each playthrough tests different abilities.

Atmospheric Excellence : The game's sound design and visual effects create an authentically scary atmosphere that rivals premium horror games.

Replayability : The maze layout and monster behavior create different experiences each time you play, encouraging multiple attempts to master the perfect escape route.

Frequently Asked Questions (FAQ)