This commit is contained in:
Marcin 2019-01-31 18:35:47 +01:00
parent aedbd71588
commit bfc9f15835
10 changed files with 6 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -60,6 +60,8 @@ def clear_round():
events.p1_group.remove() events.p1_group.remove()
events.p2_group.remove() events.p2_group.remove()
events.players.clear() events.players.clear()
for i in events.bars:
i.delete()
events.bars.clear() events.bars.clear()
events.p1_bullet.clear() events.p1_bullet.clear()
events.p2_bullet.clear() events.p2_bullet.clear()

View File

@ -157,3 +157,6 @@ class HPBar(pygame.sprite.Sprite):
def update(self): def update(self):
self.gothit self.gothit
def delete(self):
self.kill()