Dude Perfect 2

Seele01-Flash
By
Dude Perfect 2 is an exciting physics-based basketball game where you master the art of trick shots across dozens of creative levels and maps. Use smart shooting strategies to score points and complete increasingly challenging basketball puzzles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Trick-Shot Basketball Puzzle". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a vibrant, casual cartoon aesthetic similar to Miniclip games. Use a bright color palette with high saturation (e.g., bright orange basketball, clear blue skies, crisp white snow). * **Characters & Objects:** * **Shooter:** A stylized, low-poly character model wearing a backward cap and a jersey, positioned on the left or bottom-left of the screen. * **The Ball:** A classic orange basketball with a clear black line texture. * **The Goal:** A basketball hoop with a semi-transparent net and a solid backboard. * **Obstacles:** Create "physics puzzle" elements: wooden crates (breakable), metal beams (bouncy), ice blocks (slippery), and a "Snowman" blocker that acts as a static obstacle. * **Environment:** A winter-themed ski resort setting. Use a simple gradient skybox (light blue to white). Add low-poly pine trees and distant mountain silhouettes in the background. * **Mobile Optimization:** Use `THREE.BoxGeometry` and `THREE.SphereGeometry` for most assets to keep polygon count low. Use simple Lambert or Toon materials instead of expensive PBR materials. Shadows should be baked or limited to the main character/ball to maintain 60 FPS on mobile devices. ### 2. Audio Requirements * **BGM:** Upbeat, energetic pop/rock track with electric guitar riffs and a driving drum beat (simulating a YouTube "stunt compilation" vibe). * **Sound Effects (SFX):** * **UI:** A "click" sound for menu selection, a "whoosh" sound for scene transitions. * **Gameplay:** * *Throw:* A satisfying "swish" or air-cutting sound. * *Bounce:* Distinct sounds for ball hitting wood (thud), metal (ping), and ice (glassy slide). * *Score:* A loud cheering crowd sound effect combined with an air-horn blast upon a successful basket. * *Fail:* A comical "aww" or buzzer sound when running out of balls. ### 3. Gameplay Loop * **Core Mechanic:** A physics-based projectile puzzle game. The player launches basketballs to hit the hoop. * **Level Design:** The hoop is placed in tricky locations, blocked by obstacles. The player must use "bank shots" (bouncing off walls/objects) or interact with the environment (e.g., knocking over a crate to clear a path) to score. * **Victory Condition:** Successfully sinking the ball into the hoop within a limited number of attempts (e.g., 3 balls per level). * **Scoring:** 1-3 Stars rating system based on how few balls were used. * **Physics:** Implement a robust 2D physics engine (like Matter.js or Cannon.js integrated with Three.js) where gravity, restitution (bounciness), and friction play a major role. The ball should feel heavy but bouncy. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape Mode** only, to allow a wide view of the trajectory and the target. * **Control Scheme:** "Slingshot" or "Drag-to-Aim" mechanic. * *Touch & Drag:* Touch anywhere on the left side of the screen (near the character) and drag backwards to aim. * *Visual Guide:* Display a dotted trajectory line (prediction path) showing the arc of the ball based on the current drag intensity and angle. * *Release:* Lift finger to shoot the ball. * **Camera:** The camera should start focused on the shooter, and upon release, smoothly pan to follow the ball's flight, then zoom in slightly on the hoop if a score is imminent. * **UI Elements:** * Large, thumb-friendly "Pause" and "Restart" buttons (min 48x48px) in the top corners. * A "Ball Count" indicator (e.g., 3/3 basketball icons) clearly visible at the top center. * Haptic Feedback: Trigger a short vibration when the ball hits the rim or scores. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Dude Perfect 2 brings the thrill of trick shot basketball to your browser in this engaging physics-based sports game. Building on the success of creative basketball challenges, this game offers tons of levels and maps where precision, timing, and smart shooting strategies are key to success. Whether you're a basketball fan or puzzle game enthusiast, Dude Perfect 2 delivers hours of entertaining gameplay completely free.

Core Features

This physics basketball game stands out with several exciting elements:

  • Realistic Physics Engine : Every shot follows authentic basketball physics, making each throw feel natural and rewarding
  • Tons of Levels : Explore dozens of unique levels, each with distinct challenges and obstacles
  • Creative Maps : Play across varied environments from gyms to outdoor courts and creative fantasy locations
  • Smart Shooting Mechanics : Success requires strategy - analyze angles, power, and timing for perfect shots
  • Progressive Difficulty : Start with simple shots and advance to complex trick shot challenges
  • Free Browser Play : No downloads required - play instantly in any modern web browser

Physics-Based Basketball Action

The game's advanced physics engine makes every shot feel authentic. Balls bounce realistically off rims, backboards, and obstacles. You'll need to master arc trajectories, account for gravity, and use bank shots strategically to succeed in trickier levels.

Diverse Level Design

From traditional basketball courts to imaginative fantasy settings, each map presents unique challenges. Navigate moving platforms, bounce off trampolines, avoid obstacles, and find creative paths to sink impossible shots.

Game Mechanics

Dude Perfect 2 combines sports action with puzzle-solving elements:

  • Aim and Power : Use your mouse to aim and determine shot power
  • Physics Calculation : Consider ball weight, gravity, and momentum for each shot
  • Environmental Interaction : Use ramps, bounces, and moving objects to your advantage
  • Scoring System : Earn points based on shot difficulty and completion time
  • Level Progression : Unlock new maps by successfully completing previous challenges

How to Play

Getting started with Dude Perfect 2 is simple:

  1. Mouse Controls : Click and drag to aim your shot, release to shoot
  2. Power Adjustment : Pull back further for more powerful shots
  3. Angle Calculation : Study the level layout and plan your trajectory
  4. Obstacle Navigation : Use environmental elements creatively to reach the basket
  5. Score Goals : Successfully sink the basketball to complete each level
  6. Progress Forward : Advance through increasingly challenging maps and scenarios

Why Play This Game

Dude Perfect 2 offers the perfect blend of sports action and brain-teasing puzzles. It's ideal for:

  • Basketball Fans : Experience realistic shooting physics and trick shot challenges
  • Puzzle Lovers : Solve increasingly complex trajectory and timing puzzles
  • Casual Gamers : Enjoy pick-up-and-play sessions with no learning curve
  • Physics Enthusiasts : Experiment with realistic ball physics and environmental interactions
  • All Ages : Family-friendly content suitable for players of all skill levels

The game provides instant gratification with each successful shot while building long-term engagement through progressive difficulty and creative level design. Perfect for quick gaming sessions or extended play periods.

Frequently Asked Questions (FAQ)