How to make Guided Missiles in Scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

ความคิดเห็น • 35

  • @musicmanjoe7117
    @musicmanjoe7117 ปีที่แล้ว +13

    I love the effort in this one, the tutorials are getting better and better.

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว +1

      Thanks for noticing!

    • @jboydayz
      @jboydayz ปีที่แล้ว

      @@atomecstudios could you do guided missiles shooting at each other please

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว +1

      @@jboydayz, missiles shooting at each other is actually pretty complicated. You want your missile pointing at the nearest enemy missile, but to do that you need Scratch to see the location of every missile on the screen and decide which one is closest. It's certainly do-able, but it's a little too complicated for many new scratchers.

    • @jboydayz
      @jboydayz ปีที่แล้ว

      @@atomecstudios okay, thanks for telling me.

    • @jboydayz
      @jboydayz ปีที่แล้ว

      @@atomecstudios I’m no new scratcher

  • @that_youtuber9991
    @that_youtuber9991 ปีที่แล้ว +1

    These guides are litteary making me so much better at scratch, THANK YOU!!!!

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว

      We're hearing that a lot! Thanks for the feedback.

    • @that_youtuber9991
      @that_youtuber9991 ปีที่แล้ว

      ​@@atomecstudios no problem 😉

  • @Neon10200
    @Neon10200 ปีที่แล้ว +1

    You deserve way more subscribers and likes!

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว

      Thanks a lot! The channel has been growing a lot in the past couple of weeks, and we're very hopeful those subscriber numbers will keep going up. Thanks for watching!

  • @FunnyDummyMSM
    @FunnyDummyMSM ปีที่แล้ว

    Hey, what is the background music from 0:10 to 0:25? I want to use it for a game :)

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว

      It's called Epic Theme #1 by Steven O'Brien
      www.chosic.com/download-audio/46424/

  • @OloAllay
    @OloAllay 9 หลายเดือนก่อน

    yea but how to make it slowly seek? like when you fly behind it, missle wold do half a circle to point at you?

    • @atomecstudios
      @atomecstudios  9 หลายเดือนก่อน

      Somebody asked me about this a few months ago and I posted a Scratch project that seeks much more slowly. The math is VERY complicated, but feel free to steal my code. scratch.mit.edu/projects/911911599/

  • @Vv98W1Q
    @Vv98W1Q ปีที่แล้ว +5

    plz haw make cliker game in scratch

    • @Sikco-1111
      @Sikco-1111 ปีที่แล้ว +3

      Bro just typed “how” and “clicker” wrong 💀

    • @that_youtuber9991
      @that_youtuber9991 ปีที่แล้ว +4

      ​@@Sikco-1111 chill out hes just 5 😡

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว +3

      Good idea! I'll try and squeeze that in.

  • @diamondyoshi6649
    @diamondyoshi6649 ปีที่แล้ว

    How do I make the missile seek more smoothly (for cool looking projectiles)?

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว

      The missile in this example is constantly updating its rotation to face its target. I'm not sure how you could get any smoother than that. Can you clarify what you mean?

    • @diamondyoshi6649
      @diamondyoshi6649 ปีที่แล้ว

      @atomecstudios basically slower seeking (slowly turning instead of instantly pointing)

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว

      OK, you sent me down quite a rabbit hole with this request. To create a missile that steers towards a target rather than simply pointing at it, you need to compare your missile's angle to your ship's angle and then decide if turning clockwise or counter-clockwise will get you there faster. In advanced coding languages like C++ you can pull this off using as function called delta angle, but since Scratch doesn't include that function we had to create it. Here's the project: scratch.mit.edu/projects/911911599/

  • @neverplay5135
    @neverplay5135 ปีที่แล้ว +1

    i like the alien move.because its smooth

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว

      Thanks. Yeah, I didn't have time to discuss it in this tutorial, but I'll be in explaining smooth movement techniques in a future video.

  • @terrible_story
    @terrible_story ปีที่แล้ว

    I would flip it (it's not seeing then it's just flying to elsewhere)

  • @Scratchtutorial8
    @Scratchtutorial8 ปีที่แล้ว

    Funny videos. Thanks for post

  • @Rom-x8i
    @Rom-x8i ปีที่แล้ว

    High score in an list

  • @nilschristianbroering7759
    @nilschristianbroering7759 ปีที่แล้ว

    it does not work...

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว

      Well, the code we gave you in the video definitely works, so you've picked the wrong block or put it in the wrong place. Go have a look at Alien Interceptor, our reference project at scratch.mit.edu/projects/820030166 and compare your missile code to what's there. Just like in the video there are three custom blocks that handle the guided missile AI.

  • @40susman
    @40susman ปีที่แล้ว

    mine doesent work

    • @atomecstudios
      @atomecstudios  ปีที่แล้ว

      Sorry to hear that. Please check your missile code and compare it to what's in our file. scratch.mit.edu/projects/810384815/
      Ours works, we promise!