A high-speed physics-based vehicle avoidance game. Drive a BMW X5 through challenging courses, avoid obstacles, and set high scores.
- Physics-Driven Handling: Utilizes Unity's Rigidbody system for realistic vehicle momentum.
- Dynamic Scoring: Distance-based progress tracking.
- Collision Mechanics: Instant game-over and restart logic upon hitting obstacles.
- Responsive Controls: Optimized 'A' and 'D' key inputs for precise maneuvering.
To develop or modify this game, you will need:
- Unity Editor: Version
5.4.0f3(Original) or a compatible modern version. - Visual Studio: 2017, 2019, or 2022 with the "Game development with Unity" workload.
- Git: For version control.
- Open Unity Hub.
- Click Add and select the
Build/gamefolder. - Open the project (allow Unity to resolve any version upgrade prompts if using a newer version).
- In the
Projectpanel, navigate toAssets/. - Double-click
level1.unityto load the main level.
- Click the Play button at the top center of the Unity Editor.
- Use A to move left and D to move right.
- Go to File > Build Settings.
- Click Add Open Scenes to ensure
level1is included. - Select PC, Mac & Linux Standalone.
- Set Target Platform to
Windows. - Click Build, create a new folder named
Builds, and save your executable there.
Assets/Script/: Core C# logic for movement and game flow.Assets/Materials/: Textures and shaders for game objects.ProjectSettings/: Unity engine configuration.