practice/lua/fps/main.lua
2017-09-25 05:18:21 -07:00

11 lines
117 B
Lua

fps = 0
time = os.time()
while true do
if os.time() - time > 1 then
print (fps)
break
end
fps = fps + 1
end