Game Development Community

Loading Screen before game starts (urgent)

by EfrenStudios · in Torque Game Builder · 04/29/2011 (4:53 pm) · 4 replies

Hello again community,

I wonder how I can create a loading screen that works before the game starts to loading the game assets.

I am ok with the load everything the assets at the beginning, but it takes like a 15 to 25 seconds and for some users is confusing because they think the game doesn't work, and the truth is it just need a Loading Screen.

I have read documentation and I don't find any clue how to do this, maybe with the GUI, maybe with some "onLoad" event, maybe with something more, the thing is that I really not sure how to do it.

Could anybody help me with this issue?

I am about to publish my first game and I really need to have this in ASAP, so, if anyone can help me I will really appreciated!

Thanks in Advance!

About the author

I worked on a outsourcing videogame company on the past but now I am want to make my own games, after years trying I hope to finally do it with Torque Blessing Help! http://efrenstudios.daportfolio.com/


#1
05/02/2011 (9:16 am)
I recently discover that the GuiDefaultProfile.gui is responsible of making the slow begin of my game (tooks like 20 seconds!).

I figured 2 posible solutions to my problem:
1.- Speed up the GuiDefaultProfile.gui load (somehow)
2.- Make a loading screen with a GUI (I already tried this but the main problem is the consuming time of GuiDefaultProfile.gui).

Could somebody give me a clue of what to do?
#2
05/02/2011 (1:32 pm)
Does anybody have a documentation to see all the calls/functions to the Canvas?

Canvas.setcontent... Canvas.setcursor... canvas.???

I really need help :(.
#3
05/02/2011 (3:04 pm)
Maybe you find something here
#4
05/02/2011 (3:43 pm)
Yes, was really helpful! Thanks! (Unbelievable, I almost finish a publish game and I never saw that site)

http://tdn.garagegames.com/wiki/TGB/Reference:_GuiCanvas

The only solution I find is to put a "setCanvasTitle("Loading... (Wait a moment please)");" before the "exec("~/gui/profiles.cs");" instruction :(.

That was not what I want, but I don't find another solution.

Thanks Bojan!