For Chronicles of Egypt, I was resposible for most of the backend systems and hex map spawning. Below are my main contributions to the project:
- Saving player buildings, resources, upgrades, and hex map tiles to be loaded in the second time the mini games are played
- Spawning in the hex tile grid based on a width and height that can be easily adjusted
- Creating a function that would take an array of tiles and set them all to be river tiles
- Tracking which terrains need what textures and actors based on a water level value that is calculated based on where river tiles are set
- Calculating which tiles the player can build on based on how many coordinates away they are from a starting tile
- Player movement and navigation around the maps
- Saving the players overall score and updating it each time they complete a mini game