from yaff import app from yaff.contrib.scenes import SplashScene from .game_scene import GameScene if __name__ == '__main__': app.run(SplashScene(next_scene_class=GameScene, sound_file_path='res/sfx/example_loop.wav', sound_loop=True))
from yaff import app from yaff.contrib.scenes import SplashScene from .game_scene import GameScene if __name__ == '__main__': app.run(SplashScene(next_scene_class=GameScene, splash_image_path='res/images/splash.jpg'))
from yaff import app from yaff.contrib.scenes import SplashScene from .game_scene import GameScene if __name__ == '__main__': app.run(SplashScene(next_scene_class=GameScene, splash_image_path='res/images/splash.png', sound_file_path='res/sfx/girl_cry.ogg', sound_loop=True))
def run(): app.run(SplashScene(next_scene_class=GameScene))