How do I Sync an element in an Online Multiplayer

Get help using Construct 2

Post » Thu Oct 06, 2016 5:16 pm

Message: Drca can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Dear Constructors,

I made a simple game where you can enter one word in the TextBox and by hitting Enter/Return the word floats up and starts interacting in a "digital ether" with other ones via the physics behavior.

I want to make it an online multiplayer where people can join via their mobile phones and in the Mobile layout enter a word that would appear on Layout1 that is viewed on a computer. I'm guessing that this should be really simple to make as the only thing that should be synced is the word typed on any phone connected to the internet to appear on Layout1.

I've tried many things but can't seem to wrap my head around the multiplayer object. Could you guys please help me, give me a heads start or an example that would make it clear to me how to achieve this?

Here is the link to the .capx file. It is still just a skeleton, no design done.
https://drive.google.com/open?id=0B1JGt7XBcimrRzB0S0F2YnZvbWc

Thank you!
Last edited by Drca on Sat Oct 08, 2016 1:18 pm, edited 2 times in total.
B
4
S
1
Posts: 7
Reputation: 314

Post » Fri Oct 07, 2016 12:49 pm

@Kyatric , any proposal on how to achieve this? :) Thank you!
B
4
S
1
Posts: 7
Reputation: 314

Post » Fri Oct 07, 2016 5:33 pm

Your link to your file did not work in your first post.

Otherwise, using the multiplayer plugin is explained through the four tutorials linked from the manual article and each one has a commented capx example delivered with Construct itself ("Browse example" in the startup page).
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
292
S
115
G
96
Posts: 7,295
Reputation: 70,795

Post » Sat Oct 08, 2016 12:50 pm

Message: Drca can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I read the manual and looked at a few tutorials but can't seem to get it working.
Another question is, is the login necessary for multiplayer?

I hope the link works this time.

https://drive.google.com/open?id=0B1JGt7XBcimrRzB0S0F2YnZvbWc
B
4
S
1
Posts: 7
Reputation: 314

Post » Tue Oct 11, 2016 3:55 pm

Message: Drca can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I've tried to modify the example chat room so when you send a message, a Text Object is made on a random position displaying the text, but I can't seem to sync the position and text content at all. What am I doing wrong?

https://drive.google.com/open?id=0B1JGt7XBcimrbzhzTWhnZnlnVVk
B
4
S
1
Posts: 7
Reputation: 314


Return to How do I....?

Who is online

Users browsing this forum: beohs, Blendi1223, Elliott, MadSpy and 11 guests