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-knig...
Pygame Docs: https://www.pygame.org/docs/
Timestamps:
00:00 - Intro
00:30 - Making sure the player doesn't leave the screen
02:36 - Adding the 'get_center()' method to the Object class
03:11 - Creating a target that will follow our mouse
05:37 - Implementing shooting
08:48 - Making sure the bullets don't travel infinitely
10:00 - Creating the Enemy class
15:30 - Handling collisions
19:46 - 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:
/ discord
Sur cette page du site, vous pouvez voir la vidéo en ligne Projectiles and Enemy Behavior in Pygame! | Python Game Development Tutorial #3 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur danqzq 02 décembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 7,000 fois et il a aimé 109 téléspectateurs. Bon visionnage!