Speed and Debug

Blitz3D Forums/Blitz3D Programming/Speed and Debug

Nicstt(Posted 2004) [#1]
Been a while since I did any programming.

At onetime running the program I have in debug mode was satisfactory, seems to be a new debug system (new to me) and the game crawl along at a snails pace, using a slightly faster computer too.

Anything I can look out for that will help, its a 2d game, not 3d.


IPete2(Posted 2004) [#2]
Nicoust,

In DeBug mode it will be slower. Once you are happy with the code just switch debug mode off. Then watch it Whizzzzzz!

Also if you are using text on screen in any way shape or form, don't use the normal version built into Blitz...use
someones font functions. The font stuff (text x,y,S$) stuff in DirectX is very slow.

There are a number of functions and systems available to make this very quick. I know Shawn Swift's stuff is good, there may be others - look in the code archives or search for fonts/text.

IPete2.