Example #1
0
 def __init__(self):
     Game.__init__(self, "PRObot", True, (0, 0, 255), (500, 500))
     self.Menu = PRObotMenu(self.screen)    #It is recommended to overwrite this
Example #2
0
 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)
Example #3
0
class Test:
    game = Game('Test Game', 800, 600)

    game.set_active_scene(demoScene.DemoScene)
    print "Running game"
    game.run()
Example #4
0
 def __init__(self):
     Game.__init__(self, "Hive", True, (0,0,0), (800,600))
     self.Menu = HiveMenu(self.screen)
Example #5
0
 def __init__(self):
     Game.__init__(self, "Tank Wars!", False, (100, 100, 255), (1024, 700))
     self.Menu = TankMenu(self.screen)