Huy Minh Ha

Software development, Tech and other stuff

Sun 25 September 2016

Maple.js Deconstructed

Posted by Ha.Minh in Programming   

Maple.js is a simple event-based multiplayer framework using Node.js

Deconstruction

  • Maple provides a base class for Client and Server. Your specific game code should inherit these base classes.
  • The supported functionality includes:
    • Connect/Disconnect
    • Ping server
    • Handle arbitrary message
    • Sync client server update tick on every frame
  • The ...

Read more...


Sun 25 September 2016

Osmus Deconstructed

Posted by Ha.Minh in Programming   

Osmus is a tech demo of a HTML5 multiplayer game inspired by Osmos.

Deconstruction

  • Osmus uses node.js for the server and HTML5 Canvas with Javascript on the client side. The simulation code is shared between client and server.
  • Regarding network, Osmus uses socket.io. Socket.io is quite stable ...

Read more...