VCA Info Update

This commit is contained in:
franvertedorhd
2024-10-12 20:01:17 +08:00
parent 706f430e51
commit 3726bcca0c
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
# Pygame Zero resources
## Documentation
**Introduction to Pygame Zero:** [https://pygame-zero.readthedocs.io/en/stable/introduction.html](https://pygame-zero.readthedocs.io/en/stable/introduction.html)
## Game tutorials
**Pygame Zero Basics:** [https://quirkycort.github.io/tutorials/20-Pygame-Zero-Basics/20-Gem/10-first.html](https://quirkycort.github.io/tutorials/20-Pygame-Zero-Basics/20-Gem/10-first.html)
**Pygame Zero Helper Library:** [https://www.aposteriori.com.sg/pygame-zero-helper/](https://www.aposteriori.com.sg/pygame-zero-helper/)

View File

@@ -187,7 +187,7 @@ def update():
powerups.remove(powerup)
def draw():
global game_over_played
global game_over_played, powerup_time
screen.fill((0, 0, 0))
background.draw()
health_bar.draw()
@@ -208,6 +208,7 @@ def draw():
for laser in lasers:
laser.draw()
else:
powerup_time = -1
powerups.clear()
meteors.clear()
explosions.clear()