Skip to content

Error on non-orthogonal maps #79

Open

Description

@bcvery1

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.

Activity

  1. added this to the v0.4.0 release milestone on Apr 5, 2019
  2. added
    good first issueA simple issue that would be good for a newcomer
    and removed on Apr 9, 2019
  3. NullDefault commented on Nov 28, 2020

    @NullDefault

    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?

  4. bcvery1 commented on Dec 7, 2020

    @bcvery1
    OwnerAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueA simple issue that would be good for a newcomerpriority:mediumRequired for this release

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions