Lifespan Candle

Seele01-Flash
By
Lifespan Candle is a unique platform-puzzle game where you control a burning candle racing against time. Navigate through challenging levels before your wax melts away completely.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Lifespan Candle". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Side-Scrolling Platformer with a "Retro Voxel/Pixel" aesthetic. The camera should be orthographic or have a narrow field of view, fixed to follow the player's horizontal movement. * **Player Character (The Candle)**: A white cylinder or rectangular prism (voxel style) representing a wax candle. * **The Wick & Flame**: A small black line on top with a dynamic particle system (orange/yellow squares) acting as the fire. * **Dynamic Lighting**: A `PointLight` (warm orange color, distance ~10 units) must be attached to the player, serving as the primary light source in a dark scene. * **Environment**: * **Background**: A dark, tiled brick texture (dark blue/grey) similar to a dungeon wall, distinct from the gameplay layer to create depth. * **Platforms**: Blocky, solid platforms (stone or wood textures). * **The Goal**: A distinct "Lantern" or "Sconce" object that glows green/gold, signifying the level end. * **Mobile Optimization**: Use `BoxGeometry` and `CylinderGeometry` for all assets to keep the poly count low. Use simple materials with minimal reflection to ensure high FPS on mobile browsers. ### 2. Audio Requirements * **BGM**: A looped, retro 8-bit chiptune track. The mood should be slightly mysterious but energetic (dungeon exploration vibe). * **Sound Effects (SFX)**: * **Jump**: A classic retro rising bloop sound. * **Burning/Melting**: A very quiet, continuous sizzling white noise (optional, implies urgency). * **Movement**: Quiet tapping sounds when the wax body hits the floor. * **Victory**: A bright, ascending jingle. * **Game Over**: A "fizzling out" sound. ### 3. Gameplay Loop * **The Core Mechanic (Melting)**: The player is not hurt by enemies, but by **Time**. * The candle's `scale.y` (height) decreases constantly over time. * **Game Over**: If `scale.y` reaches 0.1 (a puddle), the fire goes out, and the level resets. * **Advantages of Melting**: As the candle gets shorter, it can walk under low-hanging obstacles that a full-sized candle cannot pass. * **Disadvantages**: As the candle gets shorter, its jump height slightly decreases (physics adjustment). * **Objective**: Navigate the platforming course to reach the "Goal Lantern" before melting completely. * **Obstacles**: * **Static**: Walls, pits (falling off screen = death), and low-hanging spikes. * **Dynamic**: "Water Drops" dripping from the ceiling (collision reduces candle size instantly). ### 4. Mobile Controls & Interaction * **Screen Orientation**: Force **Landscape Mode** logic (UI scaling). * **Touch Controls**: * **Left Zone**: Two large, semi-transparent square buttons for **Left** and **Right** movement (simulated D-Pad). * **Right Zone**: One large circular button for **Jump**. * **Visual Feedback**: Buttons should change opacity or color when pressed. * **UI Layout**: * Ensure buttons are placed in the bottom corners with at least 20px padding from the edge for ergonomic thumb reach. * **Life Indicator**: No health bar is needed; the player's physical height *is* the health bar. * **Restart Button**: A prominent button in the top-right corner to restart the level manually if the player gets stuck. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Lifespan Candle is an innovative platform-puzzle game that combines time pressure with strategic thinking. You play as a burning candle with a flickering wick, racing through increasingly complex levels before your wax body melts away. This free HTML5 game offers a unique twist on traditional platformers by adding the constant threat of your character literally disappearing over time.

The game challenges players to balance speed with careful navigation, creating intense moments where every second counts. With physics-based gameplay and obstacle-filled levels, Lifespan Candle delivers a fresh gaming experience that keeps you on the edge of your seat.

Core Features

Time-Based Challenge System

The core mechanic revolves around your burning wick - take too long and your candle will melt to nothing. This creates natural urgency in every level, making each playthrough thrilling and intense.

Physics-Driven Gameplay

Realistic physics affect how your candle moves, jumps, and interacts with the environment. The melting mechanic isn't just visual - it actually changes your character's properties as you play.

Progressive Difficulty

Each level introduces new obstacles and puzzles that require both quick reflexes and strategic thinking. The difficulty curve ensures constant challenge without overwhelming new players.

Free Browser Gaming

  • No Download Required : Play instantly in any modern web browser
  • Cross-Platform Compatible : Works on desktop computers, laptops, and mobile devices
  • HTML5 Technology : Smooth performance without plugins or installations
  • Completely Free : Full game access with no hidden costs or premium content

Game Mechanics

Movement and Navigation

Control your candle using simple arrow key controls for left/right movement and jumping. Despite the simple controls, mastering the physics-based movement takes practice and skill.

Melting System

Your candle constantly burns and melts over time. This isn't just a timer - as you melt, your character actually gets shorter, potentially affecting your ability to reach certain platforms or areas.

Goal-Based Levels

Each level has a specific goal area you must reach while your wick is still lit. The challenge lies in finding the optimal path that balances speed with safety.

Gameplay Strategy

Time Management

Learn to assess each level quickly and plan your route. Sometimes the direct path isn't the fastest when obstacles are considered.

Obstacle Navigation

The game features various obstacles that can slow you down or extinguish your flame. Learning to efficiently navigate these challenges is key to success.

Risk vs. Reward

Some levels offer multiple paths - safer routes that take longer, or risky shortcuts that could save precious time. Choose wisely based on your remaining wick length.

Operation Guide

Basic Controls: - Left Arrow Key : Move candle left - Right Arrow Key : Move candle right
- Up Arrow Key : Jump over obstacles and onto platforms - Spacebar : Alternative jump control (in some versions)

Objective : Navigate your burning candle to the goal area in each level before your wick burns out completely. Plan your route carefully to avoid obstacles while maintaining speed.

Pro Tips: - Study each level layout before moving to plan the optimal route - Use momentum from jumps to cover more distance quickly - Watch for environmental hazards that could extinguish your flame early - Practice the physics-based controls to improve movement efficiency

Why Play Lifespan Candle

Unique Concept : Unlike traditional platformers, the melting mechanic creates genuine tension and urgency in every level. This innovative approach to time-limited gameplay offers something truly different in the puzzle-platform genre.

Perfect for Quick Sessions : Levels are designed to be completed in minutes, making this ideal for quick gaming breaks or casual play sessions.

Skill Development : The game improves hand-eye coordination, quick decision-making, and strategic planning skills through its unique blend of action and puzzle elements.

Stress Relief : Despite the time pressure, many players find the focused gameplay meditative and stress-relieving, as it requires complete attention to the present moment.

No Commitment Required : Being free and browser-based means you can try it immediately without any download commitments or account registrations.

Frequently Asked Questions (FAQ)