Game Development Community

Persistant option causes game to crash

by Adrian Leigh Gordon · in Torque Game Builder · 06/09/2009 (1:59 am) · 1 replies

Maybe i'm not understanding how this option works properly, but I was under the impression if I made my player persistant, he would keep his current health, points, etc between levels.

However, when I turn on the option, the game then crashes on startup every time.

Any ideas anyone? Cheers

TGB 1.7.4, running Vista Home Premium.

#1
06/12/2009 (9:02 am)
The other option is to do not use the persistant option and load your player each time a new level is loaded. You may keep his health, points, etc., as global variables and I think that should be better and keep the game safe.