Hi, I try to make a two websocket connections in the same time but it's not possible to open a connection while one connection is already opened. Is there any way to make two or more websocket connections opened simultaneously?
Develop games in your browser. Powerful, performant & highly capable.
OK, I found a solution. Maybe it's not the best solution but it works.
I just duplicate websocket plugin in C:\Program Files\Construct 2\exporters\html5\plugins\
and in the edittime.js and runtime.js I modified the name and ID from "WebSocket" to "WebSocket2" and "C2WebSocket" to "C2WebSocket2". So every new websocket connection has an own websocket plugin.