FPS Viewer

This commit is contained in:
MaddoScientisto 2024-04-21 23:32:02 +02:00
commit 04761ab0d5
2 changed files with 12 additions and 10 deletions

View file

@ -1,4 +1,4 @@
--[[pod_format="raw",created="2024-04-14 14:05:11",modified="2024-04-19 14:47:03",revision=311]]
--[[pod_format="raw",created="2024-04-14 14:05:11",modified="2024-04-21 21:31:12",revision=319]]
--include("/cirnofarm/src/actor.lua")
last_coll=0
mouse_debug = true
@ -121,7 +121,9 @@ function _draw()
foreach(LAYERS, render_layer)
--drawMap()
debug_mouse()
debug_mouse()
print(string.format("%.4f %dfps",stat(1),stat(7)),2,2,5)
end
function render_layer(layer)