[Suggestion] EasyWebSocket

Post your completed addons to share with the community

Post » Sat Aug 11, 2012 9:33 pm

This is merely a suggestion, but http://easywebsocket.org/
seems like it would be a pretty awesome plugin,
might make building multiplayer games a whole lot easier.

I havent really felt like picking up Javascript until now, maybe i will for this.DeMayunn2012-08-11 21:35:25
B
16
S
4
G
5
Posts: 24
Reputation: 3,288

Post » Sun Aug 12, 2012 9:40 pm

Interesting! Certainly worth investigating. Thanks for sharing, @DeMayunn. Velojet2012-08-19 09:06:43
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Sun Aug 12, 2012 11:09 pm

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").
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Sun Aug 12, 2012 11:33 pm

@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.Velojet2012-08-13 10:19:48
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Sun Aug 12, 2012 11:52 pm

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.
B
16
S
4
G
5
Posts: 24
Reputation: 3,288

Post » Mon Aug 13, 2012 9:25 am

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.Ubivis2012-08-13 09:26:35
B
42
S
9
G
6
Posts: 437
Reputation: 5,626

Post » Mon Aug 13, 2012 10:05 am

[QUOTE=Ubivis] 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.[/QUOTE]

I'm glad you're developing a plug in :D
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

Post » Mon Aug 13, 2012 10:17 am

[QUOTE=DeMayunn]... you can do all the game and server logic in C2 ...[/QUOTE]
Well, actually no. As I said, EasyWebSockets allows you no control over the server, and that's a crucial requirement for a multiplayer gameVelojet2012-08-13 10:18:02
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Mon Aug 13, 2012 10:24 am

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) :)
B
42
S
9
G
6
Posts: 437
Reputation: 5,626

Post » Mon Aug 13, 2012 10:38 am

[QUOTE=Ubivis] I would not say, that it is a cucial requirement ...[/QUOTE]
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!
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest