Rolling Balls Sea Race

Seele01-Flash
By
Rolling Balls Sea Race is an exciting 3D physics-based racing game where you roll colorful balls across stunning sea platforms. Master precision control, collect coins, and race against friends in thrilling 2-player mode.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Rolling Balls Sea Race". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Vibrant "Tropical Summer" aesthetic. High saturation colors, sunny lighting with lens flare effects. * **Player Character:** A high-tech looking Sphere (Ball) with a metallic texture, hexagonal patterns, and neon accents (pink/cyan). It must have a "Trail Renderer" component that leaves a glowing ribbon trail behind it as it moves. * **Track Design:** A modular wooden pier/bridge structure suspended over an endless ocean. The track should have gaps, tight curves, and ramps. Textures should be wood planks. Use `InstancedMesh` for the wooden planks to ensure 60FPS on mobile devices. * **Environment:** * **Ocean:** Use a simplified water shader (or animated normal map) that reflects the sky and looks refreshing. It must be performant for mobile GPUs. * **Decor:** Low-poly palm trees placed along the track edges and in the distant background. * **Skybox:** Bright blue gradient or a panoramic sunny sky texture. * **Camera:** A Third-Person Follow Camera that smooth-damps behind the player. It should auto-adjust slightly when going downhill or uphill. ### 2. Audio Requirements * **BGM:** Upbeat, energetic "Tropical House" or "Summer Pop" style music. Loopable and optimistic. * **Sound Effects (SFX):** * **Rolling:** A continuous low-rumble rolling sound that adjusts pitch/volume based on the ball's velocity. * **Coin Collect:** A high-pitched, satisfying "ding" or chime. * **Splash:** A water splash sound triggered when the player falls off the track. * **Win:** A triumphant fanfare. ### 3. Gameplay Loop * **Objective:** Navigate the ball from the Start Line to the Finish Line without falling into the sea. * **Physics Mechanics:** * The ball moves via torque/forces (physics-based), not direct translation. It should carry momentum. * **Gravity:** Realistic gravity is essential. If the ball moves too slowly on a tilt, it slides off. * **Interactables:** * **Coins:** Floating gold coins rotating in the air. Collecting them increases the score. * **Obstacles:** Static crates, moving pendulums, or rotating bars that can knock the player off the track. * **Win Condition:** Crossing the finish line triggers a "Level Complete" UI and particle confetti. * **Fail Condition:** Falling below the water level (y < 0) triggers a "Splash" effect and respawns the player at the last passed checkpoint (or start). ### 4. Mobile Controls & Interaction * **Screen Orientation:** Forced **Landscape** mode for a wider field of view. * **Control Scheme (Virtual Joystick):** * Implement an on-screen **Virtual Joystick** on the bottom-left or bottom-right (configurable or auto-detect). * The joystick controls the force vector applied to the ball (Forward/Back for speed, Left/Right for steering). * *Alternative option:* A "Brake" button on the opposite side of the screen for precise stops. * **UI/UX:** * **Start Screen:** Large "Tap to Start" overlay. * **HUD:** Score counter (top-left) and Timer (top-center). Text should be large and readable on small screens. * **Touch Feedback:** If the browser supports the Vibration API (`navigator.vibrate`), trigger a short haptic pulse when collecting a coin and a longer vibration when crashing/falling. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Rolling Balls Sea Race is a captivating 3D physics-based racing game that combines precision control with breathtaking ocean scenery. Navigate your rolling ball across challenging sea platforms while collecting coins and avoiding obstacles. With smooth physics mechanics and stunning visual effects, this casual racing game offers endless entertainment for players of all skill levels.

The game features vibrant tropical environments with crystal-clear waters, palm trees, and dynamic sky themes that change as you progress. Each race takes place on carefully designed wooden platforms suspended over the sparkling sea, creating a unique and immersive racing experience.

Core Features

Stunning Visual Experience

Immerse yourself in breathtaking nature visuals featuring tropical ocean landscapes, dynamic lighting effects, and colorful ball designs. The game's 3D graphics create a truly engaging racing environment that feels both relaxing and exciting.

Physics-Based Gameplay

Experience realistic ball physics that require skill and precision to master. Every roll, turn, and jump feels authentic, making each race a test of your control and timing abilities.

Customization Options

Collect coins throughout your races to unlock: - Unique ball designs with different visual styles and patterns - Colorful tail tracks that follow your ball as you roll - Sky themes that transform the atmosphere of each race - Enhanced ball controls for improved performance

Multiplayer Competition

Challenge friends in exciting 2-player mode where you can race head-to-head on the same screen. Compete to see who can navigate the tricky platforms with the most skill and speed.

Progressive Difficulty

Start with simple straight paths and gradually face more challenging courses featuring tight curves, narrow passages, and complex obstacle arrangements.

Gameplay Mechanics

In Rolling Balls Sea Race, you control a donut-shaped rolling ball through precision-based movement. The game emphasizes the perfect balance between speed and control - move too fast and you risk falling into the sea, but move too slowly and you won't achieve the best times.

Strategic Elements

  • Coin Collection : Gather coins scattered across each track to unlock new content
  • Obstacle Navigation : Dodge barriers and navigate around challenging course features
  • Platform Mastery : Learn to handle narrow wooden platforms without falling
  • Speed Management : Find the optimal balance between speed and safety

Controls Guide

Single Player Mode

  • WASD keys or Arrow keys : Move your ball forward, backward, and side to side
  • Master smooth, controlled movements to maintain balance on narrow platforms

Two Player Mode

  • Player 1 : WASD keys for movement control
  • Player 2 : Arrow keys for movement control
  • Perfect for local multiplayer competition with friends and family

Why Play This Game

Rolling Balls Sea Race offers a perfect blend of relaxation and excitement. The beautiful ocean scenery creates a calming atmosphere, while the precision-based gameplay provides engaging challenges. Whether you're looking for a quick casual gaming session or an intense multiplayer competition, this game delivers.

The game is completely free to play in your web browser, requiring no downloads or installations. Its intuitive controls make it accessible to players of all ages, while the progressively challenging levels ensure long-term engagement.

Perfect For:

  • Casual gaming sessions during breaks
  • Competitive multiplayer fun with friends
  • Players who enjoy physics-based challenges
  • Anyone looking for visually stunning racing games
  • Families seeking shared gaming experiences

Frequently Asked Questions (FAQ)