Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/h/a/HackathonF2011-HEAD/src/Magic.py   HackathonF2011(Download)
            self.setImage(Magic.loadedImage)
 
            self.setPos(x,y)
 
            self.setVel(Vector2(MAGIC_SPEED))

src/h/a/HackathonF2011-HEAD/src/Player.py   HackathonF2011(Download)
		# assign image and position
		self.setImage(self.images[self.direction])
		self.setPos(START_X, START_Y)
 
		# load sword

src/h/a/HackathonF2011-HEAD/src/TitleState.py   HackathonF2011(Download)
		self.btnStart2 = Actor(IMG_LABEL_START2)
 
		self.btnStart.setPos(WIDTH/2,HEIGHT-300)
		self.btnStart2.setPos(WIDTH/2,HEIGHT-300)
 

src/h/a/HackathonF2011-HEAD/src/GameState.py   HackathonF2011(Download)
		self.hud = Actor(IMG_HUD,-1)
		self.hud2 = Actor(IMG_HUD2)
		self.hud.setPos(32,HEIGHT/2)
		self.hud2.setPos(WIDTH-32,HEIGHT/2)
		GameState.guiGroup.add(self.hud)