Archived

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

Game GUI?

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

what do RTS games like battle realms or *craft use for their GUI? do they create their own classes or just reuse the ones windows provides? these games actually implements all the basic controls (listbox, buttons, etc.) so i was wondering if they just recycle what windows has.

Share this post


Link to post
Share on other sites
I am pretty sure I have seen games use the standard window''s controls. I think they are used in the Network screen in AOE2, for example. It uses combos, text boxes and everything.

However, I always had trouble using the window controls while using DirectX (probably because I was doing it wrong). So, I, and many others here, ended up making our own controls to use in-game. It is surprisingly easy since many controls are composites of other controls. For example, my Label is a modified Picture (which is just a DX Sprite wrapper), and my Button has several Pictures. Also my list box is made up of Buttons and Labels.

Share this post


Link to post
Share on other sites