예제 #1
0
파일: main.py 프로젝트: fpischedda/yaff
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))
예제 #2
0
파일: main.py 프로젝트: fpischedda/yaff
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'))
예제 #3
0
파일: main.py 프로젝트: fpischedda/yaff
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))
예제 #4
0
파일: main.py 프로젝트: fpischedda/yaff
def run():
    app.run(SplashScene(next_scene_class=GameScene))