multiplayer plugin + platformer possible?

Get help using Construct 2

Post » Mon Mar 24, 2014 11:41 am

Hello all,
Ive tried several ways of figuring this out and dont know if possible, ive gotten close to what id like (basically a multiplayer platform engine where chars can run and jump and be seen by other people, ive gotten close but im not sure if the issues im running into are caused by latency or something im doing wrong, (ive tried to disable the peers platform behavior, but it seems to work better enabled. )

just wondering if any body else has tries something similar with any success.
thanks,
-ZakChaos
B
13
S
3
G
4
Posts: 61
Reputation: 3,489

Post » Mon Mar 24, 2014 11:49 am

I'm working on something similar, but with multiple controllable my only problem is getting the host to see the movements of the peers. But the Peers can see the hosts movements.
Using R243 for all examples
B
69
S
20
G
6
Posts: 379
Reputation: 9,699

Post » Mon Mar 24, 2014 12:10 pm

Ill post my results when I get home, im able to see all players move from peer and host but I think I may need to add lag comp in there somewhere
B
13
S
3
G
4
Posts: 61
Reputation: 3,489

Post » Mon Mar 24, 2014 2:18 pm

Ok, some playable results To share,

Game:
https://dl.dropboxusercontent.com/u/73848762/WG4C2Forums/index.html

Little platform multiplayer game, using arrow keys, and space, the premise is a little multiplayer arena where your gun shoots wind to knock other players into spikes.

The Capx:
https://dl.dropboxusercontent.com/u/73848762/wgc2version.capx

This Capx, might be a little sloppy, and not the best to learn from, it is what it is.
B
13
S
3
G
4
Posts: 61
Reputation: 3,489

Post » Mon Mar 24, 2014 2:27 pm

In the end you should even be able to do something like Maplestory.
Image ImageImage
B
168
S
50
G
164
Posts: 8,238
Reputation: 105,595

Post » Mon Mar 24, 2014 2:44 pm

Wow thatd be incredible. Can't wait! :D
B
13
S
3
G
4
Posts: 61
Reputation: 3,489

Post » Mon Mar 24, 2014 3:19 pm

very cool. I was also playing around with multiplayer platform: viewtopic.php?f=180&t=99626
but your game is better :)

i noticed you have your example (like mine) has a problem with client and server player positions not always being the same and sometimes they jump around. Hard to explain what I mean... have you noticed this though?
B
63
S
12
G
6
Posts: 456
Reputation: 8,969

Post » Mon Mar 24, 2014 7:18 pm

sometimes they jump around. Hard to explain what I mean... have you noticed this though?


YES!
This is exactly what i'm having trouble fixing/figuring out, and wondering if it's latency, or something to do with the way hosts/behaviors are handled. maybe theres another way of creating a platform engine without using the platform behavior? maybe better to use the hosts to issue controls via physics impulses? if any body has a clue or suggestion im all ears.
B
13
S
3
G
4
Posts: 61
Reputation: 3,489

Post » Wed May 07, 2014 8:23 am

In your example the peers can't see the host's animations, how to fix this?
B
8
S
2
Posts: 110
Reputation: 1,463


Return to How do I....?

Who is online

Users browsing this forum: digitalsoapbox, RetrocadeMedia and 1 guest