I forgot that I have:
in the draw event. so it wont allow me to flip the sprite in the step event. Is there there another way i can do this?
First time using this forum, and sorry this replies late to your comment, but let me try help ^^
Well, with your script to use flips, you need to be able to mess with the image_xscale and/or image_yscale variables.
In your script, you can change your...
This should basically do what you want it to do if you set it right.IMAGE_XSCALE
should be 1 to be normal, or -1 to be flipped Horizontally. Larger/Smaller numbers will stretch the image.IMAGE_YSCALE
would do the same, but Vertically.
can be any positive or negative number to spin your sprite. I think it's Negative to rotate Clockwise, Positive to rotate Counter-Clockwise.
Note with Rotating, if the number hits 360, it will act as if it's been set to 0 to continue spinning.Also!
I see a problem with your script saying "0-8" for the image_index slot.
This would give you the image_index of -8
. This doesn't mean it would use sprites numbered 0 to 8.
Find another way around this, by either making a new variable or using image_index
Feel free to check the Manual for assistance when designing