Socket.io v.9 with Actionscript

Posted by funseiki on Game Development See other posts from Game Development or by funseiki
Published on 2012-12-16T01:21:08Z Indexed on 2012/12/16 5:20 UTC
Read the original article Hit count: 286

I'm attempting to develop an online multiplayer game using Node.js for the server and Flash to display the client.

I've been reading up a bit and have found quite a few recommendations for the socket.io library. I've also found a github project which exposes code to help facilitate communication between an Actionscript 3.0 client and a server using socket.io.

The project I mentioned is a bit dated and doesn't seem to have support for the latest version of socket.io, so I was wondering if leveraging this framework (socket.io, that is) would be the most ideal way to go.

I have found a simple project that uses the standard 'net' module for node.js, but because there a few options available, I'm a little lost as to which one to go with. I'm currently leaning towards just using the regular 'net' module as it is already familiar to me.

Since much of the client is already coded up, I'd really like to not switch over to using the HTML5 canvas just yet (but using socket.io would make a transition in the future more friendly, I think?).

Any advice/direction on this matter would be much appreciated, though I do realize that there may be no one right answer.

Edit: To be more specific, are there any client-side socket.io frameworks available that allow for communication between an Actionscript 3.0 client and a socket.io server and are robust enough to support current/future versions of socket.io? If not, what are the alternatives?

© Game Development or respective owner

Related posts about flash

Related posts about multiplayer