Dunkers 2 - Basketball Game

Seele01-Flash
By
Dunkers 2 is an exciting 1v1 basketball game where you build the ultimate Baller to win matches and tournaments. Customize your player, master shooting mechanics, and climb the rankings in this addictive sports game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Dunkers 2 - 3D Arcade Hoops**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use a **2.5D aesthetic** (3D models on a 2D gameplay plane). Use an Orthographic Camera to replicate the flat, cartoon look of the reference image while adding depth. * **Character Models**: Create low-poly, stylized characters composed of primitive shapes (spheres for heads, cylinders for limbs). The characters must have **exaggerated proportions** (large heads, very long arms). Implement a "toon shader" effect (MeshToonMaterial) with high-contrast colors and black outlines if possible. * **Physics Rigs**: The characters' arms should be physically active (ragdoll-like joints) that swing when the character jumps, adding a chaotic/fun element to the movement. * **Environment**: A basketball court with a glossy floor (simple reflection). The background should be a dynamic, colorful pattern (like yellow stripes) or a low-poly crowd. * **Mobile Optimization**: Keep polygon count under 5,000 per character. Use baked lighting for the court to save GPU resources. ### 2. Audio Requirements * **BGM**: An energetic, looping **Funk/Hip-Hop instrumental track** with a heavy bassline and brass hits to match the arcade sports vibe. * **Sound Effects (SFX)**: * *Movement*: Exaggerated "squeak" sounds for sneakers on the court floor. * *Jumping*: A cartoonish "boing" or spring sound. * *The Ball*: A solid "thud" for bouncing, a satisfying "swish" for net entry, and a metallic "clank" for hitting the rim. * *Crowd*: A cheer loop that increases in volume when a basket is scored. ### 3. Gameplay Loop * **Core Mechanics**: A chaotic 1v1 basketball match. The player controls one character against a CPU bot. * **Movement Physics**: The movement should feel "floaty" yet responsive. Characters move by hopping/lunging rather than running. * **Offense (Two Modes)**: 1. **Dunking**: If the player jumps towards the hoop and the ball touches the rim/net area, it counts as a dunk (physics-based). 2. **Shooting**: If the player is on the ground or far away, they use the "Shot Meter." A bar appears above the head; holding the button fills the bar. Releasing when the bar hits the "Orange Zone" calculates a perfect projectile arc. * **Defense**: Players can intercept the ball by colliding with the opponent or waving their arms to block shots. * **Win Condition**: The first player to reach 5 points wins the match. ### 4. Mobile Controls & Interaction * **Touch Layout**: * **Left Side of Screen**: Two large virtual buttons for movement. [Left Arrow] (moves backward), [Right Arrow] (moves forward/jumps towards hoop). * **Right Side of Screen**: A large circular [SHOOT/DUNK] button. * **Interaction Logic**: * *Tap Move Buttons*: Short hop. * *Hold Shoot Button*: Charges the shot power bar. * *Release Shoot Button*: Releases the ball. * **Haptic Feedback**: Trigger a short vibration (using `navigator.vibrate`) when the ball hits the rim, when a dunk lands, or when the player steals the ball. * **Orientation**: Lock the game to **Landscape Mode** for the best view of the court. * **UI Scaling**: Ensure all buttons are at least 60x60 pixels for easy tapping on varied screen sizes. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Dunkers 2 is a thrilling 1v1 basketball game that combines simple controls with deep customization and competitive gameplay. Build your ultimate Baller, win matches and tournaments, and climb to the top of the global rankings. With its colorful cartoon-style graphics and engaging progression system, Dunkers 2 offers endless basketball entertainment for players of all skill levels.

Core Features

Ultimate Baller Customization

Create and customize your perfect basketball player with countless outfit combinations. Unlock new Ballers with unique appearances and abilities as you progress through the game. Every player can find their ideal basketball character to represent them on the court.

Competitive 1v1 Matches

Engage in intense one-on-one basketball duels where timing and skill determine the winner. Each victory earns you valuable coins to spend in the game's comprehensive shop system. Master the art of dunking and shooting to dominate your opponents.

Tournament and Ranking System

Compete in structured tournaments and climb the global leaderboards. The more money you earn from victories, the higher you'll rank among all Ballers. Prove you're the ultimate basketball champion by reaching the number 1 spot.

Super Shootout Challenge

Test your precision in the Super Shootout mode, where increasingly difficult shots await. Perfect your timing and accuracy to earn fantastic rewards that will help boost your Baller's capabilities.

Game Play Mechanics

The game features intuitive yet challenging shooting mechanics. You'll need to master the timing-based shooting system where precision determines success. Each match requires strategic thinking about when to shoot, when to defend, and how to position yourself for the perfect dunk.

Economy and Progression

Every match victory rewards you with coins that fuel your progression. Spend earnings wisely on pack openings to unlock new content, or invest in outfit upgrades to personalize your Baller. The game's economy creates a satisfying loop of play, earn, and upgrade.

Operation Guide

Basic Controls

  • A and D Keys : Move your Baller left and right around the court
  • A/D + Hold : Jump in the desired direction for dunks and defensive plays
  • Spacebar : Initiate shooting sequence
  • Spacebar Timing : Hold spacebar until the power bar hits the orange marker for perfect shots

Shooting System

Mastering the shooting mechanic is crucial for success. When you press and hold spacebar, a power meter appears with an orange target zone. Release spacebar precisely when the indicator hits the orange marker to achieve perfect accuracy. Early or late releases will result in missed shots.

Match Strategy

Position yourself strategically on the court. Use the A and D keys not just for movement, but for jumping and blocking opponent shots. Timing your jumps for rebounds and defensive plays is just as important as perfecting your shooting technique.

Why Play Dunkers 2

Completely Free Experience : Enjoy full access to all game features without any payment requirements. The entire Dunkers 2 experience is available at no cost.

Cross-Platform Compatibility : Play seamlessly on computers, smartphones, and tablets. Your progress and customizations stay with you across all devices.

Addictive Progression : The combination of skill-based gameplay and rewarding progression creates an experience that's easy to start but hard to put down.

Perfect for Quick Sessions : Each match is fast-paced and exciting, making it ideal for both short breaks and extended gaming sessions.

Competitive Depth : While simple to learn, the game offers surprising depth through its ranking system, customization options, and skill-based mechanics that reward dedicated players.

Frequently Asked Questions (FAQ)