Pygame Tutorial for Beginners – Python Game Development Course

///Pygame Tutorial for Beginners – Python Game Development Course

Pygame Tutorial for Beginners – Python Game Development Course

FavoriteLoadingAdd to favorites

Learn how to use Pygame to code games with Python. In this full tutorial course, you will learn Pygame by building a space invaders game. The course will help you understand the main game development concepts like moving characters, shooting bullets, and more.

? Code:

? Course created by buildwithpython. Check out his YouTube channel:

⌨️ (0:00:00) Installing Python and Pycharm
⌨️ (0:04:12) Creating Our First Game Window
⌨️ (0:12:39) Changing the Title, Logo and Background Color
⌨️ (0:20:33) Adding Images into Our Space Invader Game
⌨️ (0:29:57) Movement Mechanics in Game Development
⌨️ (0:38:13) Keyboard Input Controls & Key Pressed Event
⌨️ (0:49:53) Adding Boundaries to Our Game
⌨️ (0:53:28) Creating the Enemy
⌨️ (0:59:14) Movement Mechanics of the Enemy Space Invader
⌨️ (1:06:51) Adding a Background Image
⌨️ (1:12:08) Creating Bullets for Shooting
⌨️ (1:26:21) Shooting Multiple Bullets at Space Invaders
⌨️ (1:34:24) Collision Detection
⌨️ (1:48:05) Creating Multiple Enemies
⌨️ (1:55:08) Adding Text and Displaying Score
⌨️ (2:03:17) Adding Sounds and Background Music
⌨️ (2:09:05) Game Over

Learn to code for free and get a developer job:

Read hundreds of articles on programming:

And subscribe for new videos on technology every day:

source

By |2021-07-27T15:19:18+00:00July 27th, 2021|Python Video Tutorials|25 Comments

25 Comments

  1. buildwithpython July 27, 2021 at 3:19 pm - Reply

    Thank you for featuring me on freeCodeCamp! I hope you all enjoy the content ? ! If you have any questions, don't hesitate to reach out to me!

  2. Ylei N July 27, 2021 at 3:19 pm - Reply

    I like your video because you make sure to put comments to indicate what each step does.

  3. A Random Weeb July 27, 2021 at 3:19 pm - Reply

    I'm just leaving a comment so I remember which part of the video I am at when I continue watching the tutorial.
    15:16

  4. Sachin Mahale July 27, 2021 at 3:19 pm - Reply

    This was really a very good tutorial. What I noticed is that, if your computer speaker is disabled, then you will face an error :- "Module pygame has no attribute 'rfind'".

  5. Adam Lasry July 27, 2021 at 3:19 pm - Reply

    Thanks a lot

  6. Mayank July 27, 2021 at 3:19 pm - Reply

    Thanks bro you teached me whole thing in less time, you are great 😉

  7. Vijit Pugalia July 27, 2021 at 3:19 pm - Reply

    Just Amazing

  8. Stuttering Cris July 27, 2021 at 3:19 pm - Reply

    my screen was still black in the "pygame.display.update ((255, 0, 0))" part.

  9. MATOI HOSOI July 27, 2021 at 3:19 pm - Reply

    thank u

  10. MATOI HOSOI July 27, 2021 at 3:19 pm - Reply

    the best 🙂 ^_^ help me learn more and more python games!

  11. Frentiu Justinian July 27, 2021 at 3:19 pm - Reply

    for me is not working , I have to modify a lot the code but eventually I get stuck. I'm working on a imac maybe this is the cause.

  12. Justin Guo July 27, 2021 at 3:19 pm - Reply

    Indian accent be like; "im an indian
    "

  13. PeiSen Wong July 27, 2021 at 3:19 pm - Reply

    Thx very much for this course sir , however can i know how to have a play again option?

  14. doom bringer July 27, 2021 at 3:19 pm - Reply

    screen.fill() where did this screen obj come from

  15. UNIVERSAL July 27, 2021 at 3:19 pm - Reply

    keep it up

  16. Danny Hubbard July 27, 2021 at 3:19 pm - Reply

    Hi was hoping someone could help i have followed this tutorial to a T and having an issue when we get to the adding bullets to shoot section i am doing everything it says but i am not seeing the bullet i have tried skipping to the end and going through the entire code to see if i am missing anything but i have not. This is very frustrating as up until this error everything has been going fine. please someone help me as i would really like to complete this as it is helping me with my studies. TIA

  17. 包粟 CORN July 27, 2021 at 3:19 pm - Reply

    just a small question, why the (collision) distance is less than 27

  18. Shin Shin July 27, 2021 at 3:19 pm - Reply

    How to adjust the height and width of the image if the image is too big or too small??

    thank you so much

  19. Neelansh Sharma July 27, 2021 at 3:19 pm - Reply

    If you have issue in close button just type running = pygame.quit()

  20. Santiago Ramirez July 27, 2021 at 3:19 pm - Reply

    Take a shot everytime he says "obviously".

  21. SOUAR BRAHIM July 27, 2021 at 3:19 pm - Reply

    great tutorial thx soo much.does anyone have a good site for free backround music and sound effects ?

  22. stefan aksic July 27, 2021 at 3:19 pm - Reply

    i get an error it is
    SyntaxWarning: "is" with a literal. Did you mean "=="?

    if bullet_state is "fire":

  23. Martin Kübar July 27, 2021 at 3:19 pm - Reply

    im at 43:47 and for some reason my keys wont react to it, i mean something wont happen even tho i wrote everything right as you did and i dont even have any errors. pls help

  24. BloxyHD July 27, 2021 at 3:19 pm - Reply
  25. Hailey Racine July 27, 2021 at 3:19 pm - Reply

    Would this be the same without pycharm?

Leave A Comment

*