semi synced multiplayer

This commit is contained in:
harper
2026-08-29 15:24:43 -05:00
parent c5cb04d760
commit 2ed2daeb25
7 changed files with 148 additions and 152 deletions
+3
View File
@@ -4,11 +4,14 @@ local network = {}
local client
client_id = 0
-- Packet IDs
network.MSG_KEY_PRESS = 1
network.MSG_GAMESTATE = 2
network.MSG_SERVER_STATUS = 3
network.MSG_ON_CONNECT = 4
network.MSG_ON_PLAYER_CONNECT = 5
--------------------------------------------------
-- Packing