测试场景左上文本从最晚的开始显示 close #437

This commit is contained in:
MrZ626
2021-11-09 10:22:26 +08:00
parent 4f9d5b282c
commit bdb0b83eac

View File

@@ -91,9 +91,10 @@ end
function scene.draw()
setFont(15)
for i=1,#list do
local l=#list
for i=1,l do
gc.setColor(1,1,1,list[i][2]/30)
gc.print(list[i][1],20,20*i)
gc.print(list[i][1],20,20*(l-i+1))
end
end