IT201-450-Project1-AshutoshChalise
The Dirt Motorcycle Game lets users control a 3D dirt bike across a rugged terrain filled with hills and ramps. The user can drive the bike using the arrow keys and brake with the spacebar. The game provides an immersive experience with switchable camera views (first and third person), a live speedometer, and a reset button in case the bike flips or gets stuck. Designed to encourage interaction, the UI allows intuitive gameplay using buttons and real-time feedback elements.
5) Features:
Feature 1: Bike Movement
Input: Arrow Keys:
↑ - Move forward
← - Turn left
→ - Turn Right
SpaceBar - Brake
Process: The bike moves forward and turns right/left using rigidbody physics and spacebar resets motion or stops the bike
Output: Realistic dirt bike movement across terrain
Feature 2: Camera View
Input: Click on the UI Button
Process: Camera view switches between third-person and first-person view
Output: Camera angle changes in real-time gameplay
Feature 3: Reset Bike Position
Input: Press R on the keyboard
Process: Repositions the bike to a defined safe spot and zeroes its velocity
Output: Bike returns to the starting location when stuck or flipped
Feature 4: Speedometer on/off
Input: Press S on the keyboard
Process: Uses the bike’s Rigidbody velocity to compute the current speed and show it on the screen
Output: Shows or hides the speedometer