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...

[url:2xoexg8o]http://www.mediafire.com/?sharekey=1e9cebec6a7336111bee9a6e9edd9c76e04e75f6e8ebb871[/url:2xoexg8o]
B
2
G
3
Posts: 21
Reputation: 892

Post » Fri Sep 25, 2009 10:01 pm

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

http://dl.getdropbox.com/u/1646976/sword.cap

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.
B
46
S
23
G
7
Posts: 459
Reputation: 6,763


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests