How do you make the main sprite walk left AND right with the arrow keys?
Offline
Use this script
when gf clicked forever if <key [right arrow v] pressed?> change x by (2) end if <key [left arrow v] pressed?> change x by (-2) endor
when key [right arrow v] pressed change x by (3) when key [left arrow v] pressed change x by (-3)...
Last edited by 30-1 (2012-10-29 10:08:36)
Offline
Really easily.
When key (right arrow) pressed
repeat until <not <right arrow pressed>>
change x position by 3
And then do the same with the left arrow.
Offline
mythbusteranimator wrote:
Really easily.
When key [right arrow v] pressed repeat until <not <key [right arrow v] pressed?>> change x by (3) endAnd then do the same with the left arrow.
I put your scripts in scratchblocks.
Last edited by ErnieParke (2012-10-29 15:48:39)
Offline