Premium Only Content

Python Platformer Tutorial | Animations, Sprites, Collisions, Jumping, Gravity...
Today, I'll be sharing how to build a platformer game in Python. This game will have pixel-perfect collision, animated characters, and much much more!
Thanks to Dice for sponsoring today’s video! When it comes to finding a job in tech, make things easier on yourself, and #LevelUpWithDice to help you find the right match! Check out the links below to start your journey with Dice.com.
Dice, where tech connects: http://bit.ly/3V6tR9Y
Career Events: http://bit.ly/3EiALlL
Ultimate Guide to a Successful Career in Tech: http://bit.ly/3tE4osV
Find Jobs: http://bit.ly/3V5qEHK
Assets and Completed Code: https://github.com/techwithtim/Python-Platformer/tree/main/assets
Pygame in 90 Minutes: https://www.youtube.com/watch?v=jO6qQDNa2UY
Space Invaders in Pygame: https://www.youtube.com/watch?v=Q-__8Xw9KTM
How To Install Pygame (Mac/Linux): https://www.youtube.com/watch?v=E-WhAS6qzsU&t=2s
How To Install Pygame (Windows): https://www.youtube.com/watch?v=AdUZArA-kZw
💻 ProgrammingExpert is the best platform to learn how to code and become a software engineer as fast as possible! Check it out here: https://programmingexpert.io/tim and use code "tim" for a discount!
⭐️ Timestamps ⭐️
00:00:00 | Project Demo
00:02:41 | Project Brief/Getting Started
00:04:16 | Project Setup
00:05:27 | Asset Walkthrough
00:06:47 | Game Setup
00:12:06 | Generating The Background
00:19:24 | Creating The Player
00:28:48 | Moving The Player
00:32:29 | Adding Gravity
00:36:28 | Loading/Splitting Sprite Sheets
00:49:59 | Animating The Player
00:57:23 | Adding Terrain/Blocks
01:10:00 | Pixel Perfect Collision (Vertical)
01:15:57 | Jumping & Double Jumping
01:23:37 | Scrolling Background
01:29:02 | Pixel Perfect Collision (Horizontal)
01:37:25 | Adding Traps (Fire)
01:46:18 | Player Collision With Traps
01:52:00 | Conclusion
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
👕 Merchandise: https://teespring.com/stores/tech-with-tim-merch-shop
📸 Instagram: https://www.instagram.com/tech_with_tim
📱 Twitter: https://twitter.com/TechWithTimm
⭐ Discord: https://discord.gg/twt
📝 LinkedIn: https://www.linkedin.com/in/tim-ruscica-82631b179/
🌎 Website: https://techwithtim.net
📂 GitHub: https://github.com/techwithtim
🔊 Podcast: https://anchor.fm/tech-with-tim
🎬 My YouTube Gear: https://www.techwithtim.net/gear/
💵 One-Time Donations: https://www.paypal.com/donate?hosted_button_id=CU9FV329ADNT8
💰 Patreon: https://www.patreon.com/techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
- Tech With Tim
- How To Make a Pygame
- Pygame Programming
⭐️ Hashtags ⭐️
#techwithtim #developer #python #pygame
-
11:30
Tech With Tim
1 year ago $0.01 earnedBuilding A Machine Learning Resume Project From Scratch
2233 -
LIVE
vivafrei
51 minutes agoRFK Jr. Takes on the Pharma WHOORES! Toddler-Assaulter Granted BAIL? COMPLYE WITH CRIMINALS! & more
10,547 watching -
LIVE
The Quartering
1 hour agoRFK Jr Goes NUCLEAR, Horrible Tomb Raider News, Anti-White Male Propaganda
9,933 watching -
LIVE
Dr Disrespect
4 hours ago🔴LIVE: Hell Is Us Launch - DR DISRESPECT’s First Look at the Scariest Game of 2025!
1,608 watching -
LIVE
Pop Culture Crisis
1 hour agoSabrina Carpenter Wants Feminist Approval, Demonic Rituals at Burning Man? | Ep. 910
513 watching -
11:17
Dr. Nick Zyrowski
29 days agoTop 10 No CARB No SUGAR Foods That Will Change Your Health
1.46K2 -
1:52:45
John Burk
2 hours agoThe Texas Hemp ban, DOJ removing guns from trans, and more.
3091 -
1:05:37
LindellTV
1 hour agoMike Lindell Debates Democrats in the Streets of DC
3.33K1 -
7:49
Talk Nerdy Sports - The Ultimate Sports Betting Podcast
3 hours agoTNF BEST BETS: Eagles vs Cowboys | 10 Props & Same-Game Parlays (Sept 4, 2025)
7 -
LIVE
Anthony Rogers
3 hours agoProbably the best Fortnite stream
38 watching