Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

tigregalis/bevy-ldtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ldtk-rs

Trying to integrate LDtk editor files as a bevy plugin (eventually). So far, have just mapped the JSON structure to Rust data structures (for the most part).

TODO

  • fix linting errors
  • finish the missing fields/types ("Objects" etc.)
  • add a lot of deserialisation tests (deserialise)
  • actually deserialise from a .ldtk file
  • bevy
    • make it work
    • make it good
      • set up a custom asset + loader
      • design an API that makes use of this, i.e. map from the ldtk file to a bevy scene (entities, resources, components) and rust types
      • hot reloading
      • hot partial-reloading with diffing
  • keep up with the changes to the LDtk file format

optional

  • change from arrays of ints, to structs
  • change from structs with optional fields, to enums with unique structs (challenging)
  • add a lot of serialisation tests to ensure reproducability / round-trippability
  • (bevy) make it interactive the other way (changes from the bevy app write to the ldtk file)
    • note: ldtk editor doesn't hot reload though

other ideas

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages