gree / lwf

LWF - Lightweight SWF
http://gree.github.com/lwf/
zlib License
627 stars 167 forks source link

Rotated texts had incorrect position #82

Closed unkiwii closed 10 years ago

unkiwii commented 10 years ago

I have an animated MovieClip in flash with a text inside and with a ttf font or a bitmap font the rotation makes the text position change. This happens also if I change the rotation of the parent MovieClip or the text in runtime without an animation in Flash.

I uploaded a video showing the problem: http://youtu.be/9E2soCFvHf4 (I lowered the fps so you can see the problem)

This happens in the cocos2d-x implementation of LWF

splhack commented 10 years ago

Thank you for the bug report. I fixed the problem in the master. If you are using older version of LWF, please modify code as https://github.com/gree/lwf/commit/7561a742da48f0a569db38ffe449c23fbd1ce196