mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-25 01:39:02 -06:00
Compare commits
No commits in common. "c18e7ed244117035ca8a629088263bedcbab271e" and "f5873c97bcc8ca5cb63405e45e982f7c677b0b82" have entirely different histories.
c18e7ed244
...
f5873c97bc
@ -287,8 +287,7 @@ function PhantomMania2Game:setHoldOpacity()
|
|||||||
if self.level > 1000 and self.level < 1300 then
|
if self.level > 1000 and self.level < 1300 then
|
||||||
love.graphics.setColor(1, 1, 1, 1 - math.min(1, self.hold_age / 15))
|
love.graphics.setColor(1, 1, 1, 1 - math.min(1, self.hold_age / 15))
|
||||||
else
|
else
|
||||||
local colour = self.held and 0.6 or 1
|
self.super:setHoldOpacity(1, self.held and 0.6 or 1)
|
||||||
love.graphics.setColor(colour, colour, colour, 1)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user