Ultimate Python Turtle Graphics Tutorial: Space Arena 9 (Collision Detection)
Channel: TokyoEdtech
Date: 27/06/2020

Welcome to the Ultimate Python Turtle Graphics Tutorial! In it, I will walk you step-by-step how to create an original shoot'em up game called Space Arena. This is an intermediate level tutorial and uses concepts such as classes, and inheritance in its design as well as some geometry to make the spaceship physics more realistic.

Collision Code:
    # NOTE: YouTube doesn't allow angle brackets in descriptions so change lt to the less than symbol and gt to the greater than symbol

    def is_collision(self, other):
        if self.x LT other.x + other.width and\
            self.x + self.width GT other.x and\
            self.y LT other.y + other.height and\
            self.y + self.height GT other.y:
            return True
        else:
            return False

Download the code here: https://github.com/wynand1004/Projects/tree/master/Space%20Arena
NEED HELP?
🆘 Watch this first and then let me know in the comments below: https://www.youtube.com/watch?v=L6AwVuu6O3Y

❤️❤️ SHOW SOME LOVE AND SUPPORT THE CHANNEL ❤️❤️

Click Join and Become a Channel Member Today!
Channel members can get preferential comment replies, early access to new content, members only live streams, and access to my private Discord. 
❤️ https://www.youtube.com/channel/UC2vm-0XX5RkWCXWwtBZGOXg/join

Amazon Affiliate Links
💻 My Laptop (Asus Zenbook 13): https://amzn.to/2H3DLbF
🎙My New Microphone (Blue Yeti Pro): https://amzn.to/2HmjOgN
🎙My Old Microphone (Blue Snowball): https://amzn.to/3j8magh
🎶My USB Interface (Focusrite Scarlett Solo): https://amzn.to/3kqyo5m

Other Affiliate Links
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=tokyoedtech&utm_content=description-only

LINKS
🗄️ GITHUB: https://github.com/wynand1004
💬 Follow me on Twitter: https://twitter.com/tokyoedtech 
📜 Subscribe to my Newsletter: http://eepurl.com/dKgM8k 
📝 Check out my Blog: https://christianthompson.com 
⬇️ Download Geany Editor: https://www.geany.org 

LEARN MORE PYTHON
➡️Space Invaders: https://www.youtube.com/watch?v=QvtlEj_T55o&list=PLlEgNdBJEO-lqvqL5nNNZC6KoRdSrhQwK
➡️Snake Game: https://www.youtube.com/watch?v=BP7KMlbvtOo&list=PLlEgNdBJEO-n8k9SR49AshB9j7b5Iw7hZ 
➡️Pong: https://www.youtube.com/watch?v=LH8WgrUWG_I&list=PLlEgNdBJEO-kXk2PyBxhSmo84hsO3HAz2 
➡️Space War: https://www.youtube.com/watch?v=Ak1IDnP5IrI&list=PLlEgNdBJEO-muprNCDYiKLZ-Kc3-p8thS 
➡️Intro to Python (for Java Coders): https://www.youtube.com/watch?v=hIulVFh4S-k&list=PLlEgNdBJEO-n4c4QMmUVknHxfjDlvbY1l
➡️Space Arena - The Ultimate Python Turtle Graphics Game Tutorial: https://www.youtube.com/watch?v=nUoJjHOlY24&list=PLlEgNdBJEO-kK78GXDVzytiZlJtCyiFyW 

LEARN MORE JAVA
➡️Basic Java for Beginners: https://www.youtube.com/watch?v=FxmQeC-3uuE&list=PLlEgNdBJEO-lCMWT4wd3VbZbv_swTd_eT 
➡️Intro to AP Computer Science A: https://www.youtube.com/watch?v=1g99HckBk8c&list=PLlEgNdBJEO-kaJjwvtMrBBrm6-i4w1TQG

#Python #Tutorial #Beginner