Route

icon

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:

  1. Use A and D keys to steer the car left and right, respectively.

  2. Press the H key to toggle the scene between night and daylight modes.

  3. Press the F key to toggle the car’s headlights on and off.

  4. Press the V key to change the game’s view.

  5. 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:

  1. The path the car follows consists of several connected segments, which can be a line, an arc, or a Bézier curve.

  2. 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.

  3. An outline shader is created for UI text, featuring properties such as text and outline color, outline width, and more.

  4. Some static objects, like coins, are rendered using instance rendering.

  5.  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.