User Interface Design in DirectX

Started by
2 comments, last by sipickles 16 years, 11 months ago
Does anyone know of any tutorials that involve developing a UI for a game under DX?
Advertisement
I remember there is a CustomUI example source code in the DirectX SDK packet

winston
Hey, i made a post very similar to your own a month or so ago, there are a number of librarys you may be able to adapt to your project. Make sure you have a look at this thread:

http://www.gamedev.net/community/forums/topic.asp?topic_id=444948

In the end i looked at these examples and developed my own user interface specifically for my application, it wasnt very advanced but it did the job :). I simply retrived the cursor position, used nested if's in the display loop to indicate when a mouse over occured, or the mouse click case in the Windows Process function to define when a button had been clicked (and rendered a new image onto the button showing the mouse had been clicked, and maybe performed a certain function). Its not that hard really, but if you want when i get home i can PM you some examples of the type of code i used.
Chett - "I look forward to helping all of you one day, but right now im just a noob learning his way through the perils of game Development."
I'd recommend CEGUI.

Its a little weird at first, but once you've grasped it, its really great!

This topic is closed to new replies.

Advertisement