🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Creating Controls

posted in LordArt for project Rank: Warmaster
Published February 09, 2020 Imported
Advertisement
Creating Controls

Every video game needs controls: "OK" or "Cancel" buttons, dropdown or popup menus for selecting from a list of options, scroll bars, and so forth. In the image above we can see a popup menu in action, allowing us to select a rank for one of our AIs. Since we're using a completely custom game engine, all of our controls need to be created from scratch. Fortunately, our most clever programmers (Hi, Arthur!) built us a tool to make this as easy as drawing shapes on the screen.

Creating Controls

The screenshot above is our tool, ScreenMaker, in action. We draw each control as simple shapes, with or without attached images, that can be connected to one another to form a complete control, and then imported right into the game. Here we have our popup menu, a gauge control that we're using as a scroll bar, and the newest asset screen control, a qty selector for when we want to give some amount of a resource to a teammate or AI.

Below, we can see a gauge scroll bar in action.

Creating Controls

Read more

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement