Jump to content
  • Advertisement
Sign in to follow this  
Sykth

SDL GUI tutorials

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

Hey there, basically wondering if someone could point me in the direction of good tutorials for building a game GUI using SDL. Iv'e been scowering the internet for anything useful for a real time strategy game GUI such as C&C or warcraft's guis and have so far found nothing useful. Sorry if this question is asked all the time i did look through these forums to find a similar post and i did have a look at guichan but i couldn't find any tutorials for it either. Any help appreciated, dan

Share this post


Link to post
Share on other sites
Advertisement
Is it just a 2D GUI you are after?

If you are after a 3D GUI (by which I mean it is rendered using something like OpenGL or DirectX rather than it looks 3D) and are programming in C++ I'd suggest checking out CEGUI (which can use OpenGL, DirectX or Irrlicht Renderers) (http://www.cegui.org.uk/wiki/index.php/Main_Page).

You can use SDL to grab IO events and then you inject them into the CEGUI system. There are tutorials on the site about how to do this, there's also example programs for you to take a look at and a good user base that'll help you out if you get stuck, once you've cracked the basics you can customize the components and make it look however you want...

If not I'm sure someone else can point you in a better direction :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!