movingai-rust
Still in development! Help is encouraged for stabilizing the API.
Map/Scenario Parser for the MovingAI benchmark format. It offers a quick way to parse scenario and map files, plus some map utility to manage and query information from them.
Map Features
The create not only parse a map and scene file, it also provide an object for easy interacting with it.
Some of the functionalities are:
- Easy idiomatic access to the map date, such as width, height and tiles at specific coordinate.
- Check if a tile is traversable or not according the MovingAI format rules.
- Get the list of neighbors coordinates of a specific tile.
- Convert bitmaps into
.mapfiles. - And more things I still need to decide. :D
How to use
extern crate movingai;
use parse_map_file;