loodakrawa / SpriterDotNet

A pure C# Spriter implementation
zlib License
220 stars 75 forks source link

Flipping doesnt work #67

Closed bosoni closed 8 years ago

bosoni commented 8 years ago

When I flip animation (changing AtlasExample/0.scml x-direction), pieces goes wrong places.

Test: Added if (IsPressed(Keys.Tab)) currentAnimator.Scale = new Vector2(-1f, 1f);
to SpriterGameState.cs.

spr

loodakrawa commented 8 years ago

That's in the feature/texture-atlas branch, right? It's still work in progress. The develop branch should be working fine (without texture atlases though). Thanks for reporting - I wasn't aware of this.

bosoni commented 8 years ago

Yes, feature/texture-atlas branch.

loodakrawa commented 8 years ago

Fixed with the latest commit on feature/texture-atlas