Transparency
BlitzPlus Forums/BlitzPlus Programming/Transparency
| ||
Does anyone have a fast method for drawing sprites with transparency in real time? I have tried using alpha blending but even to draw 20 8x8 solid rectangles over a background takes about 13ms - way too long to include in an arcade game frame render. |
| ||
i'm working on a 2D engine for b+ with it i can render 120 alphablended 32x32 sprites in 20 ms 20 32x32 in 4 ms :) 20 8x8 in less than 1 ms the code do all graphic operation to a memory buffer then copy the buffer to the backbuffer it's not finished but i can give it to you as is if you're interested let me know i'll mail you the source. |
| ||
I've sent you a mail using your profile contact details. Cheers. |