Klonoa style enemy grapple

For questions about using Classic.

Post » Sun Nov 20, 2011 8:33 am

Hello all, dose anyone know how to make a Klonoa style enemy grapple? (For those of you who never played or heard of Klonoa) basically when you press the A button Klonoa has this short distance ring-like object that grabs enemies then position them overhead. When Klonoa has grappled an enemy he can the throw them to other enemies to defeat them. Also during grapple Klonoa can "double jump off the grappled enemy". However, I'm not interested in that feature just the grab and throw into enemies. Anyone would like to add in the "double jump off enemies feature" you are more than welcome and appreciated.

Here a Youtube footage link of Klonoa for the GBA that can explain the feature more better.

http://www.youtube.com/watch?v=5MzU00aum9Q       
B
2
G
1
Posts: 6
Reputation: 462

Post » Mon Nov 21, 2011 1:53 am

I'd just give each enemy a private variable that decides if you've grabbed it or not. When your projectile ring thing collides with the enemy, set the value to 1. When that value is 1, deactivate the enemy's behavior (or just create a new object and destroy the enemy) and position it to the top of your player. You can then have another value to tell the player if he's holding something or not, and change his animations.

To throw an enemy or object just give it the ball behavior with gravity and, upon throwing, set it's x,y velocities.

Sorry maybe not the best explanation but there isn't much to it!
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Sun Nov 27, 2011 5:29 pm

Thank you it works!
B
2
G
1
Posts: 6
Reputation: 462


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests