GML [SOLVED] Flipping Image

T

Treecase86

Guest
Hey! Back for the trillionth time. I want to flip a sprite using GML, I know you use image_xscale for this. However I'm already using that to scale up the image -_- ... So how can I flip the image whilst already using image_xscale and image_yscale to scale up the image?
 

CloseRange

Member
you can still use image_xscale just make it negative:
Code:
image_xscale *= -1;
that will flip it but even it its, lets say 5, then -5 will still be 5 times as big but in the other way

Hope this helped! :D
-CloseRange
 
T

Treecase86

Guest
you can still use image_xscale just make it negative:
Code:
image_xscale *= -1;
that will flip it but even it its, lets say 5, then -5 will still be 5 times as big but in the other way

Hope this helped! :D
-CloseRange
Thanks!
 
Top