How do I sync multiple player objects as a group?

Get help using Construct 2

Post » Wed Jul 08, 2015 12:30 pm

Hi,

We have bought this game: http //codecanyon.net/item/the-truckphysical-vehicle-gameinclude-apk-file-/full_screen_preview/6978398 (link is for informational reasons only, I am not selling it) (add a : after the http I cant post a url)

I need to make a multiplayer version out of it. So far so good, but what I would like to know is what is the best practice to sync multiple objects as one?
The problem is that the truck is actually 3 objects: 2 wheels and 1 body, and all of the examples only show how to sync 1 object properly.

I'm not looking for concrete examples just someone who can give me a little bit of the right direction ;) Thanks!
B
4
Posts: 3
Reputation: 206

Post » Wed Jul 08, 2015 3:09 pm

Check how I applied the synching in the mutli RTS template in the arcade, capx included. (under multiplayer games)

That is one method to do it ... but, if your game logic allows you to synch 1 thing and have the logic handle the rest, I would go with that. (less synching == better network performance)
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Wed Jul 08, 2015 4:50 pm

lennaert wrote:Check how I applied the synching in the mutli RTS template in the arcade, capx included. (under multiplayer games)

That is one method to do it ... but, if your game logic allows you to synch 1 thing and have the logic handle the rest, I would go with that. (less synching == better network performance)


Yeah sync the truck body and spawn the wheels locally was my last option, the game we bought is using the wheels to apply logic on (like physics forces) and also to determine if the truck should flip or not, so if I do that I have to rewrite like 50% of the game. But if you say that's better then I guess I should go for it. Thanks! I'll look at your template anyway just to see the other option.
B
4
Posts: 3
Reputation: 206


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Jackriduk, Tombas and 26 guests