Trying to make Donkey Kong Duo mechanics with Physics

Get help using Construct 2

Post » Sat Jul 25, 2015 4:51 pm

Hello there

I am currently working on a project where one of the main features of the game is a Duo Platforming system similar to that of the original Donkey kong country (1) games , we have the switching down to a tee but as we are using physics with these characters , it is difficult to make the second player follow the first in the precise way we want it to , it is also important that the second player maintain the same rules and abilities for interactions as the Player themselves .

At the moment we are stumped as for how to make this work as you can see below (2) I've attempted to create a list of different commands for the second player and this works ok but its not precise enough and causes the second player to ping pong back and forth or overshoot the second player.

If any one has any advise or any solutions please let us know it would be greatly appreciated

Thank you for your time ,Ryan.

(1) https://www.youtube.com/watch?v=whp2Y_MjTXs- Example of the mechanic we want

(2) http://imgur.com/edit- Our current Coding
B
6
S
1
Posts: 51
Reputation: 525

Post » Sat Jul 25, 2015 6:39 pm

I think DK more or less uses "path tracing" for this - constantly writing player coordinates and such into an array and setting the cpu player to them with a delay.

Kinda like this yoshi-039-s-island-eggs_t91665?&hilit=yoshi+eggs
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Mon Jul 27, 2015 10:15 am

Thank you very much , this looks like it will help.
B
6
S
1
Posts: 51
Reputation: 525

Post » Mon Jul 27, 2015 3:29 pm

I'm working on this: https://www.youtube.com/watch?v=WdKo5OZrHhE

Actually I didn't finish the events for the player who follow the other one (there are some bug), I just made a lerp and set the same x,y and different event to don't fly on the edge of the platform... very simple, but I didn't use physics, just platform behavior
B
21
S
9
Posts: 298
Reputation: 2,967


Return to How do I....?

Who is online

Users browsing this forum: tdcostas and 9 guests