Pygame Tutorial #4 - Optimization & OOP

Profile Picture
- Published on Feb 8, 2018馃審 Public

In this video I explain the importance of optimizing your games and why using classes to organize your objects such as characters a blocks is very important. I show how to create a class called player where we will then store all of the attributes of the character. We also clean up our redrawGameWindow function by transferring most of that code into the players .draw method. All of this is done using Python 3 and a module called pygame. DOWNLOAD LINK: https://techwithtim.net/tutorials/gam... CLICK ON THE PREVIOUS TUTORIAL TO DOWNLOAD THE IMAGES Follow My Twitter: https://twitter.com/TechWithTimm Please LIKE and SUBSCRIBE for more content!