Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


2d programming on directx 9

This topic is 5528 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

could anyone tell me where can i find documentation about 2d programming on directx 9? i cant find anything good for this on the sdk neither on google. unfortunatly i have to use directx 9 (cant use sdl or other api). im sorry for the stupid question. thanks.

Share this post

Link to post
Share on other sites
there are no stupid questions, only stupid answers... which im about to provide.

ill give you the general overview.

2d in DX is very similar to 3d, instead you use pre-transformed vertices, generally arranged in 4 or 6 vertex quads.

otherwise you create your 2d quads, load textures, and move them in your screens 2 dimensions.

to get started, use tutorial 2 "Vertices", the toughest part in the beginning is learning how to initialize the adapter and how to use Vertex Buffers. good luck


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!