L
Loïc Mouton
Guest
Hi community !
I'm french and it's my first post here so i'm sorry for my english mistake.
I've a problem with my code for flip my character in my first platformer game.
Here's my code for flip :
My normal character :
and when i want to flip :
The ratio is destroyed xD
Can someone tell me how can i fix that ?
Thanks everyone ^^
Loïc Mouton
I'm french and it's my first post here so i'm sorry for my english mistake.
I've a problem with my code for flip my character in my first platformer game.
Here's my code for flip :
Code:
if (hspd != 0)
{
image_xscale = sign(hspd)
}
and when i want to flip :
The ratio is destroyed xD
Can someone tell me how can i fix that ?
Thanks everyone ^^
Loïc Mouton