-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
I am using:
- Phaser 2.5.0
- webGL mode
- spine editor 3.6.50
- phaser-spine https://github.com/orange-games/phaser-spine/blob/0d8fbbcf5ca8f2e74debe5e77bcabf65ff24534c/build/phaser-spine.js
I made a strawberry sprite that sits in the center of the spine scene,
It uses deform animations
and then I load and create it in-game (at 0, 0)
I expect it to appear in the top-left corner, with only the lower-right corner visible.
but actually, the strawberry appear much lower, and the whole right-side is visible in the game.
I then made the following changes to the source and it correctly aligns to the origin again:
may I know what the purpose is for the deleted piece of code?
Edit: i also removed var scale = Math.max(scale2.x, scale2.y);
and used scale2.x
and scale2.y
as-is
why are the scale normalized like this?
Are the lines intended, or did I break something by fixing it?
Metadata
Metadata
Assignees
Labels
No labels