Week 4: Building Placement

This week i began work on the games building mechanics. The idea is for the player to be able to select a set of buildings they can then construct and manage in the game. Here the player clicks on the hud element and a ghost image of the building then follows the cursor anywhere along the games landscape. when the player right clicks on a suitable location, the building is placed. This is also set along in a grid, so the buildings can be arranged correctly without overlapping into each other.

The end goal for this mechanic is for it to be linked up to a resource cost, so that when the player selects a building, the appropriate resources are taken from the players stockpile. The idea is to have several buildings available to the player at the start, such as Shelters and Defence posts, then as the days pass, more buildings will become unlocked.