- [NEW] Música per a l'imp

- [NEW] Escena amb l'imp
- [FIX] scenes.lua - La música pot arrancar en qualsevol escena
This commit is contained in:
2026-04-04 00:58:03 +02:00
parent 9ab8c80a56
commit 73122ebb78
8 changed files with 148 additions and 36 deletions

View File

@@ -19,7 +19,7 @@ end
function trigger:draw()
-- do nothing
local scr_x, scr_y = viewp:screen_coords( self.x, self.y )
draw.rectf(scr_x,scr_y,self.w,self.h,3)
draw.rect(scr_x,scr_y,self.w,self.h,3)
end
function trigger:update()
@@ -88,6 +88,11 @@ function triggers:escena_habitacio_batman()
end
end
function triggers:escena_lluita_imp()
start_scene(scenes.lluita_imp)
remove_actor(self)
end
-- function triggers:teleport_a()
-- abad.teleport=true
-- sound.play(audio_hit)