Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
When a new .plist is generated in Texture Packer 6.0.2, it comes with definitions for the pivots of the sprites, however, when importing the .plist in Cocos Creator, the pivots are reset or ignored to the center.
Relevant error log output
No output is generated
Steps to reproduce
Generate a new texture atlas with Texture Packer with some pivots different from {0.5, 0.5}, then import it to Cocos Creator and it will ignore the pivot.
Cocos Creator version
3.6.0
System information
Windows 10 Profesional 21H1 19043.1826
Issue description
When a new
.plist
is generated in Texture Packer 6.0.2, it comes with definitions for the pivots of the sprites, however, when importing the.plist
in Cocos Creator, the pivots are reset or ignored to the center.Relevant error log output
No output is generated
Steps to reproduce
Generate a new texture atlas with Texture Packer with some pivots different from {0.5, 0.5}, then import it to Cocos Creator and it will ignore the pivot.
Minimal reproduction project
Tests.zip