VBGamer |
|
RE: Clipping The Gilb (0 replies, 0 views) (2000-May-6) Hi again everyone,
I personally had one or 2 problems with blitting in my last game engine... Well, I'm still working on it (DxGE), and it's gonna be MASSIVE.. :-)
Well one thing I noticed whilst working on some map code was that the VB loops were slow, but clipping the surfaces took time... Too much time. So, I made myself a little helper DLL in C++ with my own clipping routine, and DAMN it's fast... Basically there's no speed difference, the tile or sprite or whatever is blitted using the hardware, I have ultra fast clipping, the only thing holding back the speed is the loops to draw the sprites, but they hardly count.
Anyways, if anyone wishes to use my code, I have uploaded a few files (With NO modification, ripped right out of DxGE) to my homepage. The files are the helper DLL itself and a readme.txt explaining usage.
Get the file at:
http://www.geocities.com/TheGilb/Clipping.zip |