[WIP] Afegit un grapaet mes de monstruacos per a donar-li interes a la cosa

This commit is contained in:
2026-04-19 16:15:23 +02:00
parent 5622392f41
commit a4f989eb02
3 changed files with 19 additions and 7 deletions

View File

@@ -272,8 +272,8 @@ function update_game()
score.draw()
special_keys()
if DEBUG then
special_keys()
debug_info()
end
end
@@ -446,14 +446,14 @@ function special_keys()
end
function debug_info()
if true then return end
-- if true then return end
font.current(font_default)
viewp:print()
msg_print(0,14,"ABAD= "..abad.x..", "..abad.y, true)
msg_print(0,21,"VIEW= "..viewp.x..", "..viewp.y, true)
-- viewp:print()
-- msg_print(0,14,"ABAD= "..abad.x..", "..abad.y, true)
-- msg_print(0,21,"VIEW= "..viewp.x..", "..viewp.y, true)
local hab, xx, yy = coords.world_to_tile(abad.x, abad.y)
msg_print(0,28,hab.." ( "..xx..", "..yy.." )", true)
msg_print(0,35,hab.." ( "..xx..", "..yy.." )", true)
-- msg_print(0,35,hab.." ( "..xx..", "..yy.." )", true)
-- msg_print(0,42," JH= "..abad.jump_height,true)
-- view_coord(abad.x+8, abad.y+0, 16, 32, 6)