diff options
author | ubq323 <ubq323@ubq323.website> | 2023-01-31 23:51:25 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-01-31 23:51:25 +0000 |
commit | 04664ee48de5fc8b06a584e20a4b75c41dafa558 (patch) | |
tree | 49192241d64897fb34f75a92dbab1e11d706fa22 /net.txt | |
parent | 82c4e04fa6b27a1e9cb5469d7847aef80e5a22bd (diff) |
add sending of tile changes, between players. server remembers all changes made. also add better debug screen
Diffstat (limited to 'net.txt')
-rw-r--r-- | net.txt | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2,6 +2,9 @@ c2s: ppos {x,y} this player has moved to position x,y +settile {q,r,tile} + set tile at H(q,r) to tile (currently boolean) + s2c: playerinfopart:: {id,x,y,color:[r,g,b]} @@ -20,4 +23,6 @@ move {id,x,y} chunk {tiles=[array of 128*128 booleans]} chunk has data d. one day changes will exist and also multiple chunks will exist and also more than 2 tile types will exist +settile {q,r,tile} + tile at H(q,r) was set to tile (currently boolean) |