mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 21:29:03 -06:00
Compare commits
No commits in common. "769b5043e373ca896a5cbb366c24bf213b40db3c" and "c3f6e3451808b3d68fb7af1175dc2e7f747c7550" have entirely different histories.
769b5043e3
...
c3f6e34518
@ -407,12 +407,11 @@ GM-roll requirements
|
||||
You qualify for the GM roll if you:
|
||||
- Reach level 2020
|
||||
- with a grade of 50
|
||||
- and at least 25,000 grade points
|
||||
- in less than 13:30.00 total.
|
||||
|
||||
]]--
|
||||
|
||||
return self.level >= 2020 and self:getTotalGrade() == 50 and self.grade_points >= 25000 and self.frames <= frameTime(13,30)
|
||||
return self.level >= 2020 and self:getTotalGrade() == 50 and self.frames <= frameTime(13,30)
|
||||
end
|
||||
|
||||
function Marathon2020Game:drawGrid()
|
||||
|
@ -97,13 +97,14 @@ end
|
||||
function SurvivalA2Game:onLineClear(cleared_row_count)
|
||||
if not self.clear then
|
||||
local new_level = math.min(self.level + cleared_row_count, 999)
|
||||
if new_level == 999 or self:hitTorikan(self.level, new_level) then
|
||||
if self.level == 999 or self:hitTorikan(self.level, new_level) then
|
||||
self.clear = true
|
||||
if new_level < 999 then
|
||||
if self.level < 999 then
|
||||
self.game_over = true
|
||||
end
|
||||
else
|
||||
self.level = new_level
|
||||
end
|
||||
self.level = new_level
|
||||
end
|
||||
end
|
||||
|
||||
@ -157,7 +158,7 @@ function SurvivalA2Game:drawScoringInfo()
|
||||
|
||||
love.graphics.setFont(font_3x5_3)
|
||||
love.graphics.printf(self.score, text_x, 220, 90, "left")
|
||||
if self.roll_frames > 1800 then love.graphics.setColor(1, 0.5, 0, 1)
|
||||
if self.roll_frames > 2968 then love.graphics.setColor(1, 0.5, 0, 1)
|
||||
elseif self.level >= 999 and self.clear then love.graphics.setColor(0, 1, 0, 1) end
|
||||
if self:getLetterGrade() ~= "" then love.graphics.printf(self:getLetterGrade(), text_x, 140, 90, "left") end
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user