xOy变量收入SCR

This commit is contained in:
MrZ626
2020-11-10 10:43:10 +08:00
parent 7b49053e6d
commit 9410b320d4
6 changed files with 18 additions and 19 deletions

View File

@@ -19,8 +19,8 @@ function back.draw()
gc.clear(.1,.1,.1)
end
gc.push("transform")
gc.replaceTransform(xOy)
gc.translate(640,360)
gc.translate(SCR.w/2,SCR.h/2+20*sin(t*.02))
gc.scale(SCR.k)
gc.scale(1.1626,1.26)
if -t%6.26<.1355 then
gc.translate(60*sin(t*.26),100*sin(t*.626))