Ejemplo n.º 1
0
 def draw(self):
     pos = vista.worldtoview((self.x, self.y))
     img = graphics.shipimg(self.traj)
     vista.screen.blit(img, img.get_rect(center=pos))
Ejemplo n.º 2
0
 def draw(self):
     pos = vista.worldtoview((self.x, self.y))
     img = getshotimg(vista.zoom, self.angle)
     vista.screen.blit(img, img.get_rect(center=pos))
Ejemplo n.º 3
0
	def draw(self):
		pos = vista.worldtoview((self.x, self.y))
		alpha = 1 if self.sucker else min(self.t / 0.5, (5 - self.t) / 0.5, 1)
		img = graphics.twinkler(self.t, alpha)
		vista.screen.blit(img, img.get_rect(center = pos))
Ejemplo n.º 4
0
 def draw(self):
     pos = vista.worldtoview((self.x, self.y))
     img = getshotimg(vista.zoom, self.angle)
     vista.screen.blit(img, img.get_rect(center = pos))
Ejemplo n.º 5
0
 def draw(self):
     pos = vista.worldtoview((self.x, self.y))
     img = graphics.shipimg(self.traj)
     vista.screen.blit(img, img.get_rect(center = pos))
Ejemplo n.º 6
0
 def draw(self):
     for img in graphics.gettwinklerimgs(self.t):
         pos = vista.worldtoview((self.x, self.y))
         vista.screen.blit(img, img.get_rect(center=pos))
Ejemplo n.º 7
0
 def draw(self):
     for img in graphics.gettwinklerimgs(self.t):
         pos = vista.worldtoview((self.x, self.y))
         vista.screen.blit(img, img.get_rect(center = pos))