Don't Fall In Lava - Physics Puzzle Game

Seele01-Flash
By
Don't Fall In Lava is an exciting physics-based puzzle game where you draw zip lines to help a stick figure navigate deadly obstacles and avoid falling into molten lava below.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Don't Fall In Lava". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: "Notebook Doodle Comes to Life" (2.5D aesthetic). Use an **Orthographic Camera** to simulate a 2D side-scroller view while using 3D models. * **Background**: A large, infinite plane with a repeating "Graph Paper" grid texture. * **The Floor (Lava)**: A dynamic shader material at the bottom of the screen. It should be glowing orange/red with a slow, bubbling vertex displacement animation to simulate hot lava. * **Character**: A 3D "Stickman" composed of simple cylinders and spheres (Blue shirt, black limbs) holding a distinct "Pulley/Wheel" apparatus above his head. * **The Line**: The user-drawn line should be generated as a 3D `TubeGeometry` with a black "Ink" texture (rough edges like a pencil stroke). * **Obstacles**: * **Spinning Saws**: Silver metallic disks with serrated edges, rotating on the Z-axis. * **Spikes**: Simple cone geometries placed on walls or floating platforms. * **Optimization**: Use simple geometries (Box, Cylinder, Sphere) for all models to keep the draw call count low. Use basic Lambert or Toon materials for performance on mobile devices. ### 2. Audio Requirements * **BGM**: A lighthearted, quirky acoustic track (whistling or ukulele) that loops. It should feel like a casual puzzle game. * **Sound Effects (SFX)**: * **Drawing**: A "pencil scratching on paper" sound that loops while the user is touching and dragging. * **Ziplining**: A metallic "rolling/whirring" sound (pitch increases with speed) as the pulley moves along the line. * **Lava Death**: A distinct "sizzle" and a comical "oops/scream" sound. * **Win**: A "ding" or "stamp" sound effect (like a teacher grading a paper). ### 3. Gameplay Loop * **State 1: Draw Phase (Paused Physics)**: * The character starts on a raised platform on the left. The goal is a platform on the right. * Gravity is suspended. * The player draws a continuous line connecting the start area to the end area. The line must be solid (cannot pass through obstacles). * **State 2: Action Phase (Active Physics)**: * Player presses a "GO" button. * The drawn line creates a static physics body. * Gravity activates. The character (a dynamic physics body) drops slightly to hook onto the line via the pulley. * The character slides down the line based on momentum and slope. * **Win Condition**: Character touches the "Goal" zone safely. * **Lose Condition**: Character touches Lava, touches an Obstacle (Saw/Spike), or falls off the line. ### 4. Mobile Controls & Interaction * **Drawing Mechanism**: * **Touch & Drag**: Raycast from the screen touch coordinates to the world plane (Z=0). Collect points to generate the line geometry dynamically. * **Limit**: Limit the amount of "ink" (total line length) available per level to prevent spamming. * **UI Layout**: * **Top Center**: Level Progress / Ink Meter. * **Bottom Right**: A large, green, circular "GO/PLAY" button (minimum 60x60px for touch accessibility). * **Bottom Left**: A "Retry/Clear" button (trash can icon). * **Orientation**: Landscape mode locked. * **Feedback**: * **Haptic**: Trigger a short vibration if the player dies. * **Visual**: When the character dies, spawn a simple particle explosion (red squares) instead of a ragdoll for performance. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Don't Fall In Lava is a thrilling physics-based puzzle game that challenges your creativity and reflexes. With a 4.1/5 star rating from players, this free online game puts you in control of a stick figure's survival as they traverse dangerous landscapes filled with deadly lava pits, spinning saws, spike traps, and falling rocks.

The core concept is deceptively simple yet incredibly engaging: draw zip lines for your stick character to ride across treacherous terrain. However, as you progress through the levels, the challenges become increasingly complex, requiring strategic thinking and precise timing to keep your character alive.

Core Features

Completely Free to Play

Enjoy unlimited gameplay without any cost. No downloads, no subscriptions, no hidden fees – just pure entertainment accessible through your web browser.

Cross-Platform Compatibility

Seamlessly play on both mobile devices and desktop computers. Whether you're using a smartphone, tablet, or PC, the game adapts perfectly to your screen size and input method.

Physics-Based Gameplay

Experience realistic physics mechanics that make every zip line you draw feel authentic. The stick figure responds naturally to gravity, momentum, and environmental forces.

Progressive Difficulty System

Start with easier levels to master the basics, then face increasingly challenging obstacles that test your problem-solving skills and reflexes.

Diverse Obstacle Types

Navigate through multiple hazard types including: - Lava pits that spell instant doom - Spinning saw blades that require perfect timing - Spike traps positioned strategically to catch the unwary - Falling rocks that add dynamic danger - Moving platforms that change the landscape

Game Mechanics

The gameplay revolves around drawing zip lines that serve as pathways for your stick figure. Each line you create becomes a physical rope that follows realistic physics rules. Your character will slide down slopes, gain momentum on longer lines, and swing naturally based on the angle and length of your drawn path.

Success requires understanding momentum, trajectory, and timing. Sometimes a direct path isn't the safest – you might need to create longer, curved routes to avoid obstacles or use the environment's physics to your advantage.

Operation Guide

Desktop Controls

  • Mouse : Click and drag to draw zip lines
  • Left Click : Select starting point for your line
  • Drag : Extend the line to your desired endpoint
  • Release : Confirm the zip line placement

Mobile Controls

  • Touch : Tap and drag with your finger to create zip lines
  • Tap : Select where you want the line to begin
  • Drag : Pull to extend the line across the screen
  • Lift : Complete the zip line creation

Strategic Tips

  • Plan your route before drawing – you often get limited lines per level
  • Consider momentum – longer lines create faster movement
  • Watch for moving obstacles and time your character's passage
  • Use multiple shorter lines instead of one long line when navigating complex areas
  • Experiment with different angles to find the optimal path

Why Play Don't Fall In Lava

This game perfectly balances simplicity with depth. The intuitive drawing mechanic makes it accessible to players of all ages and skill levels, while the physics-based challenges provide genuine satisfaction when solved. Each level presents a unique puzzle that requires both creative thinking and precise execution.

The game's instant-play nature makes it perfect for quick gaming sessions during breaks, commutes, or whenever you need a mental challenge. With no download required and cross-platform support, you can pick up where you left off on any device.

Whether you're a puzzle game veteran or new to physics-based challenges, Don't Fall In Lava offers an engaging experience that will keep you coming back to master increasingly difficult levels.

Frequently Asked Questions (FAQ)