[][src]Crate ldtk_rust

This library parses JSON generated by LDtk (Level Designers ToolKit) for use in Rust. It is designed to be usable in any Rust program, including all game frameworks.

Example:

use ldtk_rust::LdtkFile;

fn main() {
    let file_path = "assets/AutoLayers_4_Advanced.ldtk".to_string();
    let ldtk = LdtkFile::new(file_path);
    println!("First level pixel height is {}!", ldtk.levels[0].px_hei);
}

See /examples directory for more.

Re-exports

pub use ldtk_file::LdtkFile;

Modules

ldtk_file

Structs

Defs
Entity
FieldDefs
IntGrid
Layer
LayerInstance
Level
TileInstance
TileSet