I just finished programming the build menu aspect of the game. I spent a couple days just designing it, figuring out what I wanted and how it would be used, and I'm happy to say I achieved the exactly what I was looking for. Multiple menus can be added and scrolled through quickly and easily. Items can be added to these menus, then shown as disabled, enabled, ready, and animated.
The design was based off of the Command and Conquer series build menus, which is a common implementation among RTS games.
There were a few road bumps and stressful moments, especially getting the scroll feature to determine whether there were any items to scroll to or back to, but in the end the desired result was achieved.
Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts
Thursday, August 13, 2009
Thursday, August 6, 2009
RTS Engine Design
After a few days of thinking and exploring, I've managed to come up with a pretty thorough design for this RTS Engine.
The design looks something like this...
There are three primary parts to the framework; a menu system, in game GUI and the actual RTS.
The menu system includes things such as typical buttons and cursor functions. The in game GUI displays and allows interaction for build buttons, radar, resources, and the like. The actual RTS part of the engine creates and gives functionality to all game objects such as weapons, units, structures, AI and tech levels.
Today I programmed a good portion of the menu system. I would have to say this project is about 2% completed so far.
The design looks something like this...
There are three primary parts to the framework; a menu system, in game GUI and the actual RTS.
The menu system includes things such as typical buttons and cursor functions. The in game GUI displays and allows interaction for build buttons, radar, resources, and the like. The actual RTS part of the engine creates and gives functionality to all game objects such as weapons, units, structures, AI and tech levels.
Today I programmed a good portion of the menu system. I would have to say this project is about 2% completed so far.
Subscribe to:
Posts (Atom)