Leadwerks Game Engine

Leadwerks Game Engine

Not enough ratings
Simple Loading Screen Example
   
Award
Favorite
Favorited
Unfavorite
Type: Script
File Size
Posted
2.762 KB
7 Mar, 2019 @ 9:04pm
1 Change Note ( view )

Subscribe to download
Simple Loading Screen Example

Description
A pretty simple script to give an idea on loading screen creation.

For this example, whenever the ChangeMap function is called, the loading screen will open up and the map will change. The loading screen will either be Image-Based or Drawn by the game

To use this script, simply do the following:
1. Open your Main.lua
2. Add import("Scripts/loading/Loading_Screen.lua")
3. Replace
if changemapname~=nil then
...
end
with
if ShouldChangeMap() then
4. Add end to the very bottom of the code