GUI Creation
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.
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.
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
- Labels
- Text Boxes
- Command Buttons
- List Boxes
- Combo Boxes
- Radio Buttons
- Check Buttons
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement