PyGame Endless Vertical Platformer Beginner Tutorial in Python - PART 13 | Pixel Perfect Collision

preview_player
Показать описание
In this Python tutorial I code an endless vertical platformer using the PyGame module. I'm going to explain how to add collision and improve the accuracy of it using masks, which allow for pixel perfect collision

Credits for assets used:

Check out my other PyGame tutorials:
Рекомендации по теме
Комментарии
Автор

Dud I had been having a nightmare with overlap, this worked perfectly for me

musingsfromthemindof
Автор

This is really helpful since I change the rotation of the sprites in the game which means the rectangles aren't accurate. Liked and subbed :)

callumstablet
Автор

CONGRATULATIONS FOR 8K SUBSCRIBERS. MORE 2K TO GET TO 10K!!! #RoadTo10K >:D

ToujoursIris
Автор

Hi!
Thanks for the videos!
You helping so much.

justnby
Автор

You create a mask for Jumpy and use that for collision checking with the bird (enemy), but why don't we have to create a mask for the bird (enemy) as well?

gamingkiller
Автор

Is there a way to make an EXE out of pygame? To make it so that people without python or pygame installed can play it?

I've tried pyinstaller, py2exe, nuitka, and cx_freeze and none seem to work, or maybe I'm doing it wrong.

JuggernautMusic
Автор

nice video again but in the last part, my animation didnt work ): maybe you can help me

chpiiiprogrammieren