Skip to content

Would be helpful with more examples on how to use the library #71

@Sairony

Description

@Sairony

All primitives needs to be converted to string it seems, which would be nice if it was mentioned. And there's no mention on what the requirements of data structures in relation to output. If I look at outlines in sprites they're a list of lists containing OrderedFlowDict, but this type is not exposed and not documented. If I look at outlines in the meta file they're defined as:

      outline:
      - - {x: 256, y: 256}
        - {x: -256, y: 256}

Yet if I export as dict instead it gets written as:

      outline:
      - - x: 256
          y: 256
        - x: -256
          y: 256

Using OrderedDict which OrderedFlowDict inherits from also does not work, as it seemingly has no idea of how to output it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions