Topic 1.5 - User Interaction
This section will re-cap a bit of drawing, but add a small amount of user interaction. We will detect mouse clicks in our event loop and make a change to how our program behaves based on it.
Topic 1.5 - User Interaction
What to Do?
1 - Follow along with the lesson given by Mr. Aldworth, or work through the tutorial provided. You will need to download Day to Night.py from the Files section below and start with that program for this tutorial.
recap of drawing
introduce a boolean value (True or False)
create a pygame.Rect() in order to use its built in collision detection
use the Event Loop
use if statements to have our program do different things
2 - Complete the programming assignment specified below.
What to Submit?
Submit the programming assignment described below.
Tutorial
We will work through this as a class, but you may go through on your own in advance. You should
Programming Assignment
Either start with your Still Life assignment from Topic 1, my template or a new program with the Graphics Template.