In this course we’ll look at how we can use Python to create a 2D game. To solve this we would use PyGame which makes it easy to both understand the very basics of game programming and python. By analyzing how we create a breakout game (ball that bounces onto bricks) from 0 to 100, we will get a good sense of how we can use Python and PyGame together. At the end of the course we will have a playable breakout game that we’ve written from start to stop using Python together with PyGame.
Source Files: Here
41. adding collision detection, the code is pretty different from that used earlier the body (far right) of the text is not visible:
if self.__position[1] >= otherPosition[1] and self.__position[1] <= otherPosition[1] + …… ???
Im wondering if its possible for the code to be made available?
Thank you,
Abbie