• Advertisement
Sign in to follow this  

Creating a character on screen

This topic is 3675 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I would like to get a small character onto my DirectX9 window and have been reading tutorials on the basics of Direct3D. My character is simply a square with a face as a BMP. My question is, is the best way to do this to simply draw a square and load the BMP as a texture onto the square? Pretty basic I know, but Im just beginning Thanks

Share this post


Link to post
Share on other sites
Advertisement
Load the image as a texture - D3DXCreateTextureFromFile() would be a good starting point. Then have a look into ID3DXSprite for actual rendering - it'll save you getting too involved with the internals of rendering.

hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement