Sprite System Update

BlitzMax Forums/BlitzMax Programming/Sprite System Update

Liquid:
I am currenty programming a game using the system, so there will be more updates as I need different features.

Is the system fast? Fast enough to render over 1000 sprites per frame. As fast as Blitzmax is at drawing images normally.

Are collisions fast? They should be more than fast enough. They use the collision functions provided by Blitzmax, and those check bounding rects before they do the pixel perfect tests.

Will I add more collision functions? Maybe. As I mentioned above, I like the idea of being able to automatically call a function when a collision occurs. And I might add a point collision wrapper for the rect collision function.

Documentation? Each function has a block of comments above it, and there are other comments strewn about the code. ZSprite's docs are the same thing really, except he formatted his comments in a way which is compatable with the Max help system. I think the format the help system requires for comments looks messy though. So I chose to have the code be neat over seperate help docs.

Examples? There's a few examples with my system, but not many. I don't have time to write lots of examples, and there's really no need for them. The system is very simple to use. If you can't figure it out fairly easily after looking at the examples I provided to give you the basic jist of how things work, might I suggest you take up knitting? :-)

DX and OpenGL? Yes. Both. My system draws sprites with the same Max image functions you have access to. ZSprite on the other hand calls OpenGL functions. It probably does not work with DirectX.