One animation per key pressed

Get help using Construct 2

Post » Sun Dec 04, 2011 10:44 pm

Hi!

I know there's already something in the FAQ about that but I didn't get it right even if I went right through the FAQ...

I'm trying to have an animation by direction for my character.

I have a level with a character in it. I dropped a keyboard object in it and created an event for keyboard UP key with an action telling the my current animation (selected the one I took for in the level) to set animation for the new one but I don't know what to do next so I put .Angle next to it...

Long story short, When I press the UP key the character moves towards to the top but the animation does not change...

I wonder what am I doing wrong?

Thanks!
B
6
G
2
Posts: 43
Reputation: 1,211

Post » Sun Dec 04, 2011 11:18 pm

I guess an action "Start animation" should help.
If not, post your capx, it's hard to guess "in the wind".Kyatric2011-12-04 23:18:40
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sun Dec 04, 2011 11:32 pm

Hi! Thanks for the help!

I did what you told me and it does nothing good. Here is the capx. Thanks!

http://dl.dropbox.com/u/199126/Test.capx
B
6
G
2
Posts: 43
Reputation: 1,211

Post » Sun Dec 04, 2011 11:51 pm

OH! NEVERMIND! I just found it!

The animations window was out of my screen for some reasons, so I wasn't aware of its existence and I had created other objects for the animations. So I wasn't using the right stuff at all!

Now it is working fine!!!
B
6
G
2
Posts: 43
Reputation: 1,211


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Ethan, Marxally, Naightwolf, pierre244 and 16 guests