Load Times: Creating a Loading Screen In Unity(Game Dev Day 66)

Jack Leavey
Jan 22, 2022

--

Having wrapped up the game itself and making a main menu, I needed to have some visual feedback to let the player know when they press the “Start” button that the game is in fact loading. Enter the loading screen.

Fully loaded load screen.

The visuals are simple enough, but linking the loading bar to the actual percentage of assets loaded is what makes it functional.

These two libraries are required for the desired functionality.
This IEnumerator controls the logic to link the bar to the actual assets loaded. It is called on void Start.

All in all, a very simple implementation, but a welcome one nonetheless. I don’t want players staring at the main menu and wondering if the game crashed while waiting for it to load.

--

--

Jack Leavey
Jack Leavey

Written by Jack Leavey

I am a software engineer with years of experience branching into game development, specifically in Unity. Follow along for guides on creating game mechanics!

No responses yet