Toxic - Platform Action Game

Seele01-Flash
By
Toxic is an adrenaline-pumping platform action game featuring pixel art graphics. Navigate through hazardous levels, strategically use bombs to clear paths, and overcome challenging enemies in this retro-style adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Toxic". 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 **Voxel Art / Low-Poly Pixel** aesthetic (inspired by Nitrome's signature style). Use an Orthographic Camera to maintain a retro, flat look while utilizing 3D depth. * **Color Palette:** High contrast industrial theme. Dominant colors: Warning Yellow (#FFD700), Hazard Black (#1A1A1A), Toxic Green (#39FF14) for acid/hazards, and Metallic Grey for structures. * **Key Assets:** * **Player:** A blocky, voxel-style character wearing a yellow Hazmat suit. * **Terrain:** Grid-based tile system. * *Solid Blocks:* Steel plates with rivet textures. * *Destructible Blocks:* Cracked concrete or wooden crates (must have a flashing shader effect when damage is imminent). * **Hazards:** Bubbling pools of green acid (using a simple shader for wave motion), rotating saw blades, and roaming "Slime" enemies. * **Background:** Dark, parallax-scrolling factory interior with silhouette pipes and vents. * **Mobile Optimization:** Use `InstancedMesh` for repeated terrain blocks to minimize draw calls. Limit dynamic lights; use baked lighting or ambient light + one directional light for shadows. ### 2. Audio Requirements * **BGM:** Upbeat, fast-paced 8-bit Chiptune / Industrial Synth track. It should feel quirky but urgent. * **Sound Effects (SFX):** * **Jump:** A classic retro "ascending whistle" or 8-bit spring sound. * **Bomb Fuse:** A rapid ticking noise. * **Explosion:** A crunchy, bass-heavy 8-bit noise. * **Destruction:** Crumbling stone sound when terrain is destroyed. * **UI:** High-pitched "blips" for button presses. ### 3. Gameplay Loop * **Objective:** Navigate the character from the start point (left) to the Biohazard Airlock Door (right) to complete the level. * **Core Mechanics:** * **Platforming:** Standard Run and Jump physics. * **Destruction:** The player can place timed bombs (limit 1 active at a time). Bombs explode after 2 seconds, destroying adjacent "Destructible Blocks" in a 3x3 grid radius to open new paths or kill enemies. * **Enemies:** Simple AI that patrols back and forth. Contact with enemies deals damage or knocks the player back. * **Win Condition:** Touching the Exit Door triggers a victory animation and transitions to the next level/screen. * **Lose Condition:** Falling into acid (instant death) or losing all HP from enemy contact triggers a "dissolve" shader effect on the player mesh and restarts the level. ### 4. Mobile Controls & Interaction * **Orientation:** **Landscape Mode**. * **Touch Controls:** * **Left Side:** A floating Virtual Joystick or D-Pad (visualized with translucent white circles) for horizontal movement. * **Right Side:** Two distinct circular Action Buttons (min size 60px): * **"A" Button (Bottom):** Jump. * **"B" Button (Top/Left of A):** Place Bomb. * **Visual Feedback:** * **Screen Shake:** The camera must shake slightly when a bomb explodes (vital for game feel). * **Button Press:** UI buttons should scale down slightly or change opacity when touched. * **Camera:** The camera should smoothly follow the player on the X and Y axis with a slight damping/lerp (e.g., factor 0.1) so movements don't feel jittery on touch screens. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Toxic is a thrilling platform action game that combines classic platforming mechanics with explosive puzzle-solving elements. Set in a dangerous world filled with toxic hazards and hostile enemies, players must use both skill and strategy to survive each increasingly challenging level.

The game features distinctive pixel art graphics with a radiation theme, as evidenced by the iconic toxic waste symbol that serves as the game's visual centerpiece. Every level presents unique challenges that require quick reflexes and tactical thinking.

Core Features

Explosive Gameplay Mechanics

The standout feature of Toxic is its destructible terrain system . Players can use bombs strategically to: - Clear blocked pathways - Create new routes through levels - Eliminate groups of enemies - Access hidden areas and secrets

Challenging Level Design

Each level in Toxic is meticulously crafted to provide: - Progressive difficulty : Levels become more complex as you advance - Multiple solutions : Different approaches to completing each stage - Hidden secrets : Discover bonus areas and collectibles - Varied environments : From toxic waste facilities to dangerous industrial zones

Retro Pixel Art Style

The game embraces a nostalgic pixel art aesthetic that: - Delivers crisp, clean visuals that run smoothly on any device - Creates an authentic retro gaming atmosphere - Uses vibrant colors to distinguish between interactive elements - Maintains excellent visual clarity even during intense action sequences

Gameplay Mechanics

Platform Action Elements

Toxic combines traditional platforming with action elements: - Precise jumping : Navigate through complex level layouts - Enemy avoidance : Dodge or eliminate various hostile creatures - Environmental hazards : Avoid toxic spills, dangerous machinery, and traps - Timing-based challenges : Master the rhythm of moving platforms and obstacles

Strategic Bomb Usage

The bomb system adds a unique tactical layer: - Limited bomb supply requires careful resource management - Different terrain types respond differently to explosions - Timing bomb placement is crucial for success - Bombs can be used defensively to eliminate threats or offensively to clear paths

Operation Guide

The game features intuitive controls that are explained through an in-game tutorial system. Players will learn: - Movement controls : Basic character navigation - Jumping mechanics : Single and double jump techniques - Bomb placement : Strategic explosive positioning - Interaction systems : How to activate switches and collect items

The control scheme is designed to be accessible for newcomers while offering the precision needed for advanced gameplay.

Why Play Toxic?

Perfect for Action-Puzzle Fans

Toxic appeals to players who enjoy: - Strategic thinking : Planning your route through each level - Quick reflexes : Responding to immediate threats and obstacles - Problem-solving : Finding creative solutions using available tools - Retro gaming : Experiencing classic platformer gameplay with modern polish

Accessible Yet Challenging

The game strikes an excellent balance by offering: - Easy-to-learn basic mechanics - Progressively challenging level design - Multiple difficulty spikes that reward skill improvement - Replay value through different completion approaches

Free Browser-Based Gaming

Enjoy Toxic without any barriers: - Completely free : No hidden costs or premium content - No downloads required : Play instantly in your web browser - Cross-platform compatibility : Works on desktop and mobile devices - Quick loading times : Jump into the action within seconds

Whether you're a fan of classic platform games or looking for a unique action-puzzle experience, Toxic delivers engaging gameplay that will keep you coming back for more explosive adventures.

Frequently Asked Questions (FAQ)