
- This event has passed.
7:30 PM – Adv Python Game Dev – Gamas
December 16, 2024 @ 7:30 pm - 8:30 pm
Today We Did
- We finished with the enemies wave management
# User click the "Start Wave button" and current wave enemies are still spawning WAVE_STARTED_SPAWNING = 1 # 1. When there is no more enemies on the screens AND user has not pressed Start Wave button # 2. User just started the game. WAVE_NOT_STARTED = 2 # Current wave is not done, but all enemies are spawn. WAVE_STARTED_NO_SPAWNING = 3
- We switch to GAME_WIN when last wave is finished.
- We finished with the enemies wave management
Homework
- Next class is December 21st at 4 PM.
- Add GAME_WIN page use the game_win.png.
- Create tower.py and create Tower sprite inside this file.
- the tower constructor should have the following parameters: x,y, size, tower_type, screen
- if tower_type == “sword” use this image assets/images/support-tower-game-assets/PNG/7.png
- if tower_type == “magic”, use this image assets/images/magic-tower-game-assets/PNG/3.png
- if tower_type == “spear”, use this image assets/images/support-tower-game-assets/PNG/8.png
- And display all three towers on the top right corner
