American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7:30 PM – Adv Python Game Dev – Gamas

December 16, 2024 @ 7:30 pm - 8:30 pm

Today We Did
    1. We finished with the enemies wave management
      1. # 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
    2. We switch to GAME_WIN when last wave is finished.
Homework
  1. Next class is December 21st at 4 PM.
  2. Add GAME_WIN page use the game_win.png.
  3. Create tower.py and create Tower sprite inside this file.
    1. the tower constructor should have the following parameters: x,y, size, tower_type, screen
    2. if tower_type == “sword” use this image assets/images/support-tower-game-assets/PNG/7.png
    3. if tower_type == “magic”, use this image assets/images/magic-tower-game-assets/PNG/3.png
    4. if tower_type == “spear”, use this image assets/images/support-tower-game-assets/PNG/8.png
  4. And display all three towers on the top right corner

Details

Date:
December 16, 2024
Time:
7:30 pm - 8:30 pm
Verified by MonsterInsights