Dude Perfect 2 - Physics Basketball Game

Seele01-Flash
By
Dude Perfect 2 is an exciting physics-based basketball game featuring trick shots and challenging levels. Master the art of smart shooting to score points across tons of unique maps and scenarios.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Dude Perfect 2: Trick Shot Physics". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Cartoon "Low-Poly" aesthetic. Use vibrant, saturated colors (Cyan sky, Bright Orange basketball, White snow). The game should look like a 3D scene played from a side-view perspective. * **Key Models**: * **The Shooter**: A simplified low-poly character model wearing a backward cap and sporty t-shirt (referencing the Dude Perfect crew). * **The Ball**: A high-contrast orange basketball with clear black lines (to show rotation). * **The Hoop**: A metal rim with a stylized white net. * **Obstacles**: Wooden crates (breakable), Ice blocks (low friction), and Metal plates (high bounce). * **Environment**: A snowy mountain resort background (based on the reference image) with simple pine trees and snow mounds. * **Performance Optimization**: Use primitive geometries (BoxGeometry, SphereGeometry) where possible to minimize draw calls. Use baked lighting or a single DirectionalLight with soft shadows. No complex textures; use vertex colors or simple materials. ### 2. Audio Requirements * **BGM**: High-energy, upbeat Pop-Rock track with a driving drum beat and electric guitar riffs, evoking a "YouTuber intro" or "Sports Highlight" vibe. * **Sound Effects (SFX)**: * **UI**: crisp "Pop" sounds for button presses. * **Gameplay**: A "Whoosh" sound on ball release, a heavy "Thud" for wall collisions, a metallic "Clank" for rim hits, and a satisfying "Swish" for a perfect shot. * **Victory**: An enthusiastic crowd cheering effect ("YEEAAH!") when a level is completed, mimicking the Dude Perfect celebration style. ### 3. Gameplay Loop * **Core Mechanic**: Physics-based trick shots. The player does not control the character's movement, only the trajectory and power of the basketball shot. * **Objective**: Get the basketball into the hoop using a limited number of balls (e.g., 3 balls per level). * **Puzzle Elements**: The hoop is often blocked or placed in hard-to-reach spots. The player must bank the ball off walls, knock over obstacles, or hit triggers to clear the path. * **Win/Loss**: * **Win**: Ball passes downwards through the hoop trigger. Award 1-3 stars based on balls remaining. * **Loss**: Running out of balls without scoring. ### 4. Mobile Controls & Interaction * **Control Scheme (Slingshot/Drag-to-Shoot)**: * **Input**: The user touches anywhere on the screen and drags backward to aim (inverted drag). * **Visual Feedback**: Display a **dotted trajectory line** (raycast prediction) that shows the initial arc of the ball based on the current drag tension and angle. This is crucial for mobile precision. * **Screen Orientation**: **Landscape** mode preferred to allow a wider view of the puzzle layout. * **Camera**: Fixed side-view camera (OrthographicCamera preferred for 2D gameplay feel, or PerspectiveCamera with a fixed Z-offset) that slightly pans to follow the ball's flight. * **UI Elements**: Large, thumb-friendly buttons (min 44px) for "Pause," "Restart Level," and "Next Level." * **Haptic Feedback**: Trigger a short vibration (if supported) 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 excitement of physics-based basketball trick shots to your browser. This engaging sports game challenges players to score points by shooting smartly across tons of levels and maps. With its colorful cartoon graphics and realistic physics engine, the game offers endless entertainment for basketball fans and puzzle lovers alike.

The game features a cheerful cast of characters and environments that make each level feel fresh and exciting. From simple shots to complex multi-bounce scenarios, every level presents a unique challenge that requires both skill and strategic thinking.

Core Features

Physics-Based Gameplay

Experience realistic ball physics that make every shot feel authentic. The ball bounces, rolls, and flies according to real physics laws, making timing and angle crucial for success.

Tons of Levels and Maps

Explore a vast collection of levels, each with unique obstacles, targets, and challenges. From outdoor courts to indoor arenas, every map offers a different basketball experience.

Smart Shooting Mechanics

Success isn't just about power - it's about shooting smartly. Analyze each level's layout, use environmental elements to your advantage, and find the perfect angle for that satisfying swish.

Colorful Graphics

Enjoy bright, cartoon-style visuals that bring the game world to life. The cheerful character designs and vibrant environments create an inviting atmosphere for players of all ages.

Progressive Difficulty

Start with simple shots and gradually work your way up to complex trick shots that require multiple bounces, perfect timing, and creative problem-solving.

Game Mechanics

The core gameplay revolves around physics-based basketball shooting. Players must consider factors like:

  • Trajectory : Calculate the perfect arc for your shot
  • Power : Apply just the right amount of force
  • Environmental Elements : Use walls, platforms, and obstacles to your advantage
  • Timing : Some levels feature moving targets or obstacles
  • Strategy : Plan multi-bounce shots for maximum points

Operation Guide

Playing Dude Perfect 2 is intuitive and accessible:

  • Mouse Controls : Click and drag to aim your shot
  • Power Adjustment : The longer you drag, the more power you apply
  • Release : Let go to shoot the basketball
  • Angle Planning : Use the trajectory line to plan your shot
  • Level Navigation : Use on-screen buttons to navigate between levels

The game's simple controls make it easy for anyone to pick up and play, while the physics-based mechanics provide depth for those seeking to master every shot.

Why Play This Game

Dude Perfect 2 offers the perfect blend of sports action and puzzle-solving. Whether you're a basketball fan looking for a casual gaming experience or a puzzle enthusiast who enjoys physics-based challenges, this game delivers entertainment for everyone.

The game's completely free nature means you can enjoy all levels and content without any cost. It runs smoothly in your web browser without requiring downloads or installations, making it accessible anytime, anywhere.

Each successful shot provides a satisfying feeling of accomplishment, especially when you nail a particularly challenging trick shot. The progressive difficulty ensures you're always learning and improving your skills.

Perfect for All Players

This game appeals to: - Basketball enthusiasts who enjoy the sport in digital form - Puzzle game fans who like physics-based challenges - Casual gamers looking for quick, fun sessions - Players who appreciate colorful, family-friendly graphics - Anyone who enjoys skill-based games with immediate feedback

Frequently Asked Questions (FAQ)