-- Ajuda al desenvolupament de mini-debugger ---

- [NEW] Canviat de sys.beat a sys.chrono
- [NEW] Mostrant fps
This commit is contained in:
2026-03-30 14:07:58 +02:00
parent 01fff47b57
commit 5a50a29bdb
2 changed files with 5 additions and 1 deletions

View File

@@ -87,7 +87,9 @@ function sprites.set_animation(sprite, animation)
end
function sprites.update()
if not sys.beat() then return end
--if not sys.beat() then return end
if sys.chrono() < 0.02 then return end
sys.chrono(0)
sprites.update_sprite(sprites.hero)
for i,v in ipairs(sprites.list) do

View File

@@ -85,6 +85,8 @@ game = {
elseif key.press(key.GRAVE) then
console.enable()
end
draw.text(sys.fps(),2,20,8)
end,
change_room = function(x,y)