Acropolis is a sandbox strategy game where instead of building and growing your city, you build and move your city around in order to capture and exploit the natural resources, whilst in a constant battle against extreme weather conditions. Because due to global warming, the storms rapidly grow in size and severity.
This project started out during a game jam, and for this project, we were tasked to take a full block to flesh out and design the concept that we created during that game jam.
To be able to build and expand your city, a system needed to be in place that could easily work and adapt to new types of buildings defined by other designers. So I created a system that would allow placement of buildings aligned to the grid of the city.
Research showed that for our game, a hexagonal shaped grid would be beneficial to us. As it would offer more interesting placements and give more clarity for adjacency bonuses if we were to add those. So besides creating a building system that could snap to a grid, I also had to create something to dynamically generate that grid based on the size that we would want the grid to be. Also leaving the opportunity of increasing the size dynamically throughout the game.
Because you want to look around the environment of your city, you need a camera that is not confined by being bound to an object in the game world, yet you still want to put limitations on that. So I created a independent camera system that is internally still part of the player's character for easy referencing in code.