Data structure to store map layers in each Tile while keeping the order of terrain, items and monsters intact
My game represents its map as a 2D array of tiles, each of which stores a stack of layers. I'm looking for a data structure to efficiently represent this . I want to be able to add layers ...
In a tile-based game (in this case MMO), should an actor (e.g., player) know its position, or should only the map know its position? If an actor is placed on a grid map, it is placed on a specific ...
I'm just trying to figure out how to set up the code for a game like risk... I would like it to be extensible, so that I can have multiple maps (ie- World, North America, Eurasia, Africa) so ...
I'm try to make a small 4x game for my own educational purposes. Currently I have interfaces like IStarSystem which contains a list of IPlanets. My next step was to make classes implementing those ...