Problems when Exiting

Blitz3D Forums/Blitz3D Programming/Problems when Exiting

elseano(Posted 2004) [#1]
I'm working on a shoot 'em up at the mo. I've done about 1 and a half levels and pretty much everything is going fine apart form one, big, bad bug. Basically what happens is, when I run the program, I get no errors, and if I try to close the game at the title screen, it just closes quickly. but, if I get into the main game, and then I exit, the game can take up to 3 minutes to close, and sometime sit doesn't even close at all =/
Can you tell me why this is happening? The zipped file containing all code and media is here:

Tempral Storm V0.3 [zipped]

Thanks in advance.

BTW, this only shows on level and it just skips straight to the boss, if you're wondering.


eBusiness(Posted 2004) [#2]
Whenever either the boss or the player is burning, a memory leak of about 600 kB pr frame will start, on my machine the framereate does at the same time drop to about 1 frame/sec. I guess there is some routine creating massive amounts of types when mantioned situation occour.


elseano(Posted 2004) [#3]
Ok then. I'll try optimising the code a bit.