When you call a function you can add parameters. Then in your function use the system expression Function.param(x).
He will help you with the 3rd tutorial about multiplayer
I can't sorry, I'm busy on my own multiplayer game. :/
Did you mean how to kick a client ?
If yes, you can send a message to the client (as host), if this message is received by a client force him to disconnect.
On Multiplayer.Message
-> if message = "disconnect"
=> Disconnect from room/signalling.
It should be "easy" to add the networking functionnality for a turn based game, you don't need lag compensation, input prediction ...
I think you should try first to add networking, before adding more stuff.
Wait for the third tutorial on multiplayer or look at the second multiplayer template. It's impossible to explain how it works on a forum post.
Well, you haven't online code for your game...
The objects move locally.
If the host move a chess, you have to send a message to the peer saying that the host moved a thing to a position... and do the same for the peer.
r164 => Open C2, new project -> you ll see a list of templates, here it is. (But it's restricted to licence owner I guess).
Can you post the capx ? It much easier to help you if you attach the capx !
Did you add the keyboard or mouse object on your project ?
https://www.scirra.com/manual/113/keyboard
https://www.scirra.com/manual/114/mouse
Did you run the project localy ? I mean by clicking on the generated index ?
You have to upload your generated project on a website. It should work !
Develop games in your browser. Powerful, performant & highly capable.
Can you post a picture of your array (with the debug mode) after you load it with the values ?
Member since 26 Jul, 2012