Slime Laboratory 2

Seele01-Flash
By
Slime Laboratory 2 is an exciting physics-based platform adventure where you control a sticky slime character through a mysterious laboratory filled with traps and obstacles. Navigate dangerous hazards, collect valuable disks, and customize your slime in this sequel that introduces new biomes and enhanced gameplay mechanics.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Slime Laboratory 2: Mobile Edition". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A **2.5D Side-Scroller** perspective using an **Orthographic Camera**. The aesthetic should be "Polished Retro-Futuristic," blending the vibrant cartoon style of the original flash game with modern lighting. * **The Slime (Player):** A low-poly sphere with a custom ShaderMaterial. It must look **viscous and semi-transparent** (glossy green). Implement a "vertex displacement shader" or simple scaling logic to create a **wobble/squash-and-stretch effect** based on velocity and collision (e.g., flatten when hitting the ground, stretch when jumping). * **Environment:** Modular laboratory tiles (purple metal plates with rivets, dark blue pipes). Backgrounds should be dark with parallax scrolling layers of laboratory equipment. * **Hazards & Items:** Neon red spikes (emissive material), glowing green acid pools, and yellow floating "data disks" (collectibles) that rotate. * **Mobile Optimization:** Use `InstancedMesh` for repetitive ground tiles. Limit real-time shadows; use baked lighting or simple circular blob shadows under the character. ### 2. Audio Requirements * **BGM:** A funky, upbeat **chiptune-meets-synthwave** track. It should sound scientific but playful (think "laboratory exploration"). * **Sound Effects (SFX):** * **Movement:** Wet, squishy "plop" and "squelch" sounds when landing or moving. * **Jump:** A rising synthesized "bloop" or spring sound. * **Collect:** A high-pitched, satisfying 8-bit "ding" or "chirp" when grabbing disks. * **Death:** A comical "splat" sound followed by a disintegration effect. ### 3. Gameplay Loop * **Core Mechanics:** * **Physics-Based Movement:** The slime has inertia. It slides slightly before stopping. * **Wall Interaction:** If the slime jumps against a wall, it should stick momentarily, allowing for a **wall jump** or slow slide down. * **Squeeze Mechanic:** The player can flatten the slime (reduce Y-scale, increase X-scale) to fit through narrow gaps under pipes or lasers. * **Objective:** Navigate from the starting spawn point to the **Checkered Finish Flag** at the end of the level. * **Scoring:** Collect all scattered "Data Disks" (0/3 per level) for a perfect score. * **Fail State:** Touching red spikes, falling into acid, or getting crushed by moving pistons resets the level instantly. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape Mode** (Force horizontal). * **Touch Interface (Virtual Controls):** * **Left Zone (Joystick/D-Pad):** A floating virtual joystick. Horizontal drag moves Left/Right. Dragging **Down** activates the "Squeeze/Flatten" mechanic to go under obstacles. * **Right Zone (Action Button):** A large, semi-transparent button for **Jump**. * **Tactile Feedback:** If the device supports `navigator.vibrate`, trigger a short 50ms haptic pulse when the slime lands on the ground or hits a wall, and a longer pulse on death. * **UI Layout:** Place the "Disk Counter" (e.g., 1/3) in the top-left corner and a "Pause/Menu" button in the top-right, ensuring they are outside the thumb interaction zones (padding > 20px). ### 5. Implementation Language * Please generate the code in English using Three.js and Cannon.js (or a simple custom physics engine) for the mechanics. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Slime Laboratory 2 is the thrilling sequel to the beloved physics-based platform game that challenges players to guide a lovable slime character through a treacherous laboratory environment. This free online game combines precise physics mechanics with creative problem-solving as you squeeze, stick, and bounce your way through increasingly complex levels.

The game features a charming green slime protagonist who must navigate through various laboratory chambers filled with deadly traps, narrow passages, and challenging obstacles. Your mission is to safely reach the checkered finish line while collecting every disk scattered throughout each level.

Core Features

Enhanced Physics Gameplay

Building upon the original's foundation, Slime Laboratory 2 offers refined physics mechanics that make controlling your slime feel more responsive and intuitive. The slime's unique properties allow it to stick to surfaces, squeeze through tight spaces, and bounce off walls in realistic ways.

New Biomes and Environments

This sequel introduces diverse laboratory environments beyond the original setting. Explore different themed areas, each with unique visual aesthetics and specific challenges that test your platforming skills in fresh ways.

Slime Customization System

For the first time in the series, players can customize their slime character's appearance. Unlock different colors, patterns, and visual effects as you progress through the game, making your slime truly unique.

Challenging Obstacle Design

Each level presents carefully crafted challenges including spinning blades, moving platforms, acid pools, and pressure-sensitive mechanisms. The game gradually increases difficulty while introducing new obstacle types to keep gameplay engaging.

Collectible Disk System

Scattered throughout each level are valuable disks that serve as both collectibles and progression markers. Finding all disks in a level often requires creative thinking and mastery of the slime's physics properties.

Gameplay Mechanics

The core gameplay revolves around the unique properties of your slime character. Unlike traditional platform game characters, the slime can:

  • Stick to surfaces : Climb walls and ceilings by adhering to solid surfaces
  • Squeeze through gaps : Compress and stretch to fit through narrow openings
  • Bounce and roll : Use momentum and physics to reach distant platforms
  • Absorb impact : Survive falls that would defeat other characters

Operation Guide

Mastering Slime Laboratory 2's controls is essential for success:

  • Left/Right Arrow Keys : Move your slime horizontally across surfaces
  • Up Arrow Key : Jump or climb upward when near sticky surfaces
  • Down Arrow Key : Drop down from platforms or compress your slime

The key to success lies in understanding how these simple controls interact with the game's physics engine. Experiment with different movement combinations to discover advanced techniques like wall-jumping, momentum conservation, and precision maneuvering.

Advanced Techniques

  • Wall Climbing : Hold the up arrow while touching walls to stick and climb
  • Momentum Jumping : Build speed before jumping to reach distant platforms
  • Precise Landing : Use the down arrow to control your descent and landing accuracy
  • Gap Navigation : Compress your slime to fit through seemingly impossible spaces

Why Play This Game

Perfect for Physics Game Enthusiasts : If you enjoy games that challenge your understanding of momentum, gravity, and collision mechanics, Slime Laboratory 2 delivers sophisticated physics gameplay wrapped in an accessible, charming package.

Ideal for Puzzle Platformer Fans : Each level presents unique spatial challenges that require both quick reflexes and strategic thinking. The combination of precise movement and puzzle-solving creates engaging gameplay that keeps you coming back.

Great for Casual Gaming Sessions : With its browser-based accessibility and level-based progression, you can easily jump in for quick gaming sessions or extended play periods.

Educational Value : The realistic physics mechanics make this game subtly educational, helping players develop intuitive understanding of concepts like momentum, friction, and gravity.

Family-Friendly Entertainment : The cute slime character, colorful graphics, and non-violent gameplay make it suitable for players of all ages who enjoy creative problem-solving challenges.

Frequently Asked Questions (FAQ)