Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[DX8] DrawPrimitiveUP


Mikekan13
 Share

Recommended Posts

I'm no expert, but it really matters what your wanting to do.

heres is one person's opinion:

> The sprite class in DirectX8 has more functionality behind it than all of DirectDraw in DX7\. It has hardware accelerated rotation, scaling and alpha blending. It has easy to use color modulation. If you are doing all 2D then there is absolutly NO reason to go through the bother of the DrawPrimitive approach. You gain nothing by that method and you introduce needless complications which means more dev time and more bugs.
> The D3DXSprite is not meant to be a "sprite class". It is useful as a Blitter. You make your own sprite class (using textures as the image data) and use D3DXSprite.Draw to blit your sprites.

But I think for tilemaps DrawPrimitiveUP is fine.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...