Route
Project Info
Developed For: University (Computer Graphics Coursework)
Platforms: Windows
Responsibilities: Programming, Design, asset preparation
Tools: C++, Win32 API, OpenGL
Team size: 1
Time Frame: 3 months
Introduction
‘Route’ is a game developed using C++ and OpenGL. In this game, players control a car moving along a pre-constructed path to collect coins and reach the end of the track. It was built on a template provided by the university, so it wasn’t created entirely from scratch. My contributions included writing shaders for various effects, programming the gameplay mechanics, and setting up the scene, etc.
User Guide for Demo
Here are some of the main features of this game:
Use A and D keys to steer the car left and right, respectively.
Press the H key to toggle the scene between night and daylight modes.
Press the F key to toggle the car’s headlights on and off.
Press the V key to change the game’s view.
- When in free view mode, use the WASD keys and mouse movement to navigate the scene.
Main Features
Here are some of the main features of this game:
The path the car follows consists of several connected segments, which can be a line, an arc, or a Bézier curve.
A basic particle system was created to render a rain effect in the game. It utilizes instance rendering and includes various properties like particle speed, size, spawn shape, color, texture, and more.
An outline shader is created for UI text, featuring properties such as text and outline color, outline width, and more.
Some static objects, like coins, are rendered using instance rendering.
- There are five views: behind the car, to the left of the car, to the right of the car, above the car, and a free view.