B3DSDK Sprite Surface V1.0

Archives Forums/Blitz3D SDK Programming/B3DSDK Sprite Surface V1.0

ninjarat(Posted 2007) [#1]
Okay, I've gotten a really cool sprite surface working. Downside? It's possible to load a sprite from an image, but the alpha channel is masked only. If you just use raw textures, alpha works beautifully. Yes, the mechanism is the same one used in the older one I found, but I've basically rewritten the whole thing from scratch to take advantage of OOP methodology, and superior BMax classes. At least, _I_ think BMax classes are better. Anyway, it's pretty cool, so enjoy! :)

Code:


An import you'll need:


And a meager example to download here: http://rattuscanisdev.g0dsoft.com/uploads/dnload/spritesurfacetest.zip Rest assured you can get more out of it than this. I'm just lazy when preparing examples. It should show you how it pretty much works.