M
Meve
Guest
Hi!
so Im working on a 2d platformer and I have been having some problems with the x and y scale coding
ive tried multiple things
and now i have this:
i also used this code in a (simpler) game:
the problem is, is that my image gets stretched out when i use that code and i dont know what to do about it.
so Im working on a 2d platformer and I have been having some problems with the x and y scale coding
ive tried multiple things
and now i have this:
Code:
if (key_left)
{
image_xscale=-3;
image_yscale=3;
if (key_right )
{
image_xscale=3;
image_yscale=3;
}
Code:
if (hsp >0) image_xscale=2
if (hsp<0) image_xscale=-2