Skip to content

Project Practicum Report Year 2 Semester 2 in Information Technology Engineering of Royal University of Phnom Penh

Notifications You must be signed in to change notification settings

MyKhode/Ikhode-Publish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Ikhode-Publish

Development of a Racing Game with Traffic Simulation

Abstract

This project focuses on developing a realistic racing game integrated with a traffic simulation system. The game aims to mimic real-world driving conditions, requiring players to follow traffic laws, including driving on the correct side of the road, using turn signals, and stopping at red lights.

Table of Contents

  1. Introduction
  2. Literature Review
  3. Methodology
  4. Results
  5. Discussion
  6. Conclusion
  7. References
  8. Appendices

Introduction

This project explores the development of a racing game with an integrated traffic system. The game aims to simulate real-world driving conditions, where players must adhere to traffic laws, such as driving on the correct side of the road, using turn signals, and stopping at red lights.

Literature Review

A review of existing literature on racing games and traffic simulations was conducted. Various traffic simulation techniques were analyzed, and different game development tools and frameworks were compared to determine the best approach for this project.

Methodology

Tools and Technologies

  • RVP (Vehicle Controller): Randomation Vehicle Physics by JustInvoke
  • UI Template: Gamepad Navigation, Scroll Views, and Selection Groups
  • Scene Transitions: Easy Transitions
  • Game Engine: Unity
  • Database: MySQL with PHP for database interaction
  • Email: Google API SMTP with PHPMailer for password reset requests
  • Graphics: Unity's URP template and measured material library
  • 3D Models: Car models from SnowWall via Free3D
  • Mapping: GIS world map with shapefile of Cambodia for the project blueprint

Design

The game design includes the following elements:

  • Game Concept and Design Principles: Focus on realism and adherence to traffic rules.
  • Level Design and Environment Setup: Creation of urban and suburban environments.
  • Vehicle Design and Physics: Realistic vehicle behavior using RVP.
  • AI for Traffic and Player Vehicle Control: AI-driven traffic that interacts with the player's vehicle.

Authentication

Login
Register
Request Reset Password

Mode & Sense Selection

Implementation

The implementation phase involved:

  • Developing core gameplay mechanics.

  • Coding traffic laws and driving rules.

  • Integrating AI for realistic traffic behavior.

  • Performance Optimization

    • Level of Detail (LOD):
  • LOD Image 1 LOD Image 2 LOD Image 3 LOD Image 4 LOD Image 5
  • Utilizing Unity's new input system for improved control.

Testing

  • Unit testing for individual components.
  • Integration testing to ensure smooth interaction between game elements.
  • User acceptance testing to gather feedback and make necessary adjustments.
    • The UI is well-designed, allowing control via keyboard, mouse, gamepad, and game controller, making it user-friendly.
    • Gameplay currently features a single camera position (not inside the car yet) but includes functions like blinkers, enhancing the player's experience.

Results

  • The final game features realistic traffic behavior and a challenging racing environment.
  • It deducts 10 points for traffic violations or rule infractions.
  • The transitions are visually appealing.
  • While the graphics are not as realistic as HDRP, the URP graphics are impressive.
  • The game maintains a smooth performance, running at 90 to 110 FPS.

Conclusion

  • This project successfully developed a racing game that simulates real-world traffic conditions, offering a unique and challenging experience for players.
  • Although the game is nearly complete, further improvements, such as restructuring the database and enhancing the UI for better graphics, are planned for the next month.

References

  • Books, research papers, and articles on traffic simulation and game development.
  • Documentation for Unity, RVP asset, and the new Unity input system.

Created by [Ikhode Arena]
Advisor: [BunChhun]
Date: [28/07/2024]

About

Project Practicum Report Year 2 Semester 2 in Information Technology Engineering of Royal University of Phnom Penh

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published