Python Platformer Tutorial | Animations, Sprites, Collisions, Jumping, Gravity…



Python Platformer Tutorial | Animations, Sprites, Collisions, Jumping, Gravity…

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

Comments are closed.