modeData地位提升,模式环境变量target移入其中,大规模整理代码,可读性增强

This commit is contained in:
MrZ626
2021-03-23 19:11:05 +08:00
parent ac8a41004b
commit 374f2ab779
76 changed files with 356 additions and 373 deletions

View File

@@ -1,5 +1,4 @@
local gc=love.graphics
local int=math.floor
local scene={}
@@ -12,7 +11,7 @@ end
function scene.draw()
local t=TIME()
local b=int(t*2)%16+1
local b=math.floor(t*2)%16+1
gc.setColor(1,1,1)
gc.draw(SKIN.curText[b],710,540,t%6.28319,2,nil,15,15)
gc.setColor(1,1,1,t*2%1)