≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Question on multiplayer: are WebSockets useful for creating a multiplayer game?
Posted by:
(you are not logged in)
Enter the missing letter in: "Internat?onal"
(you are not logged in)
Text:
[quote][b][/b] wrote: Unfortunately, WebSocket will not work on any targets other than browser. The reason for that is that WebSocket API is a part of modern browser functionality, not Coppercube itself. Coppercube also uses an old JS (definitely pre-ES5) version of JS and lacks a lot of modern JS capacities also, like for example JSON object support which is used for data serialization which is crucial for a multiplayer project. Actually you can sort of make it work by running your game in some web application wrapper like electron https://www.electronjs.org/. You can even target the platforms not officially supported by CCB (like linux for ex) that way.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact