Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Marion on Sun 18/02/2018 17:58:28

Title: GUI animated button doesn't get flipped frames ??
Post by: Marion on Sun 18/02/2018 17:58:28
Hi Everyone :)
I am making a new game. I have made a GUI with an animated button on it. But my original graphics did not face the right direction, so I have flipped every loop that will be used by this button. But sadly the button doesn't display the frames using the flipped option ! They are the original, non-flipped versions of the graphics, facing then the wrong direction.
I can't flipped manually all the graphics because there are hundreds of them to make the animations. Is there a way I can force the button to be animated with the flipped loops ?
Thank you very much :)
Title: Re: GUI animated button doesn't get flipped frames ??
Post by: Snarky on Sun 18/02/2018 18:46:43
Yes, it's possible using dynamic sprites, by reading the frame flipped property and flipping the dynamic sprite if true.
Title: Re: GUI animated button doesn't get flipped frames ??
Post by: Marion on Sun 18/02/2018 18:56:39
Oh, okay, thank you very much ! :)