降低所有背景的亮度,优化部分背景性能

This commit is contained in:
MrZ626
2021-05-26 22:14:57 +08:00
parent 34886ca643
commit b07f97097f
33 changed files with 123 additions and 123 deletions

View File

@@ -1,36 +1,22 @@
local gc=love.graphics
local leagueTitle=DOGC{600,110,
{'setFT',100},
{'origin'},{'shear',-.30,0},{'print',"T",27,-20},
{'origin'},{'shear',-.25,0},{'print',"e",73,-20},
{'origin'},{'shear',-.20,0},{'print',"c",127,-20},
{'origin'},{'shear',-.15,0},{'print',"h",171,-20},
{'origin'},{'shear',-.05,0},{'print',"L",268,-20},
{'origin'},{'shear',.00,0},{'print',"e",313,-20},
{'origin'},{'shear',.05,0},{'print',"a",363,-20},
{'origin'},{'shear',.10,0},{'print',"g",414,-20},
{'origin'},{'shear',.15,0},{'print',"u",466,-20},
{'origin'},{'shear',.20,0},{'print',"e",518,-20},
}
local scene={}
function scene.sceneInit()
BG.set('suitup')
BG.set('league')
BGM.play('exploration')
end
function scene.draw()
mDraw(leagueTitle,640,192,0,1.5)
gc.setColor(1,1,1,.3)
mDraw(leagueTitle,640,200,0,1.51,1.53)
gc.setColor(1,1,1)
setFont(100)
mStr("Tech League",640,120)
drawSelfProfile()
drawOnlinePlayerCount()
end
scene.widgetList={
WIDGET.newKey{name="setting",fText=TEXTURE.setting,x=1200,y=160,w=90,h=90,code=goScene'setting_game'},
WIDGET.newKey{name="match",x=640,y=500,w=760,h=140,font=60,code=NULL},
WIDGET.newKey{name="match",x=640,y=500,w=760,h=140,font=60,code=function()LOG.print("Coming soon 开发中,敬请期待")end},
WIDGET.newButton{name="back",x=1140,y=640,w=170,h=80,font=40,code=backScene},
}