Ruins of Edis

Info

Project type: Unity Game

Timeframe: 2022

Video

Product Overview

A relaxing desert driving game about following a blue light around the ruins of a long lost civilization. Stay within the light or be lost to the desert.

Project Overview

For this project, I was a responsible for the car's controls and physics. I also helped with programming the terrain generation script.

Code

Controls

The drifting system uses a "force angle" which describes the angle relative to the forward direction in which the car should apply force. This allows the direction while drifting to be changed to be somewhere to the side of the car for it to slide properly.

Terrain Generator

To make the terrain generation extensively configurable, we used a whole collection of stacked animation curves and multipliers. These were then applied to the result of a perlin noise function to create a heightmap, which can then be applied to one or more terrain objects.