All Projects → 5Mixer → Mphx

5Mixer / Mphx

Licence: mit
A little library to let you make multiplayer games easily with Haxe. No longer maintained and better options are available.

Programming Languages

haxe
709 projects

Projects that are alternatives of or similar to Mphx

text
An experiment with WebSockets and the human condition.
Stars: ✭ 51 (-56.78%)
Mutual labels:  websockets, multiplayer-game
Spec
The AsyncAPI specification allows you to create machine-readable definitions of your asynchronous APIs.
Stars: ✭ 1,860 (+1476.27%)
Mutual labels:  websockets
Micro Racing
🚗 🏎️ 🎮 online 3D multiplayer neural networks based racing game
Stars: ✭ 100 (-15.25%)
Mutual labels:  websockets
Entangled
Rails in real time
Stars: ✭ 108 (-8.47%)
Mutual labels:  websockets
Facil.io
Your high performance web application C framework
Stars: ✭ 1,393 (+1080.51%)
Mutual labels:  websockets
Colyseus Examples
Colyseus Game Server examples for learning purposes
Stars: ✭ 109 (-7.63%)
Mutual labels:  websockets
Ng2 Websockets
Example project of using WebSockets in an Angular 2 application
Stars: ✭ 100 (-15.25%)
Mutual labels:  websockets
Next Todos
200 lines realtime todos app powered by next.js, preact, jet, redux and now
Stars: ✭ 117 (-0.85%)
Mutual labels:  websockets
Anycable
Polyglot replacement for Ruby WebSocket servers with Action Cable protocol
Stars: ✭ 1,610 (+1264.41%)
Mutual labels:  websockets
Nest
A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications on top of TypeScript & JavaScript (ES6, ES7, ES8) 🚀
Stars: ✭ 42,981 (+36324.58%)
Mutual labels:  websockets
Webfluxtemplate
Spring Webflux template application with working Spring Security, Web-sockets, Rest, Web MVC, and Authentication with JWT.
Stars: ✭ 107 (-9.32%)
Mutual labels:  websockets
Django Notifs
Modular Notifications (InApp, Email, SMS, CustomBackend etc) for Django
Stars: ✭ 105 (-11.02%)
Mutual labels:  websockets
Ooui
A small cross-platform UI library that brings the simplicity of native UI development to the web
Stars: ✭ 1,530 (+1196.61%)
Mutual labels:  websockets
Linkphp
基于swoole一款高性能多进程常驻内存型全栈框架,内置WebSocket服务器、服务治理PhpRpc功能,不依赖传统的 PHP-FPM,可以用于构建高性能的Web系统、API、中间件、基础服务等等。
Stars: ✭ 101 (-14.41%)
Mutual labels:  websockets
Omega
Real-time issue tracker optimized for small teams
Stars: ✭ 115 (-2.54%)
Mutual labels:  websockets
Java Oca Ocpp
Client and server library of Open Charge-Point Protocol from openchargealliance.org
Stars: ✭ 100 (-15.25%)
Mutual labels:  websockets
Qewd
Quick and Easy Web Development
Stars: ✭ 106 (-10.17%)
Mutual labels:  websockets
Atmosphere Javascript
atmosphere-javascript
Stars: ✭ 108 (-8.47%)
Mutual labels:  websockets
Php Wss
Web-socket server/client with multi-process and parse templates support on server and send/receive options on client
Stars: ✭ 117 (-0.85%)
Mutual labels:  websockets
Webpack Hot Client
webpack HMR Client
Stars: ✭ 116 (-1.69%)
Mutual labels:  websockets

mphx is in alpha and has rough edges. It has not been updated or developed in some time - you might like to evaluate other haxe networking libraries that are under active maintenece.

#mphx

mphx is a new library made with Haxe to allow for easy creation of multiplayer games. It was based off HxNet, whose code is authored by Matt Tuttle. The code is of a very different structure now. mphx is still 'alpha' and things might break. But give it a try, it will only make the library better. Feel free to contribute or create issues, even if your changes seem small!

Wiki


mphx allows for creation of both servers and clients, which connect to each other, sending messages. For the client, it works both natively and in the browser, with websockets, without you having to change a thing.

There are examples in the examples folder, for different libraries. (Basic has no external libraries.)

This library is not be dependent on any 'graphical' library (eg. Haxeflixel, Open FL or Luxe). If you want to, you can make a text based multiplayer game that runs in the terminal!

Please raise issues if you find issues, however also check other issues to see if they can help. Thanks!

Join the chat at https://gitter.im/5Mixer/mphx


Supported Targets

Client

  • [x] Native targets (C++)
  • [x] Web (JS with websockets)
  • [x] Neko
  • [ ] Flash (In progress - See issues.)
  • [ ] Mobile (Should work, however never tested)

Server

  • [x] Native targets (C++)
  • [x] Neko
  • [ ] Node JS

Alternatives.

mphx isn't the only library of it's kind in the haxe ecosystem. I'm pretty slow to make changes, sometimes I forget what I was doing, etc etc. If I've said I'll do something and it's still not in, just remind me, I probably forgot it. That said, these libraries do networking a bit different from me, in a way you might prefer.

  • HxNet. Hasn't been updated for a while, but was the base for this project.
  • HxBit. A very very new project by the creator of haxe that uses macros.
  • Extention-networking. Seems to function in a similar manner to mphx, however seems somewhat(?) tied to OpenFL.
  • ECS Networking. Seems to focus on networking with components/entities in mind.
  • Libraries such as heaps and kha have built in networking code.

Warnings

  • mphx is currently not compatible with haxe version 3.3.0 as a core part of networking code is broken in haxe 3.3.0. Versions before/after should be corrected, however, due to the nature of versioning, haxe 3.3.0 will always be broken.
  • performance tests have not really been evaluated, and some issues with lag still exist. This will be part of the refining mphx is slowly working though.
  • be aware of code flow. If client.connect is called before error handlers (client.onConnectionError = function()) are setup, the error functions won't throw.

Features (planned or avaliable):

  • Documentation (Work in progress)
  • Cross platform, with no changes required.
  • Automatic or manual management of 'rooms'.
  • Event based multiplayer.
  • Highly abstracted server and client, without bloating or taking away control.
  • Easy creation of 'packets' or data objects.
  • Ability to share code between server and client.

Example project

https://github.com/5mixer/plantree

Pong: -

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].