HI all,
I have an issue where my sprite is set to 'mirrored' but if I change the size of the sprite
using an event, the sprite resets to 'non-mirrored' state.
How can I resize my sprite without loosing mirror state?
Develop games in your browser. Powerful, performant & highly capable.
What is the size of the sprite in its mirrored state?
(self.x<0?-xsize:xsize)
Perhaps try changing the object scale, not size? If I recall that should preserve mirror state just fine.
I ended up just saving the mirror state inside a instance variable & then resetting mirror state after resize.
Seems to all be working fine, just not the behavior I expected.
Thanks for all the responses.