Expand description
§tmx-rs
tmx-rs allows you to read .tmx files from the tiled map editor. It supports embedded textures and tilesets and provides math utilities for non quare tile layouts.
§Features
- All tile layout modes supported by tiled:
- Orthogonal
- Isometric staggered and non-staggered
- Hexagonal staggered
- Object layers with support for custom object processing
- Image layers with support for custom image layer processing
§Todo
- Infinite map support
Structs§
- Frame
- Animation frame within a tile
- Map
- A tiled map loaded from a .tmx file.
- Object
- Object description
- Shape
- A shape.
- Texture
- A shared image
- Tile
- A single tile description
- Tileset
- A tileset
Enums§
- Layer
- A layer
- Property
- A custom property
- Render
Order - Render order for tiles in layers.
- Tile
Type - Tiled has three different rendering types: orthographic, isometric and hexagonal. They are represented through this enum.
Functions§
- load_
from_ file - Load Map from a file.