0.190727α

This commit is contained in:
MrZ_26
2020-02-04 19:25:11 +08:00
parent 17094b988b
commit 2436a2d0bf
13 changed files with 314 additions and 181 deletions

14
BGblock.lua Normal file
View File

@@ -0,0 +1,14 @@
local count=0
BGblockList={}for i=1,16 do BGblockList[i]={}end
function getNewBlock()
count=count+1
if count==17 then count=1 end
local t=BGblockList[count]
t.bn,t.size=rnd(7),2+3*rnd()
t.b=blocks[t.bn][rnd(0,3)]
t.x=rnd(-#t.b[1]*t.size*30+100,1180)
t.y=-#t.b*30*t.size
t.v=t.size*(1+rnd())
return t
end