Touch Left Right Only

Get help using Construct 2

Post » Fri Jul 19, 2013 12:26 am

How do I make a sprite move left or right only?

Thanks for the help. . . Again.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Fri Jul 19, 2013 12:37 am

Depends on what type of left and right movement... You can do any of the following:

1. Add the platform behavior, then disable the default keys and set your own actions on the key press: On Key Press Left Arrow > Simulate Platform Left

2. You can use the 8 direction movement and do something similar to the above.

3. You can simply add a key press event for the arrow keys or whatever other keys you want and assign them to move the sprites X coordinates + or - depending on the direction.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,573


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Google [Bot] and 8 guests