Louëlla Creemers
Level Up with Python: Building a Shooter Game Live with PyGame
#1about 4 minutes
Why PyGame is a great starting point for developers
PyGame provides a visual and accessible way to learn core programming concepts like loops, conditions, and object-oriented programming.
#2about 2 minutes
Understanding essential game development terminology
Key concepts like sprites, the event loop, collision detection, ticks for timing, and PyGame's inverted Y-axis coordinate system are explained.
#3about 5 minutes
Building the foundational game window and loop
The initial setup involves importing PyGame, defining screen dimensions, setting frames per second (FPS), and creating the main game loop to display a blank window.
#4about 5 minutes
Creating the player sprite and handling keyboard input
A player is created as a Sprite class, added to a sprite group, and updated based on keyboard events to allow left and right movement.
#5about 4 minutes
Adding bullets and a shooting cooldown mechanic
A Bullet class is created and a shoot method is added to the player, which includes a cooldown timer to prevent continuous firing.
#6about 5 minutes
Spawning enemies and implementing collision detection
Enemies are created as a Sprite class with random horizontal positions, spawned using a custom event, and collision detection is implemented to destroy both the bullet and enemy on impact.
#7about 2 minutes
Replacing placeholder blocks with custom image assets
The basic colored squares for the player and enemies are replaced by loading, scaling, and displaying PNG image files for a more polished look.
#8about 1 minute
Finding resources and code for your own projects
The session concludes with links to additional resources, including the slides and the complete source code for the game in a Git repository.
Related jobs
Jobs that call for the skills explored in this talk.
Eltemate
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Continuous Integration
+1
Picnic Technologies B.V.
Amsterdam, Netherlands
Intermediate
Senior
Python
Structured Query Language (SQL)
+1
Matching moments
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
04:49 MIN
Using content channels to build an event community
Cat Herding with Lions and Tigers - Christian Heilmann
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
02:54 MIN
Automating video post-production with local scripts
Cat Herding with Lions and Tigers - Christian Heilmann
02:39 MIN
Establishing a single source of truth for all data
Cat Herding with Lions and Tigers - Christian Heilmann
02:44 MIN
Rapid-fire thoughts on the future of work
What 2025 Taught Us: A Year-End Special with Hung Lee
05:18 MIN
Incentivizing automation with a 'keep what you kill' policy
What 2025 Taught Us: A Year-End Special with Hung Lee
Featured Partners
Related Videos
The Future Past of Technology - A Game Developers POV
Johanna Pirker
Python: Behind the Scenes
Diana Gastrin
Accelerating Python on GPUs
Paul Graham
Accelerating Python on GPUs
Paul Graham
Creating games to make the web fun again
Nolan Royalty
Exploring the Latest Features of .NET and C# by Building a Game
Rainer Stropek
Overview of Machine Learning in Python
Adrian Schmitt
Pointers? In My Python? It's More Likely Than You Think
Eli Holderness
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Agence Francaise pour le Jeu Vidéo
Canton of Montpellier-3, France
Intermediate

Client Server
Charing Cross, United Kingdom
Remote
£60-70K
CSS
HTML
MySQL
+6



Agence Francaise pour le Jeu Vidéo
Paris, France
Intermediate
C++
Unreal Engine
![Tech Lead - Python (Gaming Project) [J226]](https://wearedevelopers.imgix.net/public/default-job-listing-cover.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)

VOODOO SAS
Barcelona, Spain
Remote
A/B testing
Scripting (Bash/Python/Go/Ruby)

Scenarium AI GmbH
Berlin, Germany
Remote
Intermediate
API
Python
Microservices
Machine Learning
