The
class Map handles the abstract representation of data. It uses a 3D array to represent the
map in a grid. Four pieces of information is stored: the occupancy of a specific grid (indicating if it is possible to move an object to that specific grid)
section Old Previous Minecraft was a close inspiration You build really cool bases in that game but the ai are really dumb so you never get a sense that you are desperately defending some home base We wanted to get that feeling in our game We therefore set out to have a minecraft like cube placing scheme and to have ai swarm and attack your sandbox games and towerdefense On a lower level the player is unioning objects together to make their base section mechanics Mechanics The user places cubes and towers in order to prevent the enemy spheres from destroying the disco ball in the center of the map The user places a cube by left clicking on the ground and tries to create structures that will best defend the discoball and kill off the enemy The enemy can destroy the towers and cubes that the user places when towers fall down they take damage meaning that tall towers with lots of shooting towers on them can result in a large loss of shooting towers when the ai attacks it The ai behave differently Some of them try to race towards the disco ball destroying anything that gets in the way while others try to destroy any blocks that come in their thereby clearing a path for other ai to attack the discoball The below images give a general sense of the gameplay progression The difficulty starts out low but as the game progresses more and more enemies spawn until you are eventually overwhelmed and your discoball gets destroyed if the grid has a the AOE damage dealt on the grid by the attackers and the AOE damage dealt on the grid by the defenders Apart from Map also stores an array of current MapElement on the map An MapElement is abstract an of something in the map
Definition: mainpage.dox:136
section Old Previous Minecraft was a close inspiration You build really cool bases in that game but the ai are really dumb so you never get a sense that you are desperately defending some home base We wanted to get that feeling in our game We therefore set out to have a minecraft like cube placing scheme and to have ai swarm and attack your sandbox games and towerdefense On a lower level the player is unioning objects together to make their base section mechanics Mechanics The user places cubes and towers in order to prevent the enemy spheres from destroying the disco ball in the center of the map The user places a cube by left clicking on the ground and tries to create structures that will best defend the discoball and kill off the enemy The enemy can destroy the towers and cubes that the user places when towers fall down they take damage meaning that tall towers with lots of shooting towers on them can result in a large loss of shooting towers when the ai attacks it The ai behave differently Some of them try to race towards the disco ball destroying anything that gets in the way while others try to destroy any blocks that come in their thereby clearing a path for other ai to attack the discoball The below images give a general sense of the gameplay progression The difficulty starts out low but as the game progresses more and more enemies spawn until you are eventually overwhelmed and your discoball gets destroyed thumbnail
Definition: mainpage.dox:127