整理代码
This commit is contained in:
@@ -192,14 +192,7 @@ scene.widgetList={
|
||||
WIDGET.newButton{name="manual", x=2480,y=570,w=800,h=100, color="lC",font=40,align="L",edge=30,code=pressKey","},
|
||||
|
||||
WIDGET.newButton{name="music", x=130,y=80,w=200,h=90, color="lO",font=35,code=pressKey"2"},
|
||||
WIDGET.newButton{name="lang", x=300,y=80,w=90,h=90, color="lN",font=40,code=pressKey"0",fText=DOGC{64,64,
|
||||
{"setLW",4},
|
||||
{"dCirc",32,32,30},
|
||||
{"dLine",2,31,62,31},
|
||||
{"dLine",31,2,31,62},
|
||||
{"dArc",10,31,40,-.8,.8},
|
||||
{"dArc",53,31,40,2.3,3.9},
|
||||
}},
|
||||
WIDGET.newButton{name="lang", x=300,y=80,w=90,h=90, color="lN",font=40,code=pressKey"0",fText=TEXTURE.earth},
|
||||
WIDGET.newButton{name="about", x=-110,y=670,w=600,h=70, color="lB",font=35,align="R",edge=30,code=pressKey"x"},
|
||||
WIDGET.newButton{name="back", x=1390,y=670,w=600,h=70, color="lR",font=40,align="L",edge=30,code=backScene},
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@ function scene.draw()
|
||||
end
|
||||
|
||||
scene.widgetList={
|
||||
WIDGET.newText{name="system", x=750,y=280,fText=SYSTEM,color="Z",font=30,align="L"},
|
||||
WIDGET.newText{name="version", x=950,y=280,fText=VERSION.string,color="Z",font=30,align="L"},
|
||||
WIDGET.newText{name="system", x=750,y=280,color="Z",font=30,align="L",fText=SYSTEM},
|
||||
WIDGET.newText{name="version", x=950,y=280,color="Z",font=30,align="L",fText=VERSION.string},
|
||||
WIDGET.newButton{name="sprint", x=260,y=480,w=260,font=50,code=function()loadGame("sprint_40l",true)end},
|
||||
WIDGET.newButton{name="marathon",x=640,y=480,w=260,font=50,code=function()loadGame("marathon_n",true)end},
|
||||
WIDGET.newButton{name="setting",x=1000,y=400,w=120,fText="...",font=50,code=goScene"setting_game"},
|
||||
|
||||
@@ -109,6 +109,15 @@ TEXTURE.setting=DOGC{64,64,
|
||||
{"dLine",45,19,55,9},
|
||||
}
|
||||
|
||||
--Earth icon
|
||||
TEXTURE.earth=DOGC{64,64,
|
||||
{"setLW",4},
|
||||
{"dCirc",32,32,30},
|
||||
{"dLine",2,31,62,31},
|
||||
{"dLine",31,2,31,62},
|
||||
{"dArc",10,31,40,-.8,.8},
|
||||
{"dArc",53,31,40,2.3,3.9},
|
||||
}
|
||||
|
||||
gc.setDefaultFilter("linear","linear")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user