Skip to content

Commit

Permalink
Added some cheesey transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglemansweep committed Jan 25, 2024
1 parent 2b251d6 commit fa41ecc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wideboy/systems/scene/stages/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ def advance(self) -> None:
self.app_state.slideshow_index = 0
next_image = load_image(self.slideshow_images[self.app_state.slideshow_index])
widget_slideshow.sprite.set_next_image(next_image)
widget_slideshow.sprite.swap(random.choice([Transition.BLEED]))
widget_slideshow.sprite.swap(
random.choice(
[Transition.FADE, Transition.WIPE, Transition.FOLD, Transition.BLEED]
)
)

def _glob_backgrounds(self, randomize: bool = False) -> None:
app_state = next(self.entities.get_by_class(AppState))
Expand Down

0 comments on commit fa41ecc

Please sign in to comment.