from ..events import SceneChangeEvent
from ..utils import debug_timer
from ..loader import loader
-from ..transforms import Overlay
+from ..transforms import Overlay, Multiply
from ..constants import SCREEN_SIZE, FONTS
from ..widgets import ImageButton
from ..turnip import Turnip, TurnipInvalidPosition
-from ..transforms import Overlay
class DayScene(BaseScene):
pos=(50, SCREEN_SIZE[1] - 40)),
ImageButton('32', 'spotlight.png', name='blue_spotlight',
pos=(100, SCREEN_SIZE[1] - 40),
- transform=Overlay(colour=(0, 0, 255, 128))),
+ transform=Multiply(colour=(0, 0, 255, 255))),
ImageButton('32', 'spotlight.png', name='red_spotlight',
pos=(150, SCREEN_SIZE[1] - 40),
- transform=Overlay(colour=(255, 0, 0, 128))),
+ transform=Multiply(colour=(255, 0, 0, 255))),
ImageButton('32', 'default_cursor.png', name='reset tool',
pos=(SCREEN_SIZE[0] - 50, SCREEN_SIZE[1] - 40)),
]
elif self._tool == 'red_spotlight':
self._set_cursor(
'spotlight',
- transform=Overlay(colour=(255, 0, 0, 128)))
+ transform=Multiply(
+ colour=(255, 0, 0, 172)))
elif self._tool == 'blue_spotlight':
self._set_cursor(
'spotlight',
- transform=Overlay(colour=(0, 0, 255, 128)))
+ transform=Multiply(
+ colour=(0, 0, 255, 172)))
return
if self._tool == "seed":
if self._seeds > 0: