Basket Random - Chaotic Physics Basketball Game

Seele01-Flash
By
Basket Random is a hilariously chaotic 2-player basketball game featuring unpredictable physics, ragdoll characters, and constantly changing courts. Fight for dunks and victory in this wacky twist on traditional basketball.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Basket Random". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Aesthetic using **Voxel or Low-Poly Boxy Art**. Characters should look like retro pixel-art figures converted into 3D blocks (Head, Torso, Arms, Legs as separate geometries). * **Camera:** Use an `OrthographicCamera` fixed in a side-scrolling view (Z-axis offset) to mimic the original 2D arcade perspective while utilizing 3D depth for ball movement and physics collisions. * **Characters:** * Two teams (e.g., Red vs. Blue). * Each team has 2 stickman-like/blocky characters. * **Structure:** Characters are "Ragdolls" composed of rigid bodies connected by hinge constraints (use a physics engine like Cannon.js or Oimo.js integration). They should look slightly stiff, not fluid. * **Environment (The "Random" Factor):** * Create a modular court system. On every point scored, randomly swap: * **Textures:** Wooden floor, Snow (slippery), Sand (slow), or Metal. * **Backgrounds:** Cityscape, Beach, Industrial, Winter. * **Basket Height:** Slight variations in hoop height. * **Performance:** Use instanced rendering for repetitive geometry (like crowd pixels or fence posts). Limit textures to low-res pixel art (e.g., 64x64) with `magFilter = THREE.NearestFilter` to keep the crisp retro look. ### 2. Audio Requirements * **BGM:** Fast-paced, looping **8-bit Chiptune/Arcade track**. High energy to match the chaos. * **SFX:** * **Jump:** A comical "Spring" or "Boing" sound when the button is pressed. * **Collision:** Thuds for body-to-ground impact. * **Net:** A satisfying "Swish" or "Chain rattle" for scoring. * **Win/Round Change:** An electronic whistle blow and a "Level Up" jingle when the scene randomizes. ### 3. Gameplay Loop * **Core Mechanic:** One-Button Physics Chaos. * **Input:** When the input is triggered, *both* characters on the active team perform a jump impulse + a rotational torque (leaning forward/backward) simultaneously. * **Ball:** The ball must have high restitution (bounciness). * **The "Random" Modifiers:** Upon every reset (after a basket), apply a random modifier: * *Standard:* Normal gravity and sizes. * *Heavy Metal:* The ball becomes heavy and metallic. * *Long Limbs:* Character arm/leg geometries scale up by 1.5x. * *Low Gravity:* Gravity reduces by 50% (floaty jumps). * *Big Hoops:* Hoop collision diameter increases. * **Winning:** First team to score 5 baskets wins the match. * **AI (Single Player):** The CPU opponent simply triggers its jump action when the ball enters a certain proximity radius or at random intervals to simulate chaos. ### 4. Mobile Controls & Interaction * **Control Scheme (Split Screen):** * **1 Player Mode:** Tap anywhere on the screen to control the Player's team. * **2 Player Mode (Local):** Split the screen vertically invisibly. * **Left Half:** Controls Player 1 Team. * **Right Half:** Controls Player 2 Team. * **Feedback:** * Trigger `navigator.vibrate(50)` (light haptic feedback) on every jump. * Trigger `navigator.vibrate(200)` (heavy haptic feedback) on scoring. * **UI:** * Scoreboard located top-center (Large Pixel Font). * "Touch to Start" overlay. * Ensure all UI buttons have a minimum hit area of 44x44px. * Support both **Landscape** (recommended) and Portrait (camera zooms out to fit width) orientations. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Basket Random is a wildly entertaining arcade basketball game that throws the rulebook out the window. With its signature ragdoll physics and unpredictable character movements, this game transforms traditional basketball into a chaotic, laugh-out-loud experience. Players control bouncy, physics-defying characters as they battle for basketball supremacy across ever-changing courts.

The game belongs to the popular "Random" series, known for taking classic sports and adding hilarious physics-based twists. Whether you're challenging the CPU or competing against a friend, every match promises unexpected moments and uncontrollable laughter.

Core Features

Unpredictable Physics Engine

The heart of Basket Random lies in its chaotic physics system. Your players won't always respond exactly as expected - they might bounce, spin, or flail in the air while attempting shots. This unpredictability creates unique gameplay moments where skill meets pure chance.

Dynamic Court Changes

After each successful basket, you're transported to a completely new environment. Courts transform with different themes, obstacles, and visual styles. These changes aren't just cosmetic - they can affect gameplay mechanics, ball weight, and even scoring rules.

Ragdoll Character System

Players feature adorable pixel art designs with ragdoll physics that make every movement entertaining. Watch as characters stretch, bend, and bounce in impossible ways while maintaining the competitive spirit of basketball.

Multiplayer and Single-Player Modes

Challenge friends in local 2-player mode for maximum fun, or test your skills against the computer AI. Both modes offer the same chaotic experience with plenty of replayability.

Game Mechanics

Objective and Rules

The core objective remains familiar: score baskets to win rounds. However, Basket Random adds its own twist with a first-to-five-wins format. Each successful shot advances you to the next level with new challenges and surprises.

Special Level Variations

Some levels introduce unique mechanics that keep gameplay fresh: - Extended Arms : Players gain longer reach for easier shots - Heavy Ball Mode : Increased ball weight changes trajectory physics - Double Points : Certain baskets reward extra points - Environmental Obstacles : Moving platforms, wind effects, and court hazards

Operation Guide

Simple Control Scheme

Basket Random features incredibly simple controls that anyone can learn: - Player 1 : Press the W key to make your character jump and interact with the ball - Player 2 : Press the Up Arrow key for the same actions

That's it! The beauty lies in the simplicity - with just one button per player, the focus shifts from complex controls to reading the physics and timing your moves perfectly.

Gameplay Tips

  • Timing is Everything : Watch the ball's trajectory and time your jumps carefully
  • Embrace the Chaos : Don't fight the physics - work with the unpredictable movements
  • Positioning Matters : Try to position yourself near the basket before attempting shots
  • Defense Strategy : Block opponents by jumping at the right moment

Platform Support

Basket Random is available across multiple platforms: - Web Browsers : Play directly online without downloads on desktop and mobile - Android Devices : Download from app stores for on-the-go gaming - iOS Devices : Available for iPhone and iPad users

The browser version offers the same full experience as mobile apps, making it accessible to everyone with an internet connection.

Why Play Basket Random

Perfect Party Game

With its simple controls and hilarious physics, Basket Random is ideal for parties, family gatherings, or casual gaming sessions with friends. The unpredictable nature ensures that anyone can win, regardless of gaming experience.

Stress-Free Entertainment

The game's whimsical nature and comedic physics make it perfect for relaxation and stress relief. There's no pressure for perfect performance - just pure fun and laughter.

Quick Gaming Sessions

Matches are fast-paced and can be completed in just a few minutes, making it perfect for quick breaks or when you have limited gaming time.

Nostalgic Pixel Art Style

The charming retro graphics appeal to both nostalgic gamers and newcomers, creating a timeless visual experience that never gets old.

Frequently Asked Questions (FAQ)