WebRTC Server?

Discussion and feedback on Construct 2

Post » Sun Jul 06, 2014 12:41 am

Is it possible to run a WebRTC (multiplayer) server using something like NodeJS, instead of using a construct2 psuedo - server (a capx)? I am looking for something that will hopefully scale and run on vps or similar hosts.
Posts: 8
Reputation: 241

Post » Sun Jul 06, 2014 1:25 pm

AFAIK there aren't any non-browser platforms like node.js that have WebRTC support, and even if they did you would have an extremely difficult time making sense of the Construct 2 Multiplayer protocol. A browser tab on a dedicated server is probably the best way.
Scirra Founder
Posts: 25,097
Reputation: 199,802

Post » Sun Jul 06, 2014 4:33 pm

For me at least, 'browser tab' and 'dedicated server' do not make sense together. When I think dedicated server, I think 'background process' (or service), that starts at start-up. What happens if the machine hangs, power cycles, or the browser crashes? It would require human intervention to re-start. The game would be down until that happens.

This multi-player library looks promising, do you have any suggestions on design, for a more resilient server / host? OR, should I be looking at a different method multi-player communications (any suggestions if so)?
Posts: 8
Reputation: 241

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests