Level Devil - Devilish Platform Game

Seele01-Flash
By
Level Devil is a wickedly challenging platform game where nothing is as it seems. Navigate through levels filled with dynamic traps, moving spikes, and unexpected obstacles that will test your reflexes and patience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Level Devil**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Ultra-minimalist "Flat Design" aesthetic simulated in 3D using an **Orthographic Camera**. The game should look like a 2D vector illustration but built with 3D primitives (Cubes/Planes) to allow for smooth animations. * **Color Palette**: * **Background**: High-saturation cautionary Yellow (e.g., #FFD700). * **Player**: A pure Black silhouette character (simple cube or low-poly humanoid shape) with a slight "squash and stretch" animation effect when jumping. * **Ground/Hazards**: Dark Red or Rust/Brown geometry. * **Goal**: A simple arched doorway or portal, visually distinct. * **Performance (Mobile)**: * Use `BoxGeometry` for almost all assets to keep the vertex count extremely low. * Avoid complex lighting/shadows; use `MeshBasicMaterial` or unlit shaders for a crisp, flat look. * Implement object pooling for particle effects (e.g., death debris). ### 2. Audio Requirements * **BGM**: A mischievous, repetitive, and "sneaky" soundtrack. Think pizzicato strings or a quirky 8-bit loop that sounds slightly off-key to induce a sense of tension and comedy. * **Sound Effects (SFX)**: * **Jump**: A quick, light "woosh" or rising tone. * **Death**: A loud, comical "splat," "crunch," or retro explosion sound. * **Trap Activation**: A sharp mechanical "click" or sliding sound when the environment unexpectedly changes. * **Win**: A satisfying, high-pitched chime or fanfare. ### 3. Gameplay Loop * **Core Mechanics**: A precision platformer where the player moves from a designated Start Point to a Goal Door. * **The "Troll" Mechanic (Crucial)**: The level is not what it seems. Use invisible `Box3` triggers placed throughout the path. When the player enters a trigger: * **Disappearing Floors**: Static ground blocks suddenly vanish or fall. * **Moving Spikes**: Spikes that were stationary suddenly slide toward the player. * **Falling Ceilings**: Blocks fall from the sky to crush the player. * **Fake Goals**: The door moves away when the player gets close. * **Win Condition**: Successfully touching the Goal Door collision box. * **Fail Condition**: Touching any red object (spikes) or falling off the map results in instant death. * **Restart Loop**: Upon death, the character explodes into small black cubes (particles), and the level resets **instantly** (within 0.5s) to maintain the "just one more try" addiction. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** (Force landscape if possible, or provide a "Please Rotate Device" overlay). * **Touch Controls**: * **Left Thumb**: Two large, invisible touch zones on the left side of the screen for **Move Left** and **Move Right**. Visual indicators (arrows) should be semi-transparent overlay. * **Right Thumb**: A large tap zone on the entire right half of the screen for **Jump**. * **Responsiveness**: * Implement "Coyote Time" (allow jumping shortly after walking off a ledge) to make touch controls feel fair. * Variable jump height: Holding the jump button longer results in a higher jump. * **Feedback**: * **Haptics**: Trigger `navigator.vibrate(200)` heavily upon death to emphasize the mistake. * **Camera Shake**: A violent screen shake effect (translating the camera on X/Y axes randomly) when the player dies. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Level Devil

Level Devil is a devilishly clever platform game that turns the traditional platforming formula on its head. While the objective seems simple - reach the door at the end of each level - the execution is anything but straightforward. This free online game challenges players with constantly changing obstacles, making every playthrough a unique test of skill and patience.

The game features a distinctive pixel art style with bold colors and clean geometry, creating a visually striking experience that's both retro and modern. What sets Level Devil apart from other platformers is its dynamic level design where traps and obstacles can change without warning, keeping players constantly on their toes.

Core Features

Dynamic Trap System

The most distinctive feature of Level Devil is its unpredictable trap mechanics. Holes can suddenly appear beneath your feet, spikes may unexpectedly shift positions, and ceilings might collapse just as you're passing underneath. This dynamic system ensures that memorizing level patterns won't guarantee success.

Progressive Difficulty

Each level introduces new challenges and trap combinations. As you progress through the devilish stages, the complexity increases, demanding better reflexes and strategic thinking. The game rewards persistence and careful observation of environmental cues.

Instant Restart Mechanism

When you fall victim to a trap (and you will), the game features quick restart functionality. This keeps frustration to a minimum and encourages the "one more try" mentality that makes challenging platformers so addictive.

Cross-Platform Compatibility

Level Devil runs perfectly on both desktop computers and mobile devices. The responsive controls work seamlessly whether you're using keyboard controls or touch inputs, making it accessible anywhere.

Gameplay Mechanics

The core gameplay revolves around precision platforming with an emphasis on adaptability. Players must navigate through increasingly complex levels while dealing with:

  • Moving Platforms : Surfaces that shift position when you least expect it
  • Disappearing Floors : Solid ground that can vanish mid-jump
  • Dynamic Spikes : Deadly obstacles that emerge from walls and floors
  • Falling Hazards : Ceilings and debris that drop without warning
  • Hidden Traps : Concealed dangers that activate based on your movement

Operation Guide

Level Devil features intuitive controls that are easy to learn but challenging to master:

  • WASD Keys or Arrow Keys : Move your character left, right, and navigate menus
  • Spacebar : Jump over obstacles and gaps
  • Quick Restart : Automatically triggered when you hit a trap, allowing instant retry

The key to success lies in observing patterns, reacting quickly to changing environments, and maintaining patience when traps catch you off guard. Each failed attempt teaches you something new about the level's hidden dangers.

Why Play Level Devil

Unique Challenge : Unlike traditional platformers where you can memorize safe paths, Level Devil keeps you guessing with its dynamic trap system.

Perfect for Quick Sessions : Each level can be completed in minutes, making it ideal for short gaming breaks or extended play sessions.

Completely Free : Enjoy the full game experience without any payment required. No hidden costs, no premium content - just pure challenging fun.

Stress Relief Through Challenge : While it might seem counterintuitive, the focused attention required can be surprisingly relaxing and meditative.

Cross-Device Gaming : Start playing on your computer during lunch break and continue on your phone during commute - your progress syncs across devices.

Level Devil is perfect for players who enjoy games that test their reflexes and patience. If you're a fan of challenging platformers like Super Meat Boy or Getting Over It, you'll find Level Devil's unique twist on the formula both frustrating and irresistibly engaging.

Frequently Asked Questions (FAQ)