Slowdown between the starting menu and the game

Blitz3D Forums/Blitz3D Programming/Slowdown between the starting menu and the game

3DFish(Posted 2005) [#1]
I get a weird slowdown in game loading time.
This only happens when I spent more time on selecting
some options in the menu of my game.

The longer time I spent in the menu, the longer I have to wait before the screen is rendered the first time after loading the game.

Does anyone have any suggestions?


GfK(Posted 2005) [#2]
Memory leak would be my first guess. Check your type collections, images etc.


KuRiX(Posted 2005) [#3]
Exactly, you are for example reloading the same image lot of times without freeing the old one. Or something like that...


3DFish(Posted 2005) [#4]
I see..So a memory leak will slow down the process?
I'll have a look at my images, maybe I didn't free all of them

Thanks


IPete2(Posted 2005) [#5]
3DFish,

Check out loading of things such as sounds, you only need to load them once or play them straight off the hard drive.

If you continue to load stuff which has already been loaded you will quickly fill up available resources.

IPete2.