In this video I explain how to check if two objects are colliding. We will test if the projectile shot from our character enters the hit box of our enemy. All of this is done in python 3 using the module pygame. If you are having any trouble following along leave a comment down below and I will be sure to help you out. Also go check out the github link down below to download the code and images.
Download Code: https://techwithtim.net/tutorials/gam...
Twitter: / techwithtimm
Смотрите видео Pygame Tutorial #7 - Collision and Hit Boxes онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Tech With Tim 23 Февраль 2018. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 153,751 раз и оно понравилось 2.6 тысяч посетителям.