Jump to content
  • Advertisement
  • entries
  • comments
  • views


Sign in to follow this  


I spent a good chunk of the day sketching out some maps for Malathedra and adding details to the one I'm working on. Not the most exciting thing, but I'm learning a bunch (messing with heightmaps and such as well as map layout.)

I spent the last 1.5 hours implementing a drop down list into my GUI and it works[grin]. BUT, bad news[sad]; somewhere along the line I forgot to add sorting! So, I'm going to either have to add it now or make sure that none of my controls overlap until I add it (after my 4E5 entry is finished.) I'm going for the latter since I have no idea how to implement the sorting for a GUI system (I know how to sort, but I don't quite understand how to make things come forward and such. I'll have to figure it out when I have more time.)

Anyway, here is a nice little screenshot of my DDL in action (and yes, it uses the same system as a listbox, so you could use the image-text combo as items if you wanted to):



Item selected

I'm definitely need to add textures though, atleast for the buttons (the -, +, and \/ buttons anyway.)

Also, I'm definitely going to have to rewrite this entire thing when I'm done because I'm a total retard >_<. EVERY single piece of code is hacked together, but thoroughly tested lol.

Anyway, I just have a couple more controls to add and my first GUI library will be finished. Yay!

Edit: Ok, I modified the app so that I could release a demo. I really need some feedback as to whether or not it is working and such. You can download it here: GuiDemo.zip (1.56mb)
Sign in to follow this  


Recommended Comments

There are no comments to display.

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
  • 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!