Red Ball 4 - Action Platformer Adventure

Seele01-Flash
By
Red Ball 4 is an exciting action platformer where you control a heroic red ball on an epic adventure. Roll through over 70 challenging levels, defeat evil monster cubes, and save the world!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Red Ball 4 - 2.5D Rolling Platformer". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A vibrant 2.5D side-scrolling aesthetic using **Toon Shading (Cel Shading)** to mimic the game's original flat vector art style while utilizing 3D depth. * **The Player (Red Ball)**: A smooth red sphere with a texture map containing a determined facial expression (large eyes, thick eyebrows). The face must rotate with the ball to visually convey rolling momentum and angular velocity. * **Enemies (Monster Cubes)**: Black or dark grey cubes with angry white eyes. They should patrol back and forth on platforms. * **Environment**: * **Foreground**: Green grassy platforms with brown dirt sides. * **Interactive Objects**: Wooden crates (movable physics objects) and ramps. * **Background**: A bright, sunny skybox with a subtle yellow sunburst pattern (referencing the icon) and parallax clouds. * **Mobile Optimization**: Use `BoxGeometry` and `SphereGeometry` with low segment counts where possible. Reuse geometries and materials (InstancedMesh) for repeated environment blocks to maintain high FPS on mobile browsers. ### 2. Audio Requirements * **BGM**: An upbeat, whimsical, and adventurous orchestral-pop track (looping). It should feel bouncy and energetic. * **Sound Effects (SFX)**: * **Jump**: A cartoonish "Boing" or spring sound. * **Rolling**: A subtle low-hum or friction sound that increases pitch slightly with speed. * **Enemy Defeat**: A "Pop" or "Squish" sound when the player lands on top of a cube. * **Star Collection**: A high-pitched, satisfying "Chime" or "Ding". * **UI**: A wooden "Clack" sound for button presses. ### 3. Gameplay Loop * **Core Mechanics**: Physics-based platforming using a physics engine (like Cannon.js or simple custom AABB/Sphere physics). The ball must carry momentum; it shouldn't stop instantly when the input is released. * **Objective**: Traverse the level from Left to Right to reach a "Red Flag" checkpoint. * **Combat Rules**: * **Victory**: Player jumps and lands *on top* of a Monster Cube to destroy it. * **Defeat**: Player touches a Monster Cube from the *side* or *bottom*, or falls into a bottomless pit. This triggers a level restart. * **Collectibles**: Golden Stars scattered throughout the level (some requiring jumps or solving simple physics puzzles with crates to reach). ### 4. Mobile Controls & Interaction * **Screen Orientation**: Strict **Landscape** mode. * **Touch Controls**: * **Left Side**: Two large, semi-transparent arrow buttons (Left/Right) for horizontal movement. * **Right Side**: A large circular "Jump" button. * **Touch Feedback**: Implement `navigator.vibrate(50)` (Haptic Feedback) when the player lands a jump, defeats an enemy, or collects a star to enhance the tactile feel on mobile. * **Camera Behavior**: The camera must smoothly follow the player on the X and Y axis (with a slight look-ahead offset) but remain fixed on the Z axis (Side View). * **UI Scaling**: All on-screen buttons must have a touch target size of at least 48x48 pixels and anchor correctly regardless of the device aspect ratio. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Red Ball 4

Red Ball 4 is a beloved action platformer that combines classic side-scrolling gameplay with modern physics-based mechanics. In this exciting adventure, you take control of the courageous Red Ball, a spherical hero on a mission to save the world from evil monster cubes that threaten to transform everything into squares.

This free-to-play browser game offers endless entertainment with its perfect blend of skill-based challenges, puzzle-solving elements, and fast-paced action sequences.

Core Features

Extensive Level Variety

Discover over 70 unique levels spread across multiple themed worlds. From underground caves to lunar landscapes, each environment offers distinct challenges and visual experiences that keep gameplay fresh and engaging.

Physics-Based Gameplay

Experience realistic ball physics as you roll, bounce, and jump through carefully designed obstacles. The intuitive controls make it easy to learn but challenging to master, perfect for players of all skill levels.

Star Collection System

Each level contains hidden stars scattered throughout the environment. Collect all stars in a level to earn a prestigious golden medal , adding replay value and encouraging exploration of every corner.

Progressive Difficulty

Levels gradually increase in complexity, introducing new mechanics, obstacles, and enemy types. This ensures a satisfying learning curve that challenges both newcomers and experienced players.

Cross-Platform Compatibility

Play seamlessly on desktop computers, smartphones, and tablets. The game automatically adapts to your device, ensuring optimal performance whether you're at home or on the go.

Game Mechanics

Combat System

Defeat the evil monster cubes by rolling into them or jumping on top. Each enemy has unique behaviors and attack patterns, requiring strategic thinking and precise timing to overcome.

Environmental Puzzles

Solve clever puzzles involving switches, moving platforms, and gravity-defying obstacles. These brain-teasing elements add depth beyond simple platforming action.

Theme Exploration

Journey through diverse environments including: - Underground Caverns : Navigate dark tunnels filled with dangerous spikes - Lunar Landscapes : Experience low gravity on the moon's surface - Industrial Zones : Overcome mechanical obstacles and factory dangers - Forest Adventures : Roll through natural environments with organic challenges

How to Play

Basic Controls

  • Movement : Use arrow keys (←→) or A/D keys to roll left and right
  • Jumping : Press Up arrow (↑), W key, Spacebar, or Enter to jump
  • Precision Control : Master the momentum-based movement system for accurate navigation

Gameplay Objectives

  1. Reach the Goal : Roll Red Ball to the level's endpoint
  2. Avoid Hazards : Stay away from spikes, pits, and monster cubes
  3. Collect Stars : Gather all stars in each level for maximum score
  4. Defeat Enemies : Eliminate monster cubes to clear your path
  5. Solve Puzzles : Use logic and physics to overcome obstacles

Why Play Red Ball 4

Perfect for All Ages

The game's charming cartoon graphics and intuitive gameplay make it suitable for children, while the challenging later levels provide enough difficulty to engage adult players.

No Download Required

Start playing immediately in your web browser without any downloads, installations, or registration. Simply visit the game page and begin your adventure.

Completely Free

Enjoy the full game experience at no cost. All 70+ levels, features, and content are available without any payment or subscription requirements.

Educational Benefits

The game helps develop problem-solving skills, hand-eye coordination, spatial awareness, and strategic thinking through its puzzle and platforming elements.

Stress Relief

The satisfying physics-based gameplay and cheerful presentation provide an excellent way to unwind and have fun during breaks or leisure time.

Community Favorite

Red Ball 4 has gained popularity worldwide due to its polished gameplay, creative level design, and consistent quality across all platforms and devices.

Frequently Asked Questions (FAQ)