Original Post
Afternoon, all! I'm currently working on a two-dimensional game (my first game attempt in a few years). Type: Sidescroller, sort of a multiplayer platformer. Language: Visual C++. As far as rendering is concerned, a World object consists of a Room and a Camera. A Room contains a list of Layers. Each Layer contains a grid/array of Tiles and a list of Sprites. For the purposes of rendering, each Tile contains its image (and any overlays/effects/etc.) and each Sprite contains its position and image. The game is multiplayer (but not a MMOG), and so there are multiple rooms, and even the possibility that rooms may share a layer. Does this make sense or are there obvious flaws in the design? Or is it overcomplicated, etc.? Thanks for reading! :)