重构背景系统(每个背景使用独立文件),全局变量名整理
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user