Hello I am making a game with my friend and I am the scripter and I wanted to sort out walking he is coming to help me tomorrow. So when I click to go left I go right here is my code 
\$\begingroup\$
\$\endgroup\$
1
-
\$\begingroup\$ How does the behaviour of this code differ from what you want? \$\endgroup\$DMGregory– DMGregory ♦2022-06-04 11:59:20 +00:00Commented Jun 4, 2022 at 11:59
Add a comment
|
1 Answer
\$\begingroup\$
\$\endgroup\$
3
I believe that you want to change the
X Coordinate, bymove_speedto go right, and by-move_speedto go left.I'm not sure about the sprite. Since I see it says "left" on the name.
I would expect that if you wanted to flip the sprite the horizontal scaling would be
-1(and1for not flipping it). Not-2.
-
\$\begingroup\$ hey, my walking is fixed thank you! But my character gets really small for some reason can you help me again thanks! \$\endgroup\$LDLwarrior2– LDLwarrior22022-06-04 12:18:29 +00:00Commented Jun 4, 2022 at 12:18
-
\$\begingroup\$ @LDLwarrior2 it "gets" small? I can only guess it has to do with the instance scale. Did you scale it up when you placed it? The default scaling is
1for both horizontal and vertical, perhaps you want a different value. For example2for double the size, and then-2to flip it. \$\endgroup\$Theraot– Theraot2022-06-04 12:23:56 +00:00Commented Jun 4, 2022 at 12:23 -
\$\begingroup\$ no it is still small :/ \$\endgroup\$LDLwarrior2– LDLwarrior22022-06-04 12:25:27 +00:00Commented Jun 4, 2022 at 12:25
