AristurtleDev / monogame-aseprite

A Cross Platform C# Library That Adds Support For Aseprite Files in MonoGame Projects.
https://monogameaseprite.net
MIT License
166 stars 15 forks source link

Tilemap with flipped tiles renders in wrong orientation. #97

Closed alexander-yozzo closed 9 months ago

alexander-yozzo commented 9 months ago

Description

Tile's that are flipped in a TileMap do not render in correct orientation.

Steps to Reproduce

Make tileset in aseprite. Make tilemap in aseprite, with some flipped tiles (hold space then hit x,y and/or d to flip a tile when placing) Import aseprite file directly into Monogame (not using the content pipeline) When rendered, you should see the 'flipped' tiles in odd orientations. Results may vary.

Expected Behavior

Rendered tilemap looks the same in Aseprite as it does in Monogame. expeceted-tilemap

Actual Behavior

Rendered tilemap looks off when rendered, only flipped tiles are off. They appear in the wrong orientation. monogame-asepritre-flipped-tile-bug

Configuration

Aseprite v1.3.2 Monogame 3.8.1.whatever (the latest one) MonoGame.Aseprite library version 5.1.3.-beta-2 (the latest one)

Other Information

No response

AristurtleDev commented 9 months ago

Resolved in #99

You can get the fix either by cloning the repo and using the develop branch or by using the 5.1.3-beta-3 prerelease NuGet