Game Development Community

Loading and unloading levels

by Gavin Beard · in Torque X 2D · 04/06/2009 (9:58 am) · 4 replies

Hi guys

I am in the process of using a level file as a menu system, mostly as there doesnt seem to be a gui editor for xna, The issue i'm having is that if i have a level loaded, and i load the next level, the old data is not cleared, i unload the last scene and load the next one I just get a black screen, is there something Specific I should be doing?

Many thanks

#1
04/06/2009 (11:16 am)
You may want to check out this thread:
www.garagegames.com/community/forums/viewthread/74103

Brian
#2
04/06/2009 (1:41 pm)
ahhh....many thanks. got it working :-)
#3
04/06/2009 (4:59 pm)
No problem... I'm starting to build a library of questions / solution posts. Should probably publish a FAQ or something on TDN. <Grin>

Brian
#4
04/07/2009 (12:38 am)
lol, may well not be a bad idea :-)