Velojet
No worries, I'm going to explore your code and aim to help you achieve this goal.
aceofpack
Great! Very happy to have your interest and involvement!
... This means that a method of generating code to be inserted server side can be dreamt of. This is what velojet is actually doing here. He's used code from the runtime that he could run on the server.
Perhaps I need to clarify this. What happens is that my server code uses NowJS callbacks that are implemented in the C2 runtime. There's no code from the runtime that runs on the server.
But is this plugin only made for ppl who have a server, or is this a plugin to connect to a already setup server?
mathiaswing
Ppl need to set up a server for the C2 runtime to communicate with - but I provide all the code needed to implement that (using the NodeJS and NowJS libraries (see my OP)).
What if i use a cocoonJS plugin? Isn't cocoonJS supposed to support multiplayer gaming?
Haven't used CocoonJS myself, but my understanding is that it simply uses WebSockets to support client<->client multiplaying, without the intervention of an authoritative server to manage and arbitrate (and to red-card cheaters).