Python Space Invaders Game Tutorial with Pygame - Beginner Tutorial (OOP)

preview_player
Показать описание
In this gamedev tutorial, I'll teach you how to create your own Space Invaders game using Python and Pygame. This is a great tutorial for beginners, and you'll learn some important game development concepts along the way.

Previous Tutorials (Watch in the following order)

00:00 Intro to Space Invaders tutorial
02:07 Install pygame-ce
04:57 Setup the Game Loop
15:07 Creating the Spaceship
31:07 Create the Lasers
46:59 Create the Obstacles
1:05:39 Create the Aliens
1:23:19 Create the Mystery Ship
1:30:39 Check for Collisions
1:39:29 Game Over
1:59:46 Add Scoring
2:05:15 Add High-Score
2:10:11 Add Sounds
Рекомендации по теме
Комментарии
Автор

I hope you took away lots from this video. Let me know below!
PS: I'm creating an OOP course! Sign up at for early access and a 50% launch discount.

programmingwithnick
Автор

Great lesson, you are a very gifted instructor!

anthonydrakefordshadow
Автор

Its funny how overexcited youre are but also very helpful you explain everything from ground up. Good stuff!

bLedq
Автор

Amazing video, being able to program a game like this is a childhood dream come true to me

rutsoluo
Автор

Great work Nick, brings back memories when the game came out on an arcade machine in the local pub.

Tims_Projects
Автор

Thank you bro! Very good tutorial!
I used this to make a school project!

Flave
Автор

Fantastic coding exercise - I learnt lots of new tricks. Such a great game too ! Thanks.

paulthomas
Автор

Thanks for your tutorials, Nick. You rock and with your teaching method, I have retaken my career in game development. You rock :D

marcoantonioramirezsolis
Автор

This is amazing tutorial, congratulations bro 👌👌

sebascongo
Автор

Bạn đã giúp tôi gỡ rối rất nhiều thứ, cảm ơn nha 🤗, video rất tuyệt, hãy ra nhiều hơn nhé.

minhbaby
Автор

Welcome back Nick! Will there be a C++ version of this?

StarFury
Автор

Hi Nick, thanks again for another wonderful tutorial :)
I think you forgot to add in the offset for the laser sprites and the right-side spawn of the mystery space ship seems to be off.

foofoo
Автор

Great !! really well explained (oop+flow) to follow
I'm using your example to update a breakout revision !!
Have you another tutorial with spritesheet on a simple platform game ?

Thanx for your time :)

gianlucagiuman
Автор

How can I make this go on forever until I loose all 3 lives?

sonicdasher
Автор

loved it thanks--but did have a problem --with the screen size not fitting my laptop and if I want to increase levels and if it is in there--how do I start the next level after clearing the first one. making the next level harder than the last. free ship would be nice after clearing a level or after reaching a certain score.

kennethjones
Автор

At 40:44 it would be nice if you explained _why_ we can now delete half of the code we've written in the last half hour. Because I have no idea 🙄

goodlookinouthomie
Автор

Is pygame more featureful than rsylib python bindings

happygofishing