I cant duck!

For questions about using Classic.

Post » Thu Jan 17, 2013 8:42 am

Hi! Im new to game making and i just ran into my first problem while trying out some animations i did for this ninja character.

I got the standing, running, jumping, falling working ok. But i cant get the "ducking" one to work right.Its the only one that doesnt have one of those default tags. I can imagine i would have the same problem adding any other kind of action.

I added a keyboard object and set an event for it:

down key is down --> set ninja animation to "ducking".

For some reason it only goes to the first frame of the animation.

Can anyone take a look at this and point me in the right direction please?

https://www.dropbox.com/s/rp2s597lt2jozbt/Ninja_01.cap
B
4
Posts: 7
Reputation: 339

Post » Thu Jan 17, 2013 6:33 pm

Never Messed with the default tags before...
You'll probably be better off if you just make the animation shifts with custom conditions
----------------------------------
>object coliding with platform/solid at offset +10.y(or whatever):
   --->no key down
       speed=0:      Set animation to standing

   --->speed>0: for runing
   --->key down"down arrow": set animation to crouch

>jump animation finish: set animation to fall
>press space: set animation to jump
-----------------------------------

if the animations get stuck, just add a trigger once condition.

---> just means subeventBartosh2013-01-17 18:38:10
B
6
S
2
G
5
Posts: 249
Reputation: 2,323

Post » Thu Jan 17, 2013 10:09 pm

Will do. Thanks for the help buddy!
B
4
Posts: 7
Reputation: 339


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests