You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[#1201][#1214] Fix body-renderable misalignment with trimmed TexturePacker atlas frames
- Sprite.setRegion: use sourceSize for width/height on trimmed frames, recover
stable anchorPoint from trim offset, and cache trim data per frame
- Sprite.draw: apply trim offset after rotation handling, with coordinate
transform (-ty, +tx) for -π/2 rotated atlas frames
- Entity: auto-inherit renderable's anchorPoint when entity is at default (0,0)
- TexturePacker parser: include sourceSize in parsed region data
- atlas.createAnimationFromName: use sourceSize for frame dimensions
- Add unit tests for trim math (node:test) and sprite/entity integration (vitest)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments