def __init__(self): Game.__init__(self, "PRObot", True, (0, 0, 255), (500, 500)) self.Menu = PRObotMenu(self.screen) #It is recommended to overwrite this
def __init__(self): Game.__init__(self, "Chess Master!", False, (0, 0, 20), (1024, 700)) Base.set_resource_path('Resources') self.offscreen = self.screen.get_size() self.Menu = ChessMenu(self.screen)
class Test: game = Game('Test Game', 800, 600) game.set_active_scene(demoScene.DemoScene) print "Running game" game.run()
def __init__(self): Game.__init__(self, "Hive", True, (0,0,0), (800,600)) self.Menu = HiveMenu(self.screen)
def __init__(self): Game.__init__(self, "Tank Wars!", False, (100, 100, 255), (1024, 700)) self.Menu = TankMenu(self.screen)