Esempio n. 1
0
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))
Esempio n. 2
0
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'))
Esempio n. 3
0
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))
Esempio n. 4
0
def run():
    app.run(SplashScene(next_scene_class=GameScene))