don't know why just using nSprite for bmp fonts would slow it down like that then... Hmmm anyways going to convert over to using nSprite for everything, and see if I can get it back up to speed again. It was running fine full speed movement for player, shooting and everything, then I added the bmp fonts using nSprite, and now over time it starts slowing stuff down, and sometimes misses an input on the mouse button press, also, there is a mem leak somewhere, because it only gradually start slowing down, then when I try to exit using ESC, it doesn't exit sometimes, winblows just says not responding in the title bar.
Anyways I am just trying to help, if there is some leak somewhere, all I am using is the initialize, cls, createstring, ns_text functions. In the gamesetup which is called everytime you change levels I call ns_freeall() first, then do the camera, and setup ns_init then in my showinfo function, called every cycle through game loop, I do a createstring to build the timer string, and ns_text to display it. That is the only thing different.
Any ideas ?
Anyways I am just trying to help, if there is some leak somewhere, all I am using is the initialize, cls, createstring, ns_text functions. In the gamesetup which is called everytime you change levels I call ns_freeall() first, then do the camera, and setup ns_init then in my showinfo function, called every cycle through game loop, I do a createstring to build the timer string, and ns_text to display it. That is the only thing different.
Any ideas ?