Rainbow Obby - Ultimate Obstacle Course Challenge

Seele01-Flash
By
Rainbow Obby is an exciting 3D obstacle course game featuring three unique gameplay modes. Navigate through hundreds of challenging obstacles, collect power-ups, and race to reach the top in this colorful parkour adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Rainbow Obby**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** "Roblox-esque" aesthetic. Use Low-Poly, flat-shaded primitives (BoxGeometry, CylinderGeometry). High saturation, vibrant colors emphasizing the "Rainbow" theme. * **Character Model:** A modular blocky character consisting of distinct meshes for Head (Yellow Cube), Torso (Red Block), Arms (Yellow Blocks), and Legs. No complex rigging; use simple hierarchy rotation for animation. * **Environment Design:** * **Skybox:** A bright blue sky with procedural white clouds and a massive, semi-transparent Rainbow arc spanning the horizon. * **Terrain/Water:** An infinite ocean plane at `y = -10` using a blue material with low opacity to simulate water. * **Obstacles:** Floating platforms colored in rainbow gradients. Include static platforms, spinning beams (rotating obstacles), and disappearing tiles. * **Mobile Optimization:** Use `THREE.InstancedMesh` for repetitive platforms to reduce draw calls. Limit real-time shadows to the main character (using a simple blob shadow texture is preferred for performance). ### 2. Audio Requirements * **Background Music (BGM):** A cheerful, upbeat, looping synth-pop track (120 BPM) that evokes a "sunny day" feeling. * **Sound Effects (SFX):** * *Jump:* A cartoonish "Boing" or "Whoosh" sound. * *Landing:* A soft plastic "thud". * *Checkpoint:* A high-pitched "Ding" or sparkle sound. * *Fall/Fail:* A descending whistle or a "splash" sound when hitting the water. * *Power-up:* An energetic "Power-up" arcade sound (for jetpacks/springs). ### 3. Gameplay Loop * **Core Mechanic:** Vertical platforming. The player starts at the bottom and must jump across floating obstacles to reach the top. * **Physics & Movement:** * Arcade-style physics (not realistic). Instant acceleration and deceleration. * **Air Control:** Allow the player to slightly adjust direction while in mid-air (crucial for platforming precision). * **Collision:** Simple AABB (Axis-Aligned Bounding Box) collision detection for platforms. * **Game Modes (Focus on Classic for code structure):** * **Checkpoint System:** Touching a flag object saves the spawn position. * **Fail State:** Falling below `y = 0` triggers a respawn at the last checkpoint. * **Win State:** Reaching the highest platform triggers a particle confetti explosion and a "Victory" UI overlay. * **Power-ups:** Implement "Spring Boards" (Red pads on the ground) that multiply jump force by 2.5x when stepped on. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Forced Landscape Mode. * **Touch Controls:** * **Left Side:** A dynamic virtual joystick (floating analog stick) for planar movement (WASD equivalent). * **Right Side (Bottom):** A large, circular "Jump" button (min size 80px). * **Right Side (Center/Upper):** Invisible touch area for swiping to rotate the camera (OrbitControls logic, focused on the character). * **UI Layout:** * Heads-up Display (HUD) must be anchored to screen corners to avoid covering the play area. * Restart/Pause button in the top-right corner (min 44x44px clickable area). * **Feedback:** Trigger `navigator.vibrate(20)` (Haptic Feedback) when the player jumps or hits a checkpoint. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Rainbow Obby

Rainbow Obby is a thrilling 3D obstacle course game that challenges players to navigate through massive, colorful worlds filled with hundreds of creative obstacles. This exciting parkour adventure combines skill-based platforming with stunning rainbow-themed visuals, creating an engaging experience for players of all ages.

The game features a charming block-style aesthetic reminiscent of popular building games, with vibrant rainbow environments that create a cheerful and inviting atmosphere. Players control a customizable block character as they run, jump, and climb their way through increasingly difficult obstacle courses.

Core Features

Three Unique Game Modes

Classic Mode offers the original Rainbow Obby experience, featuring three distinct worlds packed with hundreds of meticulously designed obstacles. This mode focuses on pure parkour skills, requiring precise timing and strategic thinking to overcome each challenge.

Car Mode transforms the experience into a high-speed racing adventure. Navigate through ramps, jumps, and tricky roads that test your driving skills. This mode appeals to speed enthusiasts who enjoy fast-paced vehicular challenges.

Bike Mode combines the platforming elements of Classic Mode with the added complexity of bicycle physics. This unique twist makes familiar obstacles feel completely new and more challenging, as players must master bike control while performing parkour maneuvers.

Helpful Power-ups and Items

When obstacles become too challenging, players can utilize various helpful items including jetpacks for aerial navigation, springs for enhanced jumping ability, and other creative power-ups designed to assist with difficult sections.

Cross-Platform Compatibility

Rainbow Obby runs smoothly on both desktop computers and mobile devices, ensuring players can enjoy the obstacle course adventure wherever they are.

Gameplay Experience

The game progressively increases in difficulty, starting with simple jumps and climbs before introducing complex multi-stage obstacles that require perfect timing and coordination. Each world features unique themes and obstacle types, keeping the experience fresh and engaging throughout the journey to the top.

The vibrant rainbow aesthetic creates a positive, encouraging atmosphere that motivates players to persist through challenging sections. The satisfying physics and responsive controls make every successful obstacle completion feel rewarding.

Controls and Operation

Rainbow Obby features intuitive controls designed for both beginners and experienced players:

  • Movement : Use WASD keys to walk and navigate around the environment
  • Jumping : Press the spacebar to jump over obstacles and gaps
  • Camera Control : Use mouse movement to adjust viewing angles
  • Touch Controls : Mobile players can use on-screen touch controls for movement and jumping

Why Play Rainbow Obby

This game offers the perfect combination of challenge and accessibility. Whether you're looking for a quick gaming session or an extended obstacle course marathon, Rainbow Obby provides endless entertainment with its three distinct modes and hundreds of unique challenges.

The free-to-play model means anyone can jump in and start playing immediately, with no downloads required. The game's cross-platform support ensures you can continue your progress whether you're on a computer or mobile device.

For fans of parkour games, platform adventures, and skill-based challenges, Rainbow Obby delivers an exceptional gaming experience that will keep you coming back to conquer the next obstacle.

Frequently Asked Questions (FAQ)