Beispiel #1
0
	def configure(self):
		Character.configure(self)
		self.rect.x, self.rect.y = 10, 1000
		self.gravity = 1
		self.acceleration_x = 0
		self.jumping = False
		self.blinking = False
		
		self.jump_energy_max = 3
		self.jump_energy = self.jump_energy_max
		self.life_max = 5
		self.life = self.life_max
		
		self.weapon = Weapon(self)
		
		self.JUMP_SPEED = 10
Beispiel #2
0
	def configure(self):
		Character.configure(self)
		self.frame_incrementator = 1
Beispiel #3
0
	def configure(self):
		Character.configure(self)
		self.speed_x = 5 * self.side
		self.side
		self.speed_y = 0
		self.gravity = 1