Animation only when attacking.

For questions about using Classic.

Post » Fri Sep 25, 2009 6:11 pm

Hey guys. Just wondering how this can be done. I have my guy move and than press s to shoot after aquiring an item. Thats all fine. But it comes from his center. Is there anyway to make an animation of him holding a gun for the quick second that the bullet fires? I looked in animation but im still new and cant figure it out. Please help. Much appreciated. Thanks for looking.
Heres the CAP so far...

Posts: 21
Reputation: 892

Post » Fri Sep 25, 2009 10:01 pm

It really isn't any different than creating the mele sword attack.

Left/right Arrows - move
Shift - Jump
Space - Sword attack
Z - Use gun

I used a global variable so that you can't use the sword and the gun a the same time, if you would like to use both you could simply remove the variable checking conditions.

Again I hope it helps.
Posts: 459
Reputation: 6,763

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests