Posted By: Knuckles
Stopping levels from running and changing levels - 09/18/07 04:05
How do I switch between levels effectively? When I want to switch a level, I don't want the previous level to still be running and use up resources. So how do I stop one level from running so the other can run?
Posted By: Shadow969
Re: Stopping levels from running and changing levels - 09/19/07 12:23
previous level will be terminated automatically when you load a new one(level_load)
Posted By: Knuckles
Re: Stopping levels from running and changing levels - 09/19/07 12:52
Even the functions associated with the previous level?
Posted By: Knuckles
Re: Stopping levels from running and changing levels - 09/20/07 20:58
Alright, I do not know what is going on... When I try to change levels, the level loads, but the game freezes. It's zoomed in using the camera that's in the WMB file. Yet, when I call the level from the startup() function, everything works fine. The camera works and everything. I don't see what the difference is. It's not calling any other function but that one.
It is hard to explain what I mean, if this sounds confusing, so I would be more than happy to email the source code to someone who is willing to help me figure it out to show you what I mean. At this point, I am stumped at what the problem could be.