联网对战(初版,不可用)

This commit is contained in:
MrZ626
2021-01-29 01:28:55 +08:00
parent c8f4faaa95
commit 2cc74ea946
7 changed files with 167 additions and 84 deletions

16
parts/modes/netBattle.lua Normal file
View File

@@ -0,0 +1,16 @@
return{
color=COLOR.white,
env={
--TODO: ?
},
load=function(playerData)
PLY.newPlayer(1)
local N=2
for i=1,#playerData do
if playerData[i].id~=USER.id then
PLY.newRemotePlayer(N,false,playerData[i])
N=N+1
end
end
end,
}