- [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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user