This library provides a reader for TMX files.
These files can be created using the great Tiled editor.
So there is still a ton of thiungs to do.
``` use tmx_reader::Map; use std::path::PathBuf; use std::fs;
let mut d = PathBuf::from(env!("sandbox.tmx"));
let contents = fs::readtostring(d.asosstr()) .expect("Something went wrong reading the file");
let map = Map::new(contents.as_str());
```
A full demo, which also works inside the browser using WASM is located HERE.
I have no idea if this will ever be a useful crate :)
I just use this for my own little game experiments.