Today in Chris’s lesson we were tasked of making a basic plat former including of the player be able to jump and being able to collect something, I chose pumpkins. When we had the code for the player moving the controls were inverted so we had to go in the code and change that as well as put a few comments on to see how well we know the code. This is the comments that I added as it allows me to understand what the code is doing just by the note. This is also where we had to change the code as when you pressed left you went right.
We then did the coding for the collectable which had us delete the item and the listener code when it would touch the player, there were no problems with this code apart from having to rename a few of the variables.