Example #1
0
def main():
    launch = games.load_module(game).launcher_info['launch_func']
    spyral.director.init((0,0), fullscreen = False, max_fps = 30, caption=game)
    launch()
    try:
        spyral.director.run()
    except KeyboardInterrupt:
        pygame.quit()
Example #2
0
def main():
    launch = games.load_module(game).launcher_info['launch_func']
    spyral.director.init((0, 0), fullscreen=False, max_fps=30, caption=game)
    launch()
    try:
        spyral.director.run()
    except KeyboardInterrupt:
        pygame.quit()
Example #3
0
 def run():
     launch = games.load_module(game).launcher_info['launch_func']
     spyral.director.init((1200, 900),
                          fullscreen=False,
                          max_fps=30,
                          caption=game)
     launch()
     spyral.director.run_sugar()
Example #4
0
 def run():
     launch = games.load_module(game).launcher_info['launch_func']
     spyral.director.init((1200,900), fullscreen = False, max_fps = 30, caption=game)
     launch()
     spyral.director.run_sugar()