American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Python Game Dev – Gamas

October 18 @ 7:00 pm - 8:00 pm

Today We Did

We continued with Shoot Balloon project. We added balloon sprite.

Homework
  1. Riley
    1. Create gray_block.py which is going to be a single block of sprite. Please use this image and add a hitbox for this sprite.
    2. practice iterating 2 dimensional python array:
      1. my_array = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
        
        for row in my_array:
           for element in row:
              print(element)
      2. my_array = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
        
        for i in range(len(my_array)):
           for j in range(len(my_array[i])):
              print(my_array[i][j])
  2.  Eugene
    1. Add score and display the score on the screen portion.
    2. Add collision detection between the hammer and button. Increase score when the button is hit. Decrease score when the button is not there.
    3. Have 2 sound effect, one success hit, one not success hit.
    4. Add a timer inside button.py, when button appear, start the timer, when timer <= 0, kill() the sprite

Details

Date:
October 18
Time:
7:00 pm - 8:00 pm
Verified by MonsterInsights