再优化报错机制,简化代码
This commit is contained in:
@@ -19,7 +19,7 @@ function scene.draw()
|
||||
gc.clear(BGcolor)
|
||||
gc.setColor(1,1,1)
|
||||
gc.draw(errorShot,100,345,nil,512/errorShot:getWidth(),288/errorShot:getHeight())
|
||||
setFont(100)gc.print(":(",100,00,0,1.2)
|
||||
setFont(100)gc.print(":(",100,0,0,1.2)
|
||||
setFont(40)gc.printf(errorText,100,160,SCR.w0-100)
|
||||
setFont(20)
|
||||
gc.print(stateInfo,100,640)
|
||||
|
||||
Reference in New Issue
Block a user