Thursday, 21 December 2017

Overhead road creation

My storyboard sketch called for a long initial overhead section where a bike is driving for a long period.

In practice, creating a large level like this is impractical and time consuming, so I came up with a solution.

I used an 'infinite runner' game tutorial to allow me to create an infinite 'rolling road' that the camera could follow the bike along for as long as required without creating a large unwieldy level.

A section of the road used is shown below. It contains all the environment details required such as the road, buildings and lighting.


This road section will continue to spawn in front of the moving bike for as long as required due to how it is set up.

A trigger box at the end of each section detects when the bike reaches this point and spawns a new road section ahead of the bike off-screen. The blueprint for this is below.


To avoid the road sections looking too similar and to add some dynamic and interesting elements to the scene, the buildings will always be different sizes, so that it's not just a flat wall of buildings along the edges.

This is achieved with construction script within the road blueprint. This code executes whenever a new road section is spawned in, ensuring new and interesting results every time.


And here is a shot of the final overhead view with added post process outline for a futuristic neon wireframe effect.


No comments:

Post a Comment