I need help, preferably an example mfa game, of making it so that when i hold right of a player he moves right, and when i hold left of a player he moves left. please help asap, thanks.
Printable View
I need help, preferably an example mfa game, of making it so that when i hold right of a player he moves right, and when i hold left of a player he moves left. please help asap, thanks.
Doesn't have to be an example though X)
Condition: On (Touch) --> Set (Player Value A) to (X Touch Coordinate); Set on (Player Flag 1)
Condition: Always; (Object Flag 1 = On); Player X Pos < (Player Value A) --> Set Player X Pos to (Player X Pos + 1)
Condition: Always; (Object Flag 1 = On); Player X Pos > (Player Value A) --> Set Player X Pos to (Player X Pos - 1)
Condition: Touch Released --> Set off (Player Flag 1)
Thank you so Muchhh XD