LDV Posted May 2, 2004 Posted May 2, 2004 Hi Guys, I'm using DirectX3D, I'm trying to draw a Surface with a Transprent color - any idea of how i do that? How can i set Surface ColorKey ? And even when i set it, how do i StrechRectangle or UpdateSurface with this ColorKey as transperent? I know i can use Texture - and ColorKey or Alpha, but i want to use Surface which is much faster. Thanks, LDV Quote
DrunkenHyena Posted May 3, 2004 Posted May 3, 2004 Surfaces are not much faster. Where did you get that idea? Quote
LDV Posted May 5, 2004 Author Posted May 5, 2004 Surfaces are not much faster. Where did you get that idea? Just plain expiriance: When i draw using Surface i get to 60FPS And when i draw Texture using Sprite class i get 30FPS. LDV Quote
DrunkenHyena Posted May 9, 2004 Posted May 9, 2004 My experience is completely the opposite. Not to mention that there are so many things that Surfaces can't do (colour keys being one of them). If your sprites are running at half the speed of a surface copy, I'd guess that you aren't doing something right. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.