Sprite Collision - PyGame Thursdays 13

preview_player
Показать описание
In this video I'll show you how to handle Sprite Collision with Pygame and Python.

In the last video we started talking about Sprites and Classes, in this video I'll show you how to continue with that and handle Sprite Collision.

We'll build a quick app that collides food falling from the sky with Aspen.

#pygame #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:10 - Update Code For Food
2:35 - Create Aspen Class
3:30 - Create Aspen Sprite Group
4:38 - Draw Aspen To The Screen
5:30 - Move Aspen
8:12 - Sprite Collision
10:11 - Add Food Group To Aspen Class
12:01 - Conclusion
Рекомендации по теме
Комментарии
Автор

▶ Watch PyGame Playlist ✅ Subscribe To My YouTube Channel:
▶ See More At: ✅ Join My Facebook Group:
▶ Get The Code

Codemycom
Автор

I'm thinking 'reference' to the food group - but not sure! We do pass a reference to a list so it would follow.

hellospam
Автор

honestly thanks for these videos. I was just looking at the GUI series and now im here :)

Mario-
Автор

Thanks for all these videos so far. Pygame seems way less intimidating when you explain it.

kevinkurani
Автор

I watched your kivy calculator vid, i was wondering if its possible I could make an android app inspired by ti-84 where basically its the base calculator with a button functions and plot button where you can type a symbolic function fueled by sympy and then see it graphed by matplotlib

ninolatimer