I have a question about how characters (player objects, if you want to call them that) are handled in games. Are they typically allowed to occupy the same space in the game world (or game map), or is it common practice that a single player's character occupies a spot and no other character can occupy the same spot until that occupier moves from it?
I'm trying to get a grasp of how things take up "space" in a game (or how is this simulated?). I know there is collision, which makes me believe that characters/objects can only occupy a space that is empty and thus things can be "collided". How is this handled in a typical 2d game? Is it handled differently in modern 3d games (like a typical FPS)? When you remove the layers of graphics from a game are they allowing multiple characters (or objects) to occupy the same point in the game space or no?
I'm struggling with this for some reason.
If a typical 2d game uses an array to keep track of tiles, are they placing multiple characters in a single tile? If I'm not clear in what I'm asking, I apologize. It's late.
Are there any references or articles I can read about how player characters are placed in game worlds in regards to how many are allowed to occupy the same point in space?