升级SCR模块,整理大量坐标系变换代码
This commit is contained in:
@@ -53,13 +53,13 @@ function scene.draw()
|
||||
local t=t1-i*15
|
||||
if t>0 then
|
||||
gc.push('transform')
|
||||
gc.setColor(1,1,1,min(t*.025,1))
|
||||
titleTransform[animeType[i]](t,i)
|
||||
local dt=(t1+62-5*i)%300
|
||||
if dt<20 then
|
||||
gc.translate(0,math.abs(10-dt)-10)
|
||||
end
|
||||
gc.polygon('line',L[i])
|
||||
gc.setColor(1,1,1,min(t*.025,1))
|
||||
titleTransform[animeType[i]](t,i)
|
||||
local dt=(t1+62-5*i)%300
|
||||
if dt<20 then
|
||||
gc.translate(0,math.abs(10-dt)-10)
|
||||
end
|
||||
gc.polygon('line',L[i])
|
||||
gc.pop()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user