We are going to save all of our work for this topic into a PowerPoint like we did in our assessment.
Save your PowerPoint into One Drive as 'pygame project'
Complete the following:
Do not forget to indent your code
Your code should look like the image below Run it, and see what happens?
We want to add a 'click here to start' button to our game. For that we are going to have to put some text in the center of our screen and do something when it is clicked.
The first this we need to do is give the game a state variable which will chage from intro to running when our text is clicked
Don't forget that they're part of the IF block, so will need to be indented with the tab key .
Run the code to test it, and see what happens?
Now you know how to add text and images to your screen come up with a fancy intro for your game like the one below
Complete your intro page for your pygame project
Lets look at the learning outcomes and decide which one best describes our current level of understanding :
Tick the one you feel is closest to your level