Comments (3)
Thanks for the fast response. I have over look that LayerTile impl Deref LayerTileData.
from rs-tiled.
You can get its flip bits directly from LayerTile: https://docs.rs/tiled/latest/tiled/struct.LayerTileData.html
From there you can calculate the corresponding rotation. IIRC I don't think Tiled has a rotation option per tile, only these flip bits
from rs-tiled.
Related to #212
from rs-tiled.
Related Issues (20)
- Yanking the 0.9.5 release HOT 1
- Polygon colliders load as Rect shapes HOT 5
- Support for Web Assembly HOT 15
- since tiled 1.9 object type is renamed into class HOT 3
- tiled::FiniteTileLayer::get_tile returns empty tiles HOT 7
- Optional GIDs feature HOT 1
- Default zstd feature is unhelpful for wasm builds HOT 2
- Add support for tileset offset
- Nicer way to iterate over layers of a given type HOT 2
- Expose map's staggeraxis and staggerindex options.
- Allow obtaining the path of tilemaps that have been loaded HOT 9
- Loading map with TSX tileset error "Missing attribute: tilecount" HOT 11
- More convenient way to load embedded maps HOT 8
- Image docs are outdated
- Support for Tiled Custom Types HOT 2
- Unsigned indecies for getting a tile HOT 1
- Not getting all of the tiles when iterating? HOT 6
- Parsing may be slow for some use cases HOT 7
- Add way to get the LayerData from a more specific layer type like GroupLayer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rs-tiled.