RFC
R-THAAAAAAÏ network protocol documentation
Introduction
How work the update of the game
Words and meanings:
EntityNetworkId -> 2 byte binary of the entity's ID
PosX -> 2 byte binary of the horizontal position
PosY -> 2 byte binary of the vertical position
Width -> 1 byte binary of the entity's width
Height -> 1 byte binary of the entity's height
TypeId -> 1 byte binary of the entity's type ID
VelocityX -> 1 byte binary of the horizontal velocity of entity
VelocityY -> 1 byte binary of the vertical velocity of entity
ClientName -> 4 bytes of chars that identify the player
OccupiedSlots -> 1 byte binary of the amount of clients already connected
Health -> 1 byte binary of the amount of health the player hasOrder of bytes:
Universal
Keep Alive Request
Keep Alive Response
Client to Hub Server
Connection
Request room information
Hub Server to Client
Connection
Room info
Hub to Room
Room check
Room to Hub
Room info
Client to Room
Connection
Client sends an input to the Room Server
Room to Client
Connection
Server updates on movement
Server on player health
Server on wave counter
Last updated