GUI Creation

Started by
1 comment, last by circlesoft 19 years, 3 months ago
I am making a GUI for my game. Am using DX9SDK Summer2004 Update. I need to create Buttons and Textboxes. Drawing the quad for the button was easy but when i have to set the font i am getting a lot of problems.The way i draw text is using world co-ordinates and i draw the button using local co-ordinates. Can anyone help me by telling me how to draw text using local co-ordinates or how to create a font texture. In OpenGL i used to create a display list of the button texture and render it. Is there a similar method to draw in DX. Any links to tutorials for creating GUI is also appreciated. Thanx.
Advertisement
There are some articles on creating a GUI with direct x on gamedev somewhere but I cant find them. Other then that please dont double post the same thread.
Quote:Original post by BosskIn Soviet Russia, you STFU WITH THOSE LAME JOKES!
The Summer 2004 Update came with a new sample GUI that you can use. In my opinion, it's fast, it looks good, and it's flexible. Check out the CustomUI sample for more information. I believe it implements the following controls:

- Labels
- Text Boxes
- Command Buttons
- List Boxes
- Combo Boxes
- Radio Buttons
- Check Buttons
Dustin Franklin ( circlesoft :: KBase :: Mystic GD :: ApolloNL )

This topic is closed to new replies.

Advertisement