Hi again everyone.
This week we put the final touches to our game.
We added some code to increase the speed of the alien sprite as the score increased to make the game a little more difficult.
We then added some code to control what happens when the game is over.
You can find our code on Dropbox here: https://www.dropbox.com/sh/ccfaycpa1zluh8l/AAAA4dQH8EPNJicsQj7RwGgsa?dl=0
Next week we will do a quick recap of this game and then we will start looking at hardware on the Raspberry Pi.
See you all then.
Declan, Dave and Alaidh.
Hello again everyone.
We continued working with Pygame Zero this week, we began by getting everyone up to date with where we were with the game. I forgot to mention we were following the tutorial at https://pygame-zero.readthedocs.io/en/stable/introduction.html. We then changed the screen size and added a score to make our game more fun.
Next week we will add some elements to make our game more difficult and even more fun.
I don’t have any slides this week but the code for both versions of the game are available here: https://www.dropbox.com/sh/ccfaycpa1zluh8l/AAAA4dQH8EPNJicsQj7RwGgsa?dl=0
See you all next week.
Declan, dave and Alaidh.
Hello again everyone.
This week in the Bodgers group we started working with Pygame Zero. Pygame Zero allows us to write our own games quickly and easily by doing a lot of the work involved in setting up and running a game in the background. This allows us to focus on the more creative aspects of the game.
You will have to install Python and Pygame Zero if you’re going to use Pygame Zero at home, details on how to do this are in my slides. A few of us had installation problems on Saturday, so don’t worry if you have issues we will help sort it out when we return after the break.
We followed the first few parts of this tutorial: https://pygame-zero.readthedocs.io/en/stable/introduction.html. I gave everyone a folder with images and sounds for our game which you can find here: https://www.dropbox.com/sh/3q14pg3huev4pwb/AADjDuB0FBVZXM4ChqN8qRx2a?dl=0. Copy this folder on to your own computer and you’re ready to go.
Here are my slides from Saturday: day 5
See you all on the 10th of November.
Declan, Dave and Alaidh