Haxe + real-time network

I am trying to find a good combination of libraries for real-time communication management (client / server) using Haxe (only Haxe, not openfl or another Haxe framework), designed for flash (swf) for the client and without preferences for the server, other than using neko.

The goal is to make tchat simple and put the mapping of all clients on aera. Each client can move his presentation in this area, while the other sees movement.

I find Lib to do this:

But I'm not sure about the best way to make it. Do you have any suggestions / comments / tips to choose the best way?

+4
source share
1 answer

Disclaimer: I wrote a library that I am sharing here.

My somewhat new mphx library can help you. It can manage the "numbers" of connections, allows the client server and server to send messages to clients in the form of events, and most importantly - the cross-platform. It also works online with websockets.

It was originally an extension of HxNet, however I wanted it to be easier to use. Connecting and sending a “message” with data takes only a few lines.

github, 'basic'. , (open fl ..), mphx - . . haxeflixel, .

, - . "" haxeflixel.

- , - , . , , , . :

haxelib git mphx https://github.com/5Mixer/mphx.git

. , zip git clone .

: https://github.com/5Mixer/mphx

, . , . 1: https://www.youtube.com/watch?v=07J0wLXwH0g 2: https://www.youtube.com/watch?v=MUx2CUtsnTU

+5

All Articles