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