[WIP] S1 Ending. Sisena 'escena'

This commit is contained in:
2026-05-10 10:55:18 +02:00
parent 71cadf86cf
commit 8657dfd918
7 changed files with 130 additions and 7 deletions
+20 -5
View File
@@ -29,6 +29,7 @@ function stage1_ending.update_scene(self)
premiere.update()
elalien.update()
elseif self.time==200 then
music.stop()
-- quarta escena - dialeg entre els 3
start_scene(scenes.stage1_ending_2, nil, false)
elseif self.time==201 then
@@ -36,8 +37,22 @@ function stage1_ending.update_scene(self)
elseif self.time<400 then
-- quinta escena - premiere se'n va (vore dialegs draw)
premiere.update()
elseif self.time==350 then
elseif self.time==400 then
premiere.stage1_ending_init3()
copter.hab=premiere.hab
copter.x=premiere.x
copter.y=premiere.y
-- copter.init()
copter.y=copter.y-16
table.insert( actors, copter)
music.play(audio_song_copter)
elseif self.time<720 then
premiere.update()
copter.x = premiere.x-32
copter.y = premiere.y-48
copter.update()
elseif self.time==720 then
start_scene(scenes.stage1_ending_3, nil, false)
end
surf.target(0)
@@ -48,19 +63,19 @@ function stage1_ending.update_scene(self)
-- bocadillo quinta escena (1)
dialeg.run(premiere.x, premiere.y,
premiere.w, false,
"La donnaaa e mobileee...", true)
"Volare uoh oh...", true)
elseif self.time>=300 and self.time<400 then
-- bocadillo quinta escena (2)
dialeg.run(premiere.x, premiere.y,
premiere.w, false,
"qual piuma al vento...", true)
"Cantare uoh oh oh oh...", true)
end
score.draw()
self.time = self.time + 1
-- Acabar ending
if self.time>=400 then
if self.time>=800 then
flow:next()
end
end