Monday, February 23, 2015

PROTOTYPE - Update 4 (Mega-Risk v.Proto_0.0.1)

Welp, I did it.  I added the ability to select territories in-game and then edit their properties with using a set of buttons.  I also made all the continents into territories and put them on the map.
Implementing this wasn't nearly as tricky as I thought it would be.  I simply made it so that when the player clicks on a territory (which can be toggled through a built-in event), any existing UI is deleted and new UI is created.  This is to prevent multiple UIs from popping up.

The UI itself consists of a string of text displaying the name of the territory and a set of buttons that directly alter either the troop count or the color of the territory.

The map.  Finished and covered in colored territories.











Here, I've changed a few things around in-game.  All of the settings are reverted to their original state when the game closes.











I don't expect to be able to get anything of substance done anytime soon after this.  All the easy stuff is done and the next task at hand is implementing invasion, which also involves figuring out how to make each territory know all of its adjacent territories.

However, it appears that a checkpoint of sorts as been reached.  We have a 3D map of all the continents.  They all have been divided into territories and have a couple of fundamental properties that can be altered.
Therefore, I'm going to go ahead and dub this:

Mega-Risk v.Proto_0.0.1 (we have a cool development name now woo!)
Changelog:
- Initial version
- Added 3D map
- Added Continent-Territories
- Added Territory selection
- Added Territory buttons

No comments:

Post a Comment