Make a Castlevania-like Whip

For questions about using Classic.

Post » Sun Jun 05, 2011 12:54 pm

Hello everyone !

This time I need help for doing a whip like Castlevania... What do I mean ? A whip that can be use at 8 directions... but also for hanging on hooks... Here is an example :

http://www.youtube.com/watch?v=qHSXjbhirrc&t=1m20s

http://www.youtube.com/watch?v=Wn7r-MJb0Lo&t=1m3s


I hope that you can help me...
B
6
S
1
G
3
Posts: 61
Reputation: 1,072

Post » Thu Jun 09, 2011 9:04 pm

Sorry to double post, but can someone help me please ? I tried with a line object but it can't use it properly !
B
6
S
1
G
3
Posts: 61
Reputation: 1,072

Post » Fri Jun 10, 2011 11:52 pm

One way you can do it is just by using a whip animation. At the end of the animation check if the end of the whip is colliding with a hook. If it is, disable the current movement scheme and start a pendulum swing. At the end of the swing revert back to the original movement.

Here is one way to go about it:
http://dl.dropbox.com/u/5426011/examples5/whip.cap
made in cc1.2

If you want a more realistic whip you can try physics objects hinged together:
http://dl.dropbox.com/u/5426011/example ... dchain.cap
made in cc1.2
B
79
S
24
G
54
Posts: 4,749
Reputation: 40,761

Post » Sat Jun 11, 2011 1:53 pm

Thanks a lot ! I manage to do the hooks hanging, but I still can't do the whip attack at 8 directions...

http://www.youtube.com/watch?v=EPAhoNU_9mk&t=8s
B
6
S
1
G
3
Posts: 61
Reputation: 1,072

Post » Thu Sep 15, 2016 5:19 am

Hi Folks, I am using Construct 2 and can't open the .cap files. Can you help me out, I am also looking for help with whip mechanics.
Thanks
B
6
S
1
Posts: 4
Reputation: 358

Post » Thu Sep 15, 2016 6:32 am

If you install construct classic you can open the cap file and look at the events. It should look much like c2 events so you usually can copy everything over. I don't have access to either software right now so I'm unable to do it or even see what I did.

On the other hand this is a pretty old solution and you'd probably get better solutions by posting in the c2 section of the forum instead. There's a lot of creative c2 users that may just not read topics in the construction classic section.
B
79
S
24
G
54
Posts: 4,749
Reputation: 40,761

Post » Fri Sep 16, 2016 12:09 am

groovy, thanks for the advice.
B
6
S
1
Posts: 4
Reputation: 358


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests