mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
halfway through imas collab
This commit is contained in:
@@ -22,6 +22,10 @@ class DonBGBase:
|
||||
if self.is_clear:
|
||||
self._draw_textures(tex, self.clear_fade.attribute, y)
|
||||
|
||||
def _draw_textures(self, tex: TextureWrapper, fade: float, y: float):
|
||||
for i in range(5):
|
||||
tex.draw_texture(self.name, 'background', frame=self.is_clear, fade=fade, x=(i*328)+self.move.attribute, y=y)
|
||||
|
||||
def update(self, current_time_ms: float, is_clear: bool):
|
||||
if not self.is_clear and is_clear:
|
||||
self.clear_fade.start()
|
||||
|
||||
Reference in New Issue
Block a user