重构背景系统(每个背景使用独立文件),全局变量名整理

This commit is contained in:
MrZ626
2020-11-04 00:08:50 +08:00
parent c688fef3f6
commit a485a71dfc
149 changed files with 1087 additions and 1046 deletions

View File

@@ -11,7 +11,7 @@ local function update_round(P)
end
return{
color=color.magenta,
color=COLOR.magenta,
env={
drop=300,lock=300,
oncehold=false,
@@ -20,7 +20,7 @@ return{
},
load=function()
PLY.newPlayer(1,340,15)
PLY.newAIPlayer(2,965,360,.5,AITemplate("CC",10,2,true,16000))
PLY.newAIPlayer(2,965,360,.5,AIBUILDER("CC",10,2,true,16000))
GAME.garbageSpeed=1e99
end,
score=function(P)return{P.stat.piece,P.stat.time}end,