Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.85k stars 819 forks source link

Sprite3d and mask works unpredictable #880

Closed rzer closed 8 years ago

rzer commented 8 years ago

When you apply mask on Sprite3d everything is fine before you use rotationX, rotationY property. In some cases (combinations of parent positions) it works fine, in others clipRect moved right, and down.

Example with bug: https://www.dropbox.com/s/njx5d7fewqqwny6/TestStarling.zip?dl=0

PrimaryFeather commented 8 years ago

Good catch! Please give it a try with the new version — I hope I've got all combinations of 3D and non 3D masks covered now.

rzer commented 8 years ago

Now it's works perfect. Thanks for your work Daniel!

PrimaryFeather commented 8 years ago

You're welcome! I'm glad I could help! :smile: