Coder Social home page Coder Social logo

tmx_loader's Introduction

TMX Loading Object

Loads TMX in a simple object format, a much simpler format than other TMX loaders.

Design Goals are simplicity and usability over performance. It's still a fraction of a second it seems to take to process my whole forlder of maps.

-Simplifys certain aspects of the format, for example, custom properties are alongside default ones. -GIDs have their flags removed to get easy access to Rotation and Flip -Coordinate contradictions are dealt with, like objects/rectangles (rotations can still be wrong here) -Tilesets are mereged to a lookup dictionary -Many properties are converted to correct types, like int, float, bool etc

Currently one big file, set up to glob the whole folder and turn all filename.tmx => filename.tmx.json

limitations:

-only orthographic maps (no plans for isometric, it's not of interest to me) -tile layers must be csv (not xml or compressed), might update this

tmx_loader's People

Contributors

richardellicott avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.