Original PushButton Networking: https://github.com/PushButtonLabs/PBNetworking/ Using PushButton Networking version to port to Monkey: https://github.com/bgarde/PBNetworking
PushButton Networking for Monkey provides a powerful networking capabilities for Monkey games.
It provides an efficient networking library, components to easily integrate with your game, and a server uses the same code base as a client so you can run identical game code on client and server.
- Write high performance networked Monkey games fast!
- Run the same Monkey game code on server and client.
- Encodes messages with bit-level efficiency. (TODO Brl.DataBuffer is not talking nicely BitStream.)
- Communicate with events.
- Keep simulated objects synchronized with most-recent state updates.
- Define your networking protocol using simple XML.
- Brings the best practices of AAA C++ game networking to Monkey (TODO there are for loop in HTML5 and Java =P, can't be good especially these two uses virtual machine)
- It is now multiplatform - HTML5 (client only), Flash (client only), GLFW, XNA, iOS, and Android.
- Copy the content of src, that is directory "pbnet/" into the Modules directory.
- In the demo directory, build/run pbnetworkingserver.monkey
- In the demo directory, build/run pbnetworkingdemo.monkey
- Type "connect" at the pbnetworkingdemo prompt.
The PBNetworking/ folder contains the core PushButton Networking library code (in src/), as well as documentation (in Documentation/) <-- docs TODO!
The demo/ folder has an example game demonstrating PBNetworking. You can compile pbnetwrokingserver.monkey and pbnetworkingdemo.monkey, to run the demo.
The testNetworking/ folder has simple applications which run all the unit tests that come with the networking library.
Contact me Ferdi on our forums for support.
http://www.monkeycoder.co.nz/Community/_index_.php
Or email me, my email address is at.
http://www.monkeycoder.co.nz/Account/showuser.php?id=414
Original PushButton Networking by: Timothy Aste, Ben Garney, Rick Overman, Sean Sullivan, and Jeff Tunnell
PushButton Networking for Monkey Port by: Ferdinand Alexander, and Sascha Schmidt (Rone)