How do I Make the player switch animations on left and right

Get help using Construct 2

Post » Tue Mar 25, 2014 3:54 am

How do I Make the player switch animations on left and right arrow key

Example: if i press left arrow key player goes to a animation same for right key

My player is a platformer BTW
[img]imageshack.com/a/img19/5018/sqio.png[/img]
Banned User
B
5
S
1
G
1
Posts: 88
Reputation: 723

Post » Tue Mar 25, 2014 4:09 am

set mirrored or not mirrored (depending on which side your animation is facing)
B
56
S
21
G
3
Posts: 602
Reputation: 6,612

Post » Tue Mar 25, 2014 4:19 am

Okay i did that but how do i make it on the event if left arrow down set animation i can find it anywere
[img]imageshack.com/a/img19/5018/sqio.png[/img]
Banned User
B
5
S
1
G
1
Posts: 88
Reputation: 723

Post » Tue Mar 25, 2014 4:23 am

first you need to add keyboard object. then go to events sheets.

find keyboard icon > choose on key pressed > then add action > choose your character > set mirrored (it gonna ask if you want to set mirrored or not mirrored)
B
56
S
21
G
3
Posts: 602
Reputation: 6,612

Post » Tue Mar 25, 2014 4:30 am

Okay thanks so much
[img]imageshack.com/a/img19/5018/sqio.png[/img]
Banned User
B
5
S
1
G
1
Posts: 88
Reputation: 723


Return to How do I....?

Who is online

Users browsing this forum: ome6a1717 and 15 guests