All Projects → mapeditor → rs-tiled

mapeditor / rs-tiled

Licence: MIT license
Reads files from the Tiled editor into Rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to rs-tiled

flame tiled
Package to add Tiled support for the Flame game engine
Stars: ✭ 21 (-90.58%)
Mutual labels:  tiled
Valhalla
Open Source Routing Engine for OpenStreetMap
Stars: ✭ 1,794 (+704.48%)
Mutual labels:  tiled
Melonjs
a fresh & lightweight javascript game engine
Stars: ✭ 3,721 (+1568.61%)
Mutual labels:  tiled
pcxtools
MSX cross-development command line tools PNG2MSX, PNG2SPR[+] and TMX2BIN
Stars: ✭ 17 (-92.38%)
Mutual labels:  tiled
tiled
Tiled TMX import for HaxePunk
Stars: ✭ 51 (-77.13%)
Mutual labels:  tiled
cl-tiled
Tiled map library for CL
Stars: ✭ 15 (-93.27%)
Mutual labels:  tiled
tuile
Tuile (french for tile) is a 2D graphics engine inspired from old hardware and based on layers, tiles sets, tile maps and sprites. Its scanline rendering pipeline makes it perfect for raster effects.
Stars: ✭ 19 (-91.48%)
Mutual labels:  tiled
tbag
Tea-bag is Third party extension utility project
Stars: ✭ 13 (-94.17%)
Mutual labels:  tiled
pixi-tiled
TILED importer for PIXI. Support Images, Shapes, Layers.
Stars: ✭ 19 (-91.48%)
Mutual labels:  tiled
Protobuf-Dreamer
A tiled DeepDream project for creating any size of image, on both CPU and GPU
Stars: ✭ 39 (-82.51%)
Mutual labels:  tiled
autotiler
Autotile 47-tile blob tileset generator application with Godot export support. Based on Electron JS.
Stars: ✭ 32 (-85.65%)
Mutual labels:  tiled
Tiled-Amethyst-Example
Simple example for drawing a map made with Tiled with Rust and Amethyst.
Stars: ✭ 16 (-92.83%)
Mutual labels:  tiled
tilepix
Library for combining tiled maps with pixel
Stars: ✭ 40 (-82.06%)
Mutual labels:  tiled
Driftwood
Driftwood 2D Tiling Game Engine and Development Suite
Stars: ✭ 23 (-89.69%)
Mutual labels:  tiled
Berry
Berry is a simple Tiled Map Loader for Corona SDK.
Stars: ✭ 16 (-92.83%)
Mutual labels:  tiled
RawSalmonEngine
A game engine utilising "Tiled" map files
Stars: ✭ 15 (-93.27%)
Mutual labels:  tiled

rs-tiled

tiled = "0.10.2"

Rust Crates.io dependency status

A crate for reading TMX (map) and TSX (tileset) files from the Tiled Map Editor into Rust. It provides a huge set of features as well as a strong wrapper over internal features such as GIDs.

Documentation is available on docs.rs.

Code contributions are welcome as are bug reports, documentation, suggestions and criticism.

The minimum supported TMX version is 0.13.

Example

use tiled::Loader;

fn main() {
    let mut loader = Loader::new();
    let map = loader.load_tmx_map("assets/tiled_base64_zlib.tmx").unwrap();
    println!("{:?}", map);
    println!("{:?}", map.tilesets()[0].get_tile(0).unwrap().probability);
    
    let tileset = loader.load_tsx_tileset("assets/tilesheet.tsx").unwrap();
    assert_eq!(*map.tilesets()[0], tileset);
}

Licences

assets/tilesheet.png by Buch

Licenced under MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].