Rainbow Sphere

Seele01-Flash
By
Rainbow Sphere is an engaging color-matching action game where only perfect color coordination ensures survival. Navigate through challenging levels using strategic color warps to reach the finish line.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Rainbow Sphere**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A retro-futuristic, arcade 3D aesthetic (Retrowave/Synthwave style). Use high-contrast neon colors against a dark background to make gameplay elements pop on small screens. * **The Player:** A glossy, reflective sphere (using `MeshStandardMaterial` with roughness: 0.2, metalness: 0.6). The sphere must be able to dynamically change its color (Red, Green, Blue, Yellow). * **The Environment:** A series of abstract floating platforms suspended in a void. * **Platforms:** Simple geometric blocks (`BoxGeometry`). Some are "Neutral" (Grey), others are "Color Coded" (Red, Green, Blue). * **Color Warps:** Glowing, semi-transparent gates (Torus or Plane geometry) that float above the track. Passing through them changes the player's color. * **Background:** A dark, deep gradient skybox or a moving wireframe grid floor far below to give a sense of speed and depth. * **Mobile Optimization:** Use simple geometry (Low-poly) and limit real-time shadows to the player object only. Use baked lighting or simple ambient/directional light setups to maintain 60 FPS on mobile browsers. ### 2. Audio Requirements * **BGM:** An upbeat, driving 140 BPM Techno or Eurobeat track that loops seamlessly. * **SFX:** * **Rolling:** A low hum that increases in pitch as velocity increases. * **Jump:** A sharp "whoosh" or spring sound. * **Color Warp:** A digital "chime" or "power-up" sound when passing through gates. * **Failure:** A descending "glitch" sound when falling off the platform. ### 3. Gameplay Loop * **Core Mechanic:** Physics-based rolling platformer. The player controls the ball's momentum. * **The "Color Coordination" Gimmick:** * The player starts as **White**. * **Color Warps:** Passing through a Red Gate turns the ball Red. * **Phasing Platforms:** Certain platforms are colored (e.g., Red). These platforms are **solid** only if the ball matches their color. If a Blue ball tries to roll on a Red platform, it falls through (ghost collision) to its doom. * **Objective:** Navigate from the Start Pad to the "Rainbow Finish Zone" without falling into the void. * **Win/Loss:** Reaching the finish triggers a victory particle explosion. Falling off the map resets the player to the start. ### 4. Mobile Controls & Interaction * **Control Scheme:** * **Left Screen Zone (Virtual Joystick):** Implement a dynamic virtual joystick logic. Touching and dragging anywhere on the left half of the screen controls the rolling direction (Vector movement relative to camera). * **Right Screen Zone (Tap to Jump):** Tapping anywhere on the right half of the screen triggers a Jump (impulses the ball upwards). * **Camera:** Implement a **Smooth Follow Camera**. The camera should trail slightly behind and above the ball, softly interpolating its position (Lerp) to avoid motion sickness on handheld devices. * **Orientation:** Force or optimize for **Landscape Mode** gameplay. * **Feedback:** * Add a visual trail (simple particle trail) behind the ball to indicate speed. * (Optional) Trigger `navigator.vibrate(50)` on Jump and Collision for tactile feedback. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Rainbow Sphere is a unique action-puzzle game that combines precision platforming with color-matching mechanics. With a player rating of 3.2/5, this browser-based game challenges players to master color coordination while navigating through increasingly complex levels. The core concept is simple yet addictive: only the color coordinated survive.

Core Features

Color Warp Mechanics

The game's signature feature revolves around color warps - special portals that allow your sphere to traverse levels safely. Understanding and utilizing these color-coordinated pathways is essential for success.

Progressive Difficulty

Each level introduces new challenges and more complex color patterns. Players must develop both quick reflexes and strategic thinking to progress through all stages.

Browser-Based Gaming

  • Completely Free : No downloads or installations required
  • Universal Access : Play on any device with a modern web browser
  • Instant Play : Click and start gaming immediately
  • All Ages Content : Suitable for players of every age group

Gameplay Mechanics

In Rainbow Sphere, players control a colorful sphere that must navigate through obstacle-filled levels. The key to success lies in matching your sphere's color to the appropriate warp points scattered throughout each level. Mistiming or wrong color coordination results in failure, requiring players to restart and refine their approach.

The game emphasizes precision and timing. Players must carefully observe the color patterns, plan their route, and execute movements with accuracy to reach the finish line.

Operation Guide

The control scheme is intuitive and accessible:

  • Arrow Keys : Roll your sphere in all directions
  • Spacebar : Jump over obstacles and gaps

Mastering these simple controls is essential, as the game demands precise movement and well-timed jumps to successfully navigate through color warps and reach level objectives.

Why Play Rainbow Sphere

This game offers a perfect blend of action and puzzle elements that appeals to a wide range of players. The color-matching mechanics provide a unique twist on traditional platforming games, while the progressive difficulty ensures long-term engagement.

The game's accessibility makes it ideal for quick gaming sessions during breaks, yet challenging enough to provide hours of entertainment for dedicated players. The "taste the rainbow" concept adds a playful element that enhances the overall gaming experience.

Perfect for Casual Gaming

Whether you're looking for a quick mental challenge or extended gameplay session, Rainbow Sphere delivers engaging content that's easy to start but challenging to master.

Frequently Asked Questions (FAQ)