I’m making a multiplayer RPG with a friend. I’ve basically finished writing the server skeleton (feel free to take a look and tell me what you think), but there isn’t much more I can do until we work on the client and get some stuff sent to the server to interpret.
What I need help with right now is the best way to handle a graphical user interface. I need help with the entire thing in general, like:
- When do you paint it?
- How can you have intractable features, like custom buttons.
A good example would be the minecraft ‘options’ menu, how they have custom input fields:
http://2.bp.blogspot.com/-NplBU8Y_sPI/TWQzDF1BmEI/AAAAAAAAADQ/ZjBRJRJr2Nc/s1600/Untitled3.png
Any help is appreciated.
EDIT - Ok I think I know how to do buttons, I can just create a custom component called CustomButton or something that has a backing image or something right? And use the mouse events to handle input?