{"repo":"jakubtomsu/odin-ldtk","free":true,"listed":false,"github":"https://github.com/jakubtomsu/odin-ldtk","clone":"git clone https://github.com/jakubtomsu/odin-ldtk.git","description":"Odin loader for LDtk files. LDtk is a modern 2D level editor from the creator of Dead Cells, with a strong focus on user-friendliness.","language":"Odin","stars":78,"topics":["gamedev","ldtk","odin","odin-lang","odin-lib"],"license":"MIT","category":"game-templates","readme_excerpt":"odin-ldtk Loader for LDtk files. Uses Odin's core:json to unmarshal data into structs. LDtk is a modern 2D level editor from the creator of Dead Cells, with a strong focus on user-friendliness. Current version: 1.5.3 The data definitions were generated with JSON scheme and QuickType for rust and then manually edited. How to use Put the ldtk.odin file to a ldtk folder somewhere in your project. Then you can just do this (the path might be different): And then: Note: value in Field Instance can be a different type depending on the data. For this reason the type is json.Value , which works like any in this case, and you can do whatever you want with it. Example There is an example of a basic 2d platformer in the example folder. It uses raylib for the tilemap rendering. The initial implementation is by @Smilex. Hot to use: Contributing Contributions are welcome!","default_branch":null,"files":null,"tree":[],"storefront":"/r/jakubtomsu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jakubtomsu/odin-ldtk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}