[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.3 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.3 KB

tanx-colyseus

This is a fork of tanx client and server, modified to show Colyseus usage advantages as a game server.

What has been changed in the server?

  • Lobby and room creation were removed.
  • Messages to ensure sync state were removed.
  • Added State class to handle synchronized room state.
  • Added toJSON method on state, bulled, pickable, and tank to expose public data to the clients.
  • View room handler

What has been changed in the client?

  • Removed users.js (used to manage user-related events)
  • Removed specific game event handling (init, tank.new, tank.delete, user.add, user.sync, user.remove, user.name)
  • Modified update event to handle Colyseus room patched state
  • View client

Related links

Tanx

Colyseus

License

See LICENSE file.