The Wayback Machine - https://web.archive.org/web/20210521162234/https://github.com/topics/tiled
Skip to content
#

tiled

Here are 104 public repositories matching this topic...

PureW
PureW commented Mar 12, 2021

It would be useful if a missing property in the config file fell back gracefully to the default value, rather than killing the process with a hard error.

Is there any appetite for such a change? We could potentially specify default values in a json file that the C++ code reads at compile time and the python script valhalla_build_config parses at runtime?

tilepix
bcvery1
bcvery1 commented Apr 5, 2019

TilePix only supports orthogonal maps (currently - hopefully we'll be able to support other types in the future). A sensible error should be returned on Reading a map which doesn't have orientation="orthogonal".

Need to set up a constant for each type:

  • orthogonal
  • hexagonal
  • isometric
  • staggered

Then, using a switch statement, check against each, returning an error if not

Improve this page

Add a description, image, and links to the tiled topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tiled topic, visit your repo's landing page and select "manage topics."

Learn more