- [NEW] Marcador millorat i funcionant

This commit is contained in:
2026-03-23 13:02:38 +01:00
parent 7090a6134f
commit edd07509d0
4 changed files with 64 additions and 12 deletions

View File

@@ -51,7 +51,6 @@ game = {
surf.target(0)
view.clip()
score.draw()
surf.target(game.back_buf)
-- Pintar el mapa i sprites
@@ -61,6 +60,8 @@ game = {
game.apply_water()
game.apply_light()
score.draw()
if key.press(key.ESCAPE) or key.press(key.F9) then
rooms.reload()
sprites.add_from_room(rooms.pos.x, rooms.pos.y)
@@ -87,7 +88,6 @@ game = {
surf.target(0)
view.clip()
score.draw()
surf.target(game.back_buf)
--view.clip()
@@ -102,6 +102,8 @@ game = {
game.apply_water()
game.apply_light()
score.draw()
game.chg_step = game.chg_step - 1
if game.chg_step == 0 then
sprites.remove_out_of_room()