Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Try specifying a negative value in SetScale: SetScale(-1.0 , 0.0)

I think we can change the coordinate system to the inverted state without changing the coordinate system.

(1 edit)

Thanks, will give this a try!
Sadly this doesn't work, object vanishes when setting scale to -1.0, 0.0

Oh, sorry, simple mistake.

I had the wrong Y scale.

The correct value was (-1.0,1.0)

Hey, Thanks for the help but sadly this isnt working either.
I am using the placeholder animation you provided in the tutorial. When i do this scale change in your scene (load and display) it works fine.
When I do this in my scene the animation vanishes and all I can see is a flickering of the bottom of his shoes. I am loading the spine object in exactly the same way (copy and pasted your code for testing) however I have "Direct Drawing" set to 0 so that the animation renders above the background.

The issue appears to be "Direct Drawing".  If this is set to "1" the reverse scale works however the object will not render above anything (not even a background object, rendering the animation useless). If it is set to "0" the animation renders correctly with layers and objects however the reverse scale makes the animation vanish apart from the flickering of his shoes.

(1 edit)

I see.

I have a feeling that this is the bug you reported earlier.
Please try the latest version of the mfx file.
(SpineExtension_20221103.zip)