TURNIP_CATEGORY, COLOURS)
from .loader import loader
from .sound import sound
-from .transforms import Multiply
+from .transforms import Multiply, Overlay
from .utils import debug_timer
MOULD_FILTER = pymunk.ShapeFilter(
if not self._eyeball:
name = random.choice(
('eyeballA.png', 'eyeballB.png', 'eyeballC.png'))
- self._eyeball = loader.load_image("32", name)
+ self._eyeball = loader.load_image("32", name,
+ transform=Overlay(colour=self._transform.colour+(127,)))
eyelid = loader.load_image("32", "eyelid.png", transform=self._transform)
self._eyeball.blit(eyelid, (0, 0), None)
return self._eyeball