Bouncy Basketball

Seele01-Flash
By
Bouncy Basketball is an exciting pixel-style basketball game that combines classic hoops action with unique bouncing mechanics. Play solo against AI or challenge friends in thrilling 2-player matches.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Bouncy Basketball 3D". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Voxel-based 3D art style (resembling 3D pixel art) to mimic the original's blocky aesthetic. Use a bright, high-saturation color palette (vibrant oranges for the ball/court, distinct team colors like Red vs. Blue). * **Camera**: Use an **Orthographic Camera** positioned at a side view (fixed Z-depth) to maintain the classic 2D arcade gameplay feel while using 3D assets. * **Characters**: Low-poly blocky characters constructed from simple box geometries. They should have articulated joints (shoulders, knees) to support ragdoll-like physics. * **Environment**: A wooden parquet basketball court with reflection map (shininess). A simple stadium background using billboard sprites or low-poly crowd blocks to simulate an audience. A "Sunburst" style textured plane behind the stadium for retro flair. * **Performance**: Use instanced mesh rendering for the crowd if many units are used. Texture atlas for all voxels to reduce draw calls. ### 2. Audio Requirements * **BGM**: Fast-paced, upbeat 16-bit arcade sports music (looping). * **SFX**: * **Movement**: Exaggerated "Boing" or spring sounds when characters jump. High-pitched sneaker squeaks on landing. * **Ball**: Heavy "Thud" for dribbling/floor impact. A satisfying "Swish" for clean shots and a metallic "Clang" for rim hits. * **UI/Game**: Whistle blow for game start/end. Buzzer sound for time over. Crowd cheer loop that increases volume upon scoring. ### 3. Gameplay Loop * **Core Mechanic**: Physics-based "Ragdoll" Basketball. Characters do not run smoothly; they hop. * **State A (No Ball)**: Pressing the button makes the character jump *towards* the ball (physics impulse). * **State B (With Ball)**: Character automatically grabs the ball upon collision. Holding the button charges a jump; **Releasing** the button shoots the ball towards the hoop. The longer the hold, the higher the jump/arc. * **Dunking**: If the player releases the button while close to the hoop and in the air, the character performs a "Dunk" (forceful downward trajectory). * **Match Rules**: A timed match (e.g., 60 seconds). 2 points for standard shots, 3 points for long-range. The team with the highest score wins. * **AI Behavior**: The CPU opponent should track the ball's x-position and jump with a randomized delay to simulate reaction time. ### 4. Mobile Controls & Interaction * **Control Scheme**: **One-Button Gameplay**. * **Single Player Mode**: The entire screen acts as a single large button. Touch-and-hold to charge jump/aim, release to shoot. * **2-Player Local Mode**: Split the screen vertically into two invisible touch zones (Left 50% for Player 1, Right 50% for Player 2). * **Orientation**: Landscape mode is required to see both baskets. * **Feedback**: * **Haptic**: Trigger short vibration on ball collision (catch) and scoring. * **Visual**: Screen shake effect (camera jitter) when a dunk is scored or the ball hits the rim hard. * **UI**: Large, thumb-friendly pause button in the top center (minimum 60x60px). Scoreboard should be clearly visible at the top without obstructing play. Use CSS 3D labels or HTML overlay for crisp text on mobile screens. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Bouncy Basketball is a dynamic sports game that puts a fresh spin on traditional basketball gameplay. This charming pixel-art basketball game offers both single-player and multiplayer experiences, making it perfect for quick gaming sessions or competitive matches with friends. The game's unique bouncing mechanics create an engaging and accessible basketball experience that's easy to learn but challenging to master.

Core Features

Multiple Game Modes

Bouncy Basketball offers incredible flexibility with various gameplay options:

  • Single Player Mode : Challenge computer-controlled opponents with adjustable difficulty
  • 2 Player Local Multiplayer : Play head-to-head with friends on the same device
  • Team Variations : Choose from 1v1, 2v2, or 3v3 team configurations
  • Quick Match : Jump straight into fast-paced basketball action
  • Playoff Mode : Experience tournament-style competition with elimination rounds

Authentic Basketball Action

Experience realistic basketball mechanics with a fun twist:

  • Jump and Grab : Leap toward the ball to gain possession
  • Strategic Shooting : Time your releases perfectly for optimal shots
  • Slam Dunks : Execute spectacular dunks when close to the hoop
  • Team Selection : Choose your favorite team from available options
  • Dynamic Gameplay : Fast-paced action that keeps you engaged

Charming Pixel Art Style

The game features delightful retro-inspired visuals that bring basketball to life with colorful, animated characters and smooth gameplay animations.

Gameplay Mechanics

Bouncy Basketball combines simple controls with strategic depth. Players must master the timing of jumps, ball grabs, and shots to outmaneuver opponents. The bouncing mechanic adds a unique element that requires skill to control effectively, making each match unpredictable and exciting.

Scoring System

Points are awarded for successful shots, with different values for regular baskets and spectacular dunks. The first team to reach the target score wins the match.

Operation Guide

Single Player Controls

  • Space Bar or D Key : Jump and grab the ball
  • Release Space/D : Shoot the basketball
  • Timing : Hold and release keys at the right moment for accurate shots

Two Player Controls

  • Player 1 : Use D key for jumping/grabbing and shooting
  • Player 2 : Use J key for all basketball actions
  • Coordination : Work together in team modes or compete in head-to-head matches

Pro Tips

  • Jump close to the hoop and release at the peak for slam dunks
  • Time your jumps to intercept opponent passes
  • Practice shooting timing for consistent scoring
  • Use team formations strategically in multi-player modes

Why Play Bouncy Basketball

This game offers the perfect blend of accessibility and competitive gameplay. Whether you're a basketball fan or just looking for fun multiplayer action, Bouncy Basketball delivers:

  • Instant Fun : No complex learning curve - jump right in and start playing
  • Social Gaming : Perfect for playing with friends and family
  • Replay Value : Multiple game modes and team options keep it fresh
  • Free to Play : Complete basketball experience at no cost
  • Cross-Platform : Play directly in your web browser on any device

Perfect For

  • Basketball enthusiasts looking for arcade-style action
  • Gamers seeking quick, competitive multiplayer experiences
  • Fans of retro pixel art aesthetics
  • Anyone wanting engaging sports gameplay without complexity

Frequently Asked Questions (FAQ)