-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import Tiled maps into the game #480
Comments
Looking through the TMX file format, populating the layers should be a straightforward task. The trickier element will be mapping the |
Perhaps we should replace our custom sprite Additionally, Tiled supports custom properties. We may be able to embed tile information within these properties to further consolidate the map information. |
According to the Tiled documentation on Tile layers, properties only exist on tiles - they cannot be defined on a specific instance of a tile. This is ideal for our purposes. |
Perhaps each tile in a Tiled map could have a "cx" property which contains the name of the CX-game tile to insert. |
Note that go-tiled does not currently support infinite maps. |
The maps of the game are being built on Tiled. Its files are on
kcg\luis\tiled
filesWe need to import different Tiled maps into the game. On the first version, the player is going to select on the load screen which map he's going to play and it'll load an entire map of Tiled.
Later we maybe incorporate Tiled maps into some procedurally generated areas, but you don't need to worry about that right now.
Tiled is free, so I advise you to also download it, so you can check how the map should look like and how the layers are organized.
The text was updated successfully, but these errors were encountered: