修复手机端滚动控件距离问题,升级SCR模块,增加几个方便的成员变量
This commit is contained in:
@@ -19,7 +19,7 @@ function back.draw()
|
||||
gc.clear(.1,.1,.1)
|
||||
end
|
||||
gc.push('transform')
|
||||
gc.translate(SCR.w/2,SCR.h/2+20*sin(t*.02))
|
||||
gc.translate(SCR.cx,SCR.cy+20*sin(t*.02))
|
||||
gc.scale(SCR.k)
|
||||
gc.scale(1.1626,1.26)
|
||||
if -t%6.26<.1355 then
|
||||
|
||||
Reference in New Issue
Block a user