1.7.3 displaying state of game on last shutdown
by K. Anderson · in Torque Game Builder · 05/27/2008 (12:22 am) · 3 replies
While working on a project I'm swapping between levels and have different gui windows popping up etc. What i've found is what i'm assuming to be an artifact after closing down the game, either through the console, the x in the corner or shutting down the debugging in torsion. The scene from the last time the game was running shows as the game starts up the next time, it's replaced after about a second with the main menu. Usually it shows the scene as it was, other times its just a mess of colors before the main menu kicks in at the startGame() func like normal.
I've tried adding in the resetCanvas command to the endgame and onExit to no avail. It will clear the scenegraph, but if any menus were up on quitting those are still there on the next startup. Cleaning the dso's also doesn't appear to have any effect.
I've tried adding in the resetCanvas command to the endgame and onExit to no avail. It will clear the scenegraph, but if any menus were up on quitting those are still there on the next startup. Cleaning the dso's also doesn't appear to have any effect.
#2
06/04/2008 (2:58 pm)
I believe that's the graphics buffer contents being shown. The fix is to make sure you show something on the Canvas (even a plain black GUI) immediately when the game starts, before you load datablocks and scripts.
#3
Cheers
12/16/2009 (5:34 pm)
Having the same issue. Where and how? I tried a resetCanvas(); game\main.cs. Still starting with Artifacts. Odd thing is it only started happening today.Cheers
Torque Owner K. Anderson