mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 14:09:03 -06:00
TAP M-roll created
This commit is contained in:
parent
3b0fdba27d
commit
9f61b139fd
@ -305,16 +305,9 @@ MarathonA2Game.rollOpacityFunction = function(age)
|
||||
else return 1 - (age - 240) / 60 end
|
||||
end
|
||||
|
||||
MarathonA2Game.mRollOpacityFunction = function(age)
|
||||
if age > 4 then return 0
|
||||
else return 1 - age / 4 end
|
||||
end
|
||||
|
||||
function MarathonA2Game:drawGrid(ruleset)
|
||||
if self.clear and not (self.completed or self.game_over) then
|
||||
if self:qualifiesForMRoll() then
|
||||
self.grid:drawInvisible(self.mRollOpacityFunction)
|
||||
else
|
||||
if not self:qualifiesForMRoll() then
|
||||
self.grid:drawInvisible(self.rollOpacityFunction)
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user