Defold 1.8.0 has been released

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.

3 Likes

fix solved problem

4 Likes

The spine fix mentioned above has been merged.

2 Likes

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:

Screenshot 2024-06-18 at 16.17.26

	-- 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

Screenshot 2024-06-18 at 16.16.45

if I set both top and bottom, it gets all messed up. :slight_smile:

go.set('/pipe#pipe', "slice", vmath.vector4(0, 19, 0, 19)) -- I TRY TO CHANGE IT TO TOP

Screenshot 2024-06-18 at 16.23.05

2 Likes

Good find! Please create a ticket on GitHub!

2 Likes