整理代码,大规模整理(展开)使用次数不多的局部变量名
框架跟进
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
--Changing pure color
|
||||
local gc=love.graphics
|
||||
local sin=math.sin
|
||||
local back={}
|
||||
|
||||
@@ -11,7 +10,7 @@ function back.update(dt)
|
||||
t=t+dt
|
||||
end
|
||||
function back.draw()
|
||||
gc.clear(
|
||||
GC.clear(
|
||||
sin(t*1.2)*.06+.08,
|
||||
sin(t*1.5)*.06+.08,
|
||||
sin(t*1.9)*.06+.08
|
||||
|
||||
Reference in New Issue
Block a user