Removed the credit roll from AX
parent
2ea75cdfaf
commit
b568c0fe69
|
@ -15,7 +15,6 @@ SurvivalAXGame.tagline = "Can you clear the time hurdles when the game goes this
|
||||||
function SurvivalAXGame:new()
|
function SurvivalAXGame:new()
|
||||||
SurvivalAXGame.super:new()
|
SurvivalAXGame.super:new()
|
||||||
|
|
||||||
self.roll_frames = 0
|
|
||||||
self.randomizer = Bag7NoSZOStartRandomizer()
|
self.randomizer = Bag7NoSZOStartRandomizer()
|
||||||
|
|
||||||
self.section_time_limit = 3600
|
self.section_time_limit = 3600
|
||||||
|
@ -75,14 +74,7 @@ function SurvivalAXGame:getSection()
|
||||||
end
|
end
|
||||||
|
|
||||||
function SurvivalAXGame:advanceOneFrame()
|
function SurvivalAXGame:advanceOneFrame()
|
||||||
if self.clear then
|
if self.ready_frames == 0 then
|
||||||
self.roll_frames = self.roll_frames + 1
|
|
||||||
if self.roll_frames < 0 then
|
|
||||||
return false
|
|
||||||
elseif self.roll_frames > 2968 then
|
|
||||||
self.completed = true
|
|
||||||
end
|
|
||||||
elseif self.ready_frames == 0 then
|
|
||||||
if not self.section_clear then
|
if not self.section_clear then
|
||||||
self.frames = self.frames + 1
|
self.frames = self.frames + 1
|
||||||
end
|
end
|
||||||
|
@ -101,7 +93,7 @@ function SurvivalAXGame:onLineClear(cleared_row_count)
|
||||||
if self.lines == 150 then
|
if self.lines == 150 then
|
||||||
self.grid:clear()
|
self.grid:clear()
|
||||||
self.clear = true
|
self.clear = true
|
||||||
self.roll_frames = -150
|
self.completed = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue