How do I use Multiplayer across different Layouts

Get help using Construct 2

Post » Mon Jun 23, 2014 1:28 am

Hi

This has me stumped.

I can use Multiplayer on the one layout fine (in fact, its great!). The Host spawns the objects and uses sync to "control" them on the client.

But how do you use Multiplayer across different layouts? Lets say your game has two layouts (levels, worlds, whatever) and the host/peers switch between them. The idea of using the Host to spawn and sync objects stops working.

Any ideas how to overcome this?

Ben
B
4
Posts: 13
Reputation: 376

Post » Thu Jun 26, 2014 3:28 pm

Since I have multiple levels in my Multiplayer game I need to make it work on different layouts, too.
I did not try it yet but thought I would create a loading layout where data is exchanged (what char each player has, what level was voted or selected) and then a new layout is loaded on all peers and the game starts. Is this not working with the current Multiplayer plugin?

/Edit: After looking around for a while it seems it works across multiple layouts. I will test it soon. :)
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
56
S
17
G
6
Posts: 748
Reputation: 9,420


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, R0J0hound, Yahoo [Bot] and 27 guests