How do I stop the player/use my sword attack

Get help using Construct 2

Post » Sat Jan 02, 2016 5:50 am

Hello. I am able to use my sword attack when I stop moving my player by hitting CTRL works just fine but I have to release the walking button the right and left arrow keys to do it I am wondering how can you stop the player from moving so don't have to release the arrow keys because its kinda weird having to do that every time and able to do my sword attack until I have a separate slash animation for the moving/slash?
B
6
Posts: 5
Reputation: 260

Post » Sat Jan 02, 2016 12:33 pm

You can add (Invert Condition).
Example:

When key right is down : Player move right
CTRL (Not Down)

When key left is down : Player move left
CTRL (Not Down)
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sat Jan 02, 2016 2:45 pm

Ohh ok ill try doing that thanks
B
6
Posts: 5
Reputation: 260


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests