tilepix icon indicating copy to clipboard operation
tilepix copied to clipboard

Error on non-orthogonal maps

Open bcvery1 opened this issue 5 years ago • 2 comments

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 supported, and returning a different error if default because it is an unrecognised format.

bcvery1 avatar Apr 05 '19 08:04 bcvery1

Are there perchance any recommended workarounds to using isometric maps? Alternatively, which parts of the code would need to be updated to support non-orthogonal maps?

NullDefault avatar Nov 28 '20 18:11 NullDefault

Hey, I'm not sure what code would need to be changed unfortunately, this has not yet been investigated.

bcvery1 avatar Dec 07 '20 08:12 bcvery1