Using the Scratch Tan Function to Shoot Missiles

Опубликовано: 28 Март 2026
на канале: Surfing Scratcher
8,079
129

How can you fire missiles so that the enemy and player can attack each other? That's what we'll do in this tutorial as we take a breather from some trig. But for the super keen, I'll link you to a solution that uses the tan function, but, just so you know, it's impractical to use in Scratch.

📥 Download Starter Projects: http://surfingscratcher.com/recommend...

--------------------------------------------------------------------------------------------------------------------------------
🔗🔗🔗 LINKS 🔗🔗🔗

➡️ Awesome Tutorial: https://www.raywenderlich.com/2736-tr...
➡️ GeoGebra Unit Circle: https://www.geogebra.org/m/zTgXD6QK#m...
➡️ Khan Academy Trigonometry: https://www.khanacademy.org/math/trig...

--------------------------------------------------------------------------------------------------------------------------------

🙏🙏🙏 SUPPORT 🙏🙏🙏

➡️PATREON:   / surfingscratcher  
➡️MAILING LIST: http://surfingscratcher.com/recommend...

Surfing Scratcher receives a percentage of the purchase price when you make a purchase through some of these links.
--------------------------------------------------------------------------------------------------------------------------------

🛒🛒🛒SHOP 🛒🛒🛒
Educators and teachers, you can find unplugged lessons, resources and activities to purchase for this tutorial series on my website here:

➡️Educational Resources: https://www.surfingscratcher.com/shop/
➡️Browse my Teachers Pay Teachers Store: https://bit.ly/2Tq45lH

--------------------------------------------------------------------------------------------------------------------------------

👻👻👻 SOCIAL MEDIA 👻👻👻

➡️Scratch: https://scratch.mit.edu/users/surfing...
➡️Website: https://surfingscratcher.com
➡️Like my Facebook Page: https://bit.ly/2HnR1Gg
➡️Subscribe to my YouTube Channel: https://bit.ly/2TDtqI3
➡️Follow me on Instagram: https://bit.ly/2NWlxZe
➡️Follow me on Pinterest: https://bit.ly/2CdKIl5

--------------------------------------------------------------------------------------------------------------------------------

📝📝📝 VIDEO DESCRIPTION 📝📝📝

00:00 Intro
00:57 Tutorial Start
02:36 Trig Collision Detection Callout
03:18 Create Turret Health Bar
04:28 Turret Missile
05:38 Rocketship Bug Explanation
07:11 Extension Ideas
09:00 Tan Solution Callout

--------------------------------------------------------------------------------------------------------------------------------

❓🤔❓ WHAT IS SURFING SCRATCHER? ❓🤔❓

Surfing Scratcher wants to show learners, students, educators and teachers how to learn mathematics through coding games online with Scratch 3 programming projects. Whether you are a Scratch beginner, or you're an educator wondering how to use Scratch in your classroom or looking for lessons & resources for your classroom, Surfing Scratcher is here to help you on your journey.

--------------------------------------------------------------------------------------------------------------------------------

⏯ ⏯⏯PLAYLISTS ⏯ ⏯⏯
https://bit.ly/2J1q5i3

--------------------------------------------------------------------------------------------------------------------------------

#scratch #scratchtutorials #howtocode