[FIX] Ajustos en el ending
This commit is contained in:
@@ -58,10 +58,7 @@ function stage1_ending:update_scene()
|
||||
elseif self.time==720 then
|
||||
start_scene(scenes.stage1_ending_3, nil, false)
|
||||
elseif self.time==721 then
|
||||
-- Acabar ending
|
||||
fade.fadeoutin()
|
||||
self.time = 0
|
||||
states:next()
|
||||
end
|
||||
|
||||
surf.target(0)
|
||||
@@ -84,14 +81,15 @@ function stage1_ending:update_scene()
|
||||
self.time = self.time + 1
|
||||
|
||||
-- Acabar ending
|
||||
-- if self.time>=750 then
|
||||
-- self.time = 0
|
||||
-- states:next()
|
||||
-- end
|
||||
if self.time>=730 then
|
||||
self.time = 0
|
||||
states:next()
|
||||
end
|
||||
end
|
||||
|
||||
function stage1_ending:end_scene()
|
||||
-- print("END")
|
||||
if self.time==0 then fade.fadein() end
|
||||
surf.target(0)
|
||||
surf.cls(16)
|
||||
font.current(font_sf)
|
||||
|
||||
Reference in New Issue
Block a user