How do I add more objects to multiplayer template?

Get help using Construct 2

Post » Mon Mar 17, 2014 9:56 pm

If i add object destroyable walls / projectiles, this object are not visible to other players i need example of code .

Thanks
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Tue Mar 18, 2014 9:07 am

Read the multiplayer tuts, wait for the last one. Code examples wont help you for online games dev. You have to understand the logic.

If you create an object locally you have to create it for every peer. If a peer shoot a bullet, create it locally, then send a message to the host who will send the message to the others peer. And for every modifications you made on an object do the same.
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Tue Mar 18, 2014 11:27 am

@Joskin yeah i definityly dont understand something, but this is still theory I think you talking abaut 'Sync object' i can onlyguess when it comes to something else, sum sumarum i need to know how this looks in practice
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Tue Mar 18, 2014 2:25 pm

Where did you find the multiplayer template? I see alot of people talking about it, but haven't found it yet.
Please tag me with @caiorosisca if your post is refering to me :). I don't always follow the topics I answer.
B
11
S
4
G
1
Posts: 272
Reputation: 1,643

Post » Tue Mar 18, 2014 2:27 pm

r164 => Open C2, new project -> you ll see a list of templates, here it is. (But it's restricted to licence owner I guess).
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Tue Mar 18, 2014 2:32 pm

@caiorosisca in list of templates search 'multiplayer' im using this but i have license
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168


Return to How do I....?

Who is online

Users browsing this forum: Fenix18, tarek2 and 67 guests