Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))