« All Events
7:30 – Adv Python Game Dev – Gamas
December 9, 2024 @ 7:30 pm - 8:30 pm
Today We Did
- We learn how to iterate two dimensional list in python.
- We learn how to use multiple dimensional list to store enemy waves information.
- We added start wave button to control when the wave should start.
Homework
- Our next class is on Saturday 12/14 at 4 PM and below homework is due then.
- resized the start wave button to be smaller.
- change the code so it will start with self.current_wave = 0. After the wave is done, increment self.current_wave by one so the next time user hit the start_wave button, it will start the 2nd wave.
- change the config.WAVES to have at least 4 waves of enemies and test it out see if it is working.
- Add self.coin = 450 in the main.py and display the coin right next by the player’s health just like below screenshot.