Sign in to follow this  

Graphic user interface C++ windows help

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

hi, i have a few game programming books, but they dont seen to even touch the aspect of a health bar, or menu or a means to show coins, xp.
been trying to find code examples.
is there a book i could buy, or does gamedev have some examples of implementing somewhere to show a score, or exit or start button. i have heaps of examples of loading meshes, displaying them, using direct input. but nothing in regards to displays of most rpg's or fps gui's.

Share this post


Link to post
Share on other sites
Usually the kind of UI stuff you're talking about isn't anything special; frequently, it's just textured quads. As such, there's really no magic to implementing a UI system.

If you don't want to implement it yourself, one option would be to use an existing GUI library. I haven't used any such libraries myself though, so I can't make an specific recommendations.

If that doesn't answer your question, perhaps you could pick one of the things you mentioned (like making a health bar), and try to implement it. Then, if you run into problems, post back here and someone should be able to help.

Share this post


Link to post
Share on other sites

This topic is 2659 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this