Hi!
try to migrate from 1.6.4, and got this issue
We’re currently using a fork with the 1.7.1 change for EULER/ROTATION, but without the later breaking changes.
There’s a PR with a fix here: Fix crash when using inherit blending mode and the draw descriptor buffer is empty by Jhonnyg · Pull Request #172 · defold/extension-spine · GitHub
This should be merged as soon as it’s reviewed.
fix solved problem
The spine fix mentioned above has been merged.
It seems like slice is not working properly if the sprite is flipped using set_vflip
. I also tried to set the slice from bottom to top, but it didn’t work either. Am I doing something wrong here?
EDIT:
Github issue: sprite.set_vflip breaks/doesn't flip the slice · Issue #9102 · defold/defold · GitHub
Min repo case: https://github.com/user-attachments/files/15896568/9scale-vflip-issue.zip
-- Slice is set from editor : vmath.vector4(0, 0, 0, 19) -- BOTTOM
sprite.set_vflip('/pipe#pipe', true) -- THIS DOESNT FLIP THE SLICE
Left is sliced from bottom on Editor, right is just flipped:
-- Slice is set from editor : vmath.vector4(0, 0, 0, 19) -- BOTTOM
sprite.set_vflip('/pipe#pipe', true) -- THIS DOESNT FLIP THE SLICE
go.set('/pipe#pipe', "slice", vmath.vector4(0, 19, 0, 0)) -- I TRY TO CHANGE IT TO TOP
Left is sliced from bottom on Editor, right is flipped and set to top slice
if I set both top and bottom, it gets all messed up.
go.set('/pipe#pipe', "slice", vmath.vector4(0, 19, 0, 19)) -- I TRY TO CHANGE IT TO TOP
Good find! Please create a ticket on GitHub!