[FIX] Canviat el nom de flow a states que es mes precis
[FIX] Ajustada posició del peu en habitació 27 [FIX] Modificat trigger_event per a que es disparen en una habitació concreta i també segons distancia sense haver de colisionar [FIX] Ending stage 1 [FIX] ELiminades llunes duplicades [NEW] Dialeg per a l'abad
This commit is contained in:
@@ -47,12 +47,15 @@ function stage1_ending.update_scene(self)
|
||||
table.insert( actors, copter)
|
||||
music.play(audio_song_copter)
|
||||
elseif self.time<720 then
|
||||
-- sisena escena - premiere copter
|
||||
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)
|
||||
start_scene(scenes.stage1_ending_3, nil, false)
|
||||
elseif self.time==721 then
|
||||
fade.fadeoutin()
|
||||
end
|
||||
|
||||
surf.target(0)
|
||||
@@ -76,16 +79,16 @@ function stage1_ending.update_scene(self)
|
||||
|
||||
-- Acabar ending
|
||||
if self.time>=800 then
|
||||
flow:next()
|
||||
states:next()
|
||||
end
|
||||
end
|
||||
|
||||
function stage1_ending.end_scene()
|
||||
print("END")
|
||||
flow:finish()
|
||||
states:finish()
|
||||
end
|
||||
|
||||
flow:registrar("stage1_ending",{
|
||||
states:registrar("stage1_ending",{
|
||||
stage1_ending.update,
|
||||
stage1_ending.end_scene
|
||||
})
|
||||
Reference in New Issue
Block a user