0 Favourites

[Suggestion] EasyWebSocket

  • This is merely a suggestion, but easywebsocket.org

    seems like it would be a pretty awesome plugin,

    might make building multiplayer games a whole lot easier. <img src="smileys/smiley1.gif" border="0" align="middle" />

    I havent really felt like picking up Javascript until now, maybe i will for this.

  • Interesting! Certainly worth investigating. Thanks for sharing, DeMayunn.

  • The chat demo didn't work for IE9. I thought it worked with all browsers according to the website ("You don't want to worry about browser compatiblity").

  • rfisher

    No, IE9 doesn't have inbuilt support for WebSockets. The EasyWebSockets website should say "You don't want to worry about browser compatiblity - as long as you're not using IE1-9".

    BTW, as far as multiplayer games are concerned, EasyWebSockets could be of some use as a development platform, but no more, since you've got no control over the server, and that's a crucial requirement for an industrial-strength multiplayer game.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Yeah, i just found it and thout it might be a nice thing to develop on since you can do all the game and server logic in C2, and is pretty simple to understand.

    @Velojet

    IE10 has a working implementation of WebSockets, so it's not going to be a problem for long.

  • Interested enough to start working on it :)

    If anyone likes to join to bring up the best possible, feel free to join me ;)

    GitHub

    PS.: Not working yet, as I am still in set up process.

  • Interested enough to start working on it :)

    If anyone likes to join to bring up the best possible, feel free to join me ;)

    GitHub

    PS.: Not working yet, as I am still in set up process.

    I'm glad you're developing a plug in :D

  • ... you can do all the game and server logic in C2 ...

    Well, actually no. As I said, EasyWebSockets allows you no control over the server, and that's a crucial requirement for a multiplayer game

  • I would not say, that it is a cucial requirement. Back in the 90, there were not really Game Servers but Peer to Peer connections and the game itself took care of a server behaviour. This is something, you can actually do with EasyWebSockets.

    I am trying to give the best possible functionality with the PlugIn to allow sending object specific coordinates, a Chat System and maybe other stuff.

    In Addition, you can also set up 2 different games, one version to be run as a client only Game and one that mainly runs as a Server and broadcasts the results. (okay, you need to have a Browser somewhere that is running the server Game all the time. But it is possible) :)

  • I would not say, that it is a cucial requirement ...

    Hmmm. Well, my earlier post actually said "... that's a crucial requirement for an industrial-strength multiplayer game", while conceding that "EasyWebSockets could be of some use as a development platform".

    Wikipedia has a useful article about the crucial role of the server in controlling multiplayer interactions.

    But good on you, Ubivis, for taking up the challenge of developing a plugin! <img src="smileys/smiley20.gif" border="0" align="middle">

  • even it does not turn out to be any good (even for a BattleShips or 4-in-a-row Game). For me, it will be a big experience to work on it and hopefully gives to knowledge to continue working on my Photon Server Plugin :)

  • Ubivis

    I like your motivation! :)

    Photon seems nice, but i'm not going to use it because it has no

    linux port (so i cant host it on one of my servers) and Cloud has no free tier (trial doesnt count).

  • I'm working on implementing the following PHP Websocket code as a plugin because i want a PHP server and a javascript client.

  • ... hopefully gives to knowledge to continue working on my Photon Server Plugin :)

    @Ubivis

    Have you had a look at my experimental PhotonPlayer plugin? I'd be very happy for you to use my code as a basis for your own plugin.

  • Have you had a look at my experimental PhotonPlayer plugin? I'd be very happy for you to use my code as a basis for your own plugin.

    Not yet, wanted to start from scratch but might have a look ;)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
random bugs and suggestions
90 4,517
Tom's avatar
Tom Construct Team Founder
Unread hot topic
73 5,921
part12studios's avatar
part12studios
Unread hot topic
63 3,820
eli0s's avatar
eli0s