整理代码

This commit is contained in:
MrZ626
2021-03-16 14:44:12 +08:00
parent 6829ed9308
commit 77e9283b95
11 changed files with 15 additions and 22 deletions

View File

@@ -1,13 +1,13 @@
--Black-White grid
local gc=love.graphics
local rnd,sin=math.random,math.sin
local sin=math.sin
local ceil=math.ceil
local back={}
local t
local matrixT={}for i=1,50 do matrixT[i]={}for j=1,50 do matrixT[i][j]=love.math.noise(i,j)+2 end end
function back.init()
t=rnd()*2600
t=math.random()*2600
end
function back.update(dt)
t=t+dt