Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Create TileMap #2

Open
mcgivrer opened this issue Nov 15, 2017 · 0 comments
Open

Create TileMap #2

mcgivrer opened this issue Nov 15, 2017 · 0 comments

Comments

@mcgivrer
Copy link
Member

mcgivrer commented Nov 15, 2017

Create a TileMap with its internal objects like TileSet, TileLayer and Tile.

  • TileMap is the main GameObject,
  • TileLayer is a layer of this tilemap
  • TileSet is a set of tiles to be used into a layer to render graphic tiles
  • Tile is the minimal graphic object to build a map.

A second step will provide a TileMapFactory.

the TileMapFactory will serve a loadFrom() method to load a full map from a text file with a specific language.

This language will expose keywords like @TILEMAP, @TILESET, @TILEMAPPING, @TILELAYER and @IMAGELAYER, to describe content of a full map. in this particular case, the map will describe a full game level.
In a third step, the @OBJECTS keyword will declare GameObject into the level. These GameObject's will be created through an EntityFactory.

Multiple TileLayer will correspond to multiple leveled layer.

see https://github.com/SnapGames/GDJ107/wiki/TileMapFactory for implmentation details.

@mcgivrer mcgivrer self-assigned this Nov 15, 2017
@mcgivrer mcgivrer added this to the GDJ107 milestone Nov 15, 2017
mcgivrer pushed a commit that referenced this issue Nov 15, 2017
- Add GameOptions about command line arguments.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant