mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Fixes the splash screen so that it displays until the game has actually done initial setup and can display GUI elements. This prevents the ugly blank window just sitting there while the GUI loads.
This commit is contained in:
parent
8390c4159f
commit
c2da67d473
11 changed files with 74 additions and 6 deletions
|
|
@ -29,6 +29,12 @@ function loadStartup()
|
|||
// The index of the current splash screen
|
||||
$StartupIdx = 0;
|
||||
|
||||
// As we know at this point that the initial load is complete,
|
||||
// we can hide any splash screen we have, and show the canvas.
|
||||
// This keeps things looking nice, instead of having a blank window
|
||||
closeSplashWindow();
|
||||
Canvas.showWindow();
|
||||
|
||||
// A list of the splash screens and logos
|
||||
// to cycle through. Note that they have to
|
||||
// be in consecutive numerical order
|
||||
|
|
|
|||
|
|
@ -29,6 +29,12 @@ function loadStartup()
|
|||
// The index of the current splash screen
|
||||
$StartupIdx = 0;
|
||||
|
||||
// As we know at this point that the initial load is complete,
|
||||
// we can hide any splash screen we have, and show the canvas.
|
||||
// This keeps things looking nice, instead of having a blank window
|
||||
closeSplashWindow();
|
||||
Canvas.showWindow();
|
||||
|
||||
// A list of the splash screens and logos
|
||||
// to cycle through. Note that they have to
|
||||
// be in consecutive numerical order
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue