nSprite 1.0.0 Released!

Miscellaneous Forums/Blitz Showcase/nSprite 1.0.0 Released!

StOrM3:
Yeah, you must use nS_Cls since it repositions everything correctly. That is if you draw everything each frame. However, if you don't change what's on screen very often, you can only display it once and it will stay there.

With all formats (its a 3D spec), black (0,0,0) is transparent in textures. You can also use my nS_MaskImage command (which is slow) to have another transparent color, but black will always remain transparent.
But with PNG and TGA you can also have an alpha channel for opacity, but you have to load the sprite as a power of 2. If the image is not a power of 2, it will be distorted. So you have to load it with nS_LoadImage(file$, 2 (alpha), True (power of 2)).

Textures are loaded by default, which I think is system memory (maybe some knows more about this?).

For the slow down, I don't know, it shouldn't as nothing is done (created, etc) each frame. But maybe you get a slow down in the FPS demo over time since it creates new bullet holes and never clear the old ones.

And, thanks :D

jfk:
Thanks a lot!