Back to Browse

Creating Classes and Loading Images in Pygame! | Python Game Development Tutorial #2

4.3K views
Nov 25, 2022
24:59

This tutorial series is intended to teach the basics of Pygame, where we will be making a top-down shooter game! The code is also available on GitHub: https://github.com/danqzq/baller-knight/tree/tutorial2 Pygame Docs: https://www.pygame.org/docs/ Timestamps: 00:00 - Intro 00:27 - Creating the 'Object' class (Replacing shapes with images) 06:00 - Creating the 'Entity' class 07:13 - Function for loading a tileset 11:00 - Continuing the 'Entity' class 13:00 - Creating the 'Player' class and object 14:55 - Making additions to the 'Entity' class (Adding animating) 23:12 - Loading a background image 24:00 - Outro Some things recommended to have before starting the tutorial: You must have knowledge in: - Basics of Python - Understanding of object-oriented programming You must have installed: - A code editor (VS Code, Visual Studio, PyCharm and etc.) NOTE: I will be using Python v3.9.7 and pygame v2.1.2 throughout this tutorial series! If you're interested in more content like this, be sure to subscribe. If you want to be a part of my community, you can join my Discord server too: https://discord.gg/czBymkcFZ9

Download

0 formats

No download links available.

Creating Classes and Loading Images in Pygame! | Python Game Development Tutorial #2 | NatokHD