How do I put animations on each 8 direction

Just started using Construct 2? Post your questions here

Post » Mon Feb 01, 2016 3:25 pm

Hello, I am just starting using the Construct 2 program and I can get my sprite animate the 4 main directions( up, down, right, left), but I cant get the animation to work when pressing 2 keys for the angles, for example pressing up+right the sprite moves but the animation wont.
Image
Thanks for reading
B
4
Posts: 10
Reputation: 220

Post » Mon Feb 01, 2016 3:37 pm

Well..

It's pretty simple..
If event 10 is true, event 2 and event 8 are also true..
So all three events run its actions and the animation is started from the beginning every tick..

Adiing extra conditions should solve this..

Up arrow is down
(and) left arrow is not down
(and) right arrow is not down..
> play WU

Same goes for all other conflicting events..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Feb 01, 2016 3:54 pm

That actually worked thanks!!
B
4
Posts: 10
Reputation: 220


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest