Scratch Algorithms You HAVE To Know!

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

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

  • @MonokuroNeko77
    @MonokuroNeko77 2 ปีที่แล้ว +11

    revolutionary stuff
    Using your technique of ""move () steps" but with extra steps", I was able to create bullets that move offscreen and can travel in any direction.
    And, sprinkling in a bit of my own code, I managed to make it so that they would disappear upon getting far enough away from the player.
    Thank you.

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

      You're welcome, that's so cool! :D

  • @anasoares6476
    @anasoares6476 2 ปีที่แล้ว +8

    I have a way to use movement
    If then
    point towards mouse pointer
    move (distance to mouse pointer / 15)
    end
    change the number to be whatever smoothness you'd like.

  • @CoolScratcher
    @CoolScratcher 2 ปีที่แล้ว +8

    nobody:
    owen: makes a literal scrolling engine in the middle of his tutorial

  • @gandewaarjuna6855
    @gandewaarjuna6855 2 ปีที่แล้ว +2

    ShiftClickLearn thanks for super great videos

  • @DHSBros
    @DHSBros 2 ปีที่แล้ว +6

    I favourite part of the Episode is at 6:44

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว

      hehe ;p

    • @DHSBros
      @DHSBros 2 ปีที่แล้ว

      @@ShiftClickLearn I have video idea for you top 10 best Survival Disasters Games

    • @milanoo_5
      @milanoo_5 2 ปีที่แล้ว

      @@ShiftClickLearn B R E A D

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

    Anyone noticed the bread cat?

  • @Yasird1
    @Yasird1 2 ปีที่แล้ว +21

    Pretty cool I really find these tutorials use full while I am programming can you make videos on other programs if you know any other or if you want.

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

      I'm glad you find them helpful. :D

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

      Agreed

    • @bloontdbattles1802
      @bloontdbattles1802 2 ปีที่แล้ว

      th-cam.com/video/xcjZK9aY3mE/w-d-xo.html

    • @enzo_6416
      @enzo_6416 2 ปีที่แล้ว

      May I ask that you review this even if it takes a year I know you have a lot of viewers

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

    Awesome video! I'll have to keep this in mind and watch it later. I like your thumbnails :D

  • @spearmaster-rw
    @spearmaster-rw ปีที่แล้ว

    This point towards X Y is a DAMN LIFE SAVER!!! I DIDNT KNOW THIS WAS EVEN POSSIBLE!!! TYSM

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

    MY GUY YOU JUST SAVED MY LIFE WITH THAT POINT TOWARDS THING THANK YOU

  • @mittsykittycatextra1980
    @mittsykittycatextra1980 2 ปีที่แล้ว +2

    WE NEED MORE

  • @ShiftClickLearn
    @ShiftClickLearn  2 ปีที่แล้ว +10

    If I had a penny for every time I said "thing" and "smooth" in this video, I'd have like a dollar or something. 💀

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

      YO FIRST TO REPLY YES

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

      second :D

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

      I'd have like a -1 dollar or something*

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

      NO!! 💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿🗿

    • @Starfeather_19
      @Starfeather_19 2 ปีที่แล้ว +2

      🗿

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

    so the pointing algorithm doesnt work anymore it only works if the y < y pos is true bc it doesn't let 180 / 0 it just says infinity

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

    Instead of using the multiply block you can use the divide block. Makes it easier to find a good speed.

  • @isaacler2965
    @isaacler2965 2 ปีที่แล้ว +2

    With hide/show for scrolling games easier way exist:if x position = x or y position =y show,else hide.

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

      I've found that it will break sometimes. a variable could be 15.1124 while the position is only 15.1. If you round it, they're both 15. :D

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

    do you think it is also possible to change a specific number/letter in a variable to a value without modifying the other symbols?
    I'm making a save function, and am using this.

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

      I would think it's possible... I bet you'd need to loop through each character and use a "letter i of variable". You'd also need a bunch of join blocks if I had to guess.

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

      list will be your friend with that. put all of the characters of the value inside a list using a repeat block then modify the specific thing you want then rejoin them all again using also a repeat block. are you familiar with using lists?

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

      @@instinctdiff7765 you don't have to join them again with the repeat block, you can also do: set ["variable" v] to ("list" v), delete all of ["list" v]

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

    This will help in many of my games, Thank You shifty!

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

    just what I needed. thanks

  • @greengreenanimations
    @greengreenanimations 2 ปีที่แล้ว +2

    Bread

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

    for the pointing to a coordinate part, can you make it so that it will turn at a FIXED rate in the most efficient direction to the coordinate because I am making a game that will require the turning to make it less unbalanced

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว

      That would be a good block to add...

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

      @@ShiftClickLearn do you have any way to make it happen

  • @Stunt7
    @Stunt7 ปีที่แล้ว +2

    Wow, the second costum Block is so usefull for tower defense games!

  • @dhaneshabhipraya
    @dhaneshabhipraya 2 ปีที่แล้ว +2

    This inspired me to make a customizable puzzle game in Python. And it's text-based too.

  • @UnknownX-Edits
    @UnknownX-Edits 2 ปีที่แล้ว +2

    Hey can you help me, Im making a game with a clone enemies in it, And I tried searching how to make clones have hitbox and nothing worked. Can you help me?

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว

      Here's a simple way to make a hitbox:
      Switch costume to the hitbox costume (Just a square that covers the player costume)
      If (touching whatever) {
      do whatever
      }
      Switch back to the player costume.
      Hope this helps. :D

  • @kxhu
    @kxhu 2 ปีที่แล้ว +2

    A very helpful video!

  • @moonsunlight-lr6kl
    @moonsunlight-lr6kl 2 ปีที่แล้ว +2

    Wow, these are sooo Cool!

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

    very useful

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

    Sick as heck bro 😲

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

    bro i just watched ur video which was from 1 year ago and i clicked on this video but bro ur voice just switched LIKE BOOMM

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

    is there a way to make the move steps algorithm to work with cloned enemies chasing the player? I tried this and it didnt work

  • @somnullty
    @somnullty 2 ปีที่แล้ว

    6:26 in my project(if i do scrolling platformer) i will do if not your offscreen algorythm set scroll x to x and scroll y to y

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

    Smooooth... man

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

    Really helpful!

  • @Iliterallyhave0life
    @Iliterallyhave0life 2 ปีที่แล้ว +2

    yo thank you for this video :)

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

    Hello ShiftClickLearn
    To say your tutorials have helped me in creating my games is a grouse understatement (there almost line for line just your tutorials). And I was wondering if you would have any idea for an algorithm relating to cloned npc's shooting cloned projectiles? This is something i've been struggling with for a while and would love to hear if you have any ideas on how to go about this.

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

    Cool, but how to I make it smooth from the starting position at the same time?

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

      What do you mean?

    • @jamespennington6428
      @jamespennington6428 2 ปีที่แล้ว

      @@ShiftClickLearn like, if you do ((Target Value) - Value) * .5) then it makes it smooth, but how to I do the opposite at the same time?

  • @dracokinerek
    @dracokinerek 2 ปีที่แล้ว +2

    We're no strangers to love
    You know the rules and so do I
    A full commitment's what I'm thinking of
    You wouldn't get this from any other guy
    I just wanna tell you how I'm feeling
    Gotta make you understand
    Never gonna give you up
    Never gonna let you down
    Never gonna run around and desert you
    Never gonna make you cry
    Never gonna say goodbye
    Never gonna tell a lie and hurt you
    We've known each other for so long
    Your heart's been aching, but
    You're too shy to say it
    Inside, we both know what's been going on
    We know the game and we're gonna play it
    And if you ask me how I'm feeling
    Don't tell me you're too blind to see
    Never gonna give you up
    Never gonna let you down
    Never gonna run around and desert you
    Never gonna make you cry
    Never gonna say goodbye
    Never gonna tell a lie and hurt you
    Never gonna give you up
    Never gonna let you down
    Never gonna run around and desert you
    Never gonna make you cry
    Never gonna say goodbye
    Never gonna tell a lie and hurt you
    (Ooh, give you up)
    (Ooh, give you up)
    Never gonna give, never gonna give
    (Give you up)
    Never gonna give, never gonna give
    (Give you up)
    We've known each other for so long
    Your heart's been aching, but
    You're too shy to say it
    Inside, we both know what's been going on
    We know the game and we're gonna play it
    I just wanna tell you how I'm feeling
    Gotta make you understand
    Never gonna give you up
    Never gonna let you down
    Never gonna run around and desert you
    Never gonna make you cry
    Never gonna say goodbye
    Never gonna tell a lie and hurt you
    Never gonna give you up
    Never gonna let you down
    Never gonna run around and desert you
    Never gonna make you cry
    Never gonna say goodbye
    Never gonna tell a lie and hurt you
    Never gonna give you up
    Never gonna let you down
    Never gonna run around and desert you
    Never gonna make you cry
    Never gonna say goodbye
    Never gonna tell a lie and hurt you

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว +2

      🎵

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

      Get rickrolled in the most clever way

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

      @@ShiftClickLearn pin this please

    • @pndaMobby
      @pndaMobby 2 ปีที่แล้ว

      @@dracokinerek omg so clever just copy and pasting the lyrics omg you got them omg so smart wow

    • @dracokinerek
      @dracokinerek 2 ปีที่แล้ว

      @@pndaMobby I know the real song

  • @Yoshnis-TW
    @Yoshnis-TW 2 ปีที่แล้ว +2

    i very like the bread cat

  • @____NN__
    @____NN__ 2 ปีที่แล้ว +2

    Yes

  • @PecokaArasio
    @PecokaArasio 2 ปีที่แล้ว +2

    woah best algorithims

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว +2

      Thanks!!

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

      @@ShiftClickLearn no problem but your tuts are amazzzzzzzzzzzzzzinggggggggggggggggggggg (T R U E)

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

    chapter 1 A SmoOtH IntrO ._. lool

  • @yorp.
    @yorp. 2 ปีที่แล้ว +5

    Could you maybe make a video on how to do particle effects? Because that would be cool lol :DD

  • @xanerisGONE
    @xanerisGONE 2 ปีที่แล้ว +2

    Can you make a tutorial on how to make a Nextbot in Scratch?

  • @Cpiyaphum1
    @Cpiyaphum1 2 ปีที่แล้ว +2

    Smootherness +4

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

    Cool

  • @shwetasimpson586
    @shwetasimpson586 7 หลายเดือนก่อน

    The fact that he used the scratch cat with a loaf of bread oh he's head😂

  • @misterdot6923
    @misterdot6923 2 ปีที่แล้ว +2

    amazin!

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

    6:44 B R E A D

  • @surlo69
    @surlo69 2 ปีที่แล้ว +2

    bread cat

  • @HowtoDoStuffwithEthan
    @HowtoDoStuffwithEthan 2 ปีที่แล้ว +2

    BREAD CAT

  • @hurnal6198
    @hurnal6198 2 ปีที่แล้ว +2

    5th I think, edit: also I started watching when it was 36 seconds ago

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

    Can someone who understands maths pls explain why the sin of direction and cos of direction work as an replacement of move 10 steps. As far as I knew the sin of an angle is opposite/hypotonuse how does that number times steps give us a perfectly working move 10 steps replacement

  • @ContentGaming1
    @ContentGaming1 2 ปีที่แล้ว +2

    Taco Cat

  • @AVeryRandomDude
    @AVeryRandomDude 2 ปีที่แล้ว +2

    Again yaya

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

    My feeble human brain still can't understand these algorithms, despite the fact that I've been working with Scratch for over 2 years.

  • @RonicTheEgg
    @RonicTheEgg 2 ปีที่แล้ว +2

    haha french cat

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

    *B R E A D C A T*

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

    The only thing i'm focused to is the *bread* cat

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

    Can see your full tile scrolling game in scartch

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว

      I'll share it once the series is over.

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

    First? I guess second

  • @appabtw4777
    @appabtw4777 2 ปีที่แล้ว +2

    cool

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

    quality content 💚

  • @sheeppro1463
    @sheeppro1463 2 ปีที่แล้ว +2

    noise

  • @tigershelf
    @tigershelf 2 ปีที่แล้ว +2

    B R E A D

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

    this is soooooooooooooooooo usefull

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

    atan is short for arctan is short for arc tangent

  • @sohampine7304
    @sohampine7304 2 ปีที่แล้ว +2

    How old are you bro
    Tysm for the video

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

      I'm 108, you're welcome. :D

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

      Your voice is way too sharp for 108 year old dead body

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

    mmm yez a remake of your algroithms from like uhhhhh idk how long it was existing
    ¦>

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

    baguette cat

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

    Why does the voice change every vid

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

    the why he got bread on the head

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

    Dope vidoe but i dont use Scratch 😂

  • @ReapersofLyfe
    @ReapersofLyfe 3 หลายเดือนก่อน

    nice

  • @ZaeNonQ
    @ZaeNonQ 2 ปีที่แล้ว +2

    f r e n c h b r e a d

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

      🍞

    • @ZaeNonQ
      @ZaeNonQ 2 ปีที่แล้ว

      @@ShiftClickLearn i like bread,specially toasts

  • @GlitchedK
    @GlitchedK 2 ปีที่แล้ว +2

    Could you maybe do some helpful code tips for making a rouge-like game like binding of isacc? I’ve been making art and music for a game yet the coding is where I get stumped. It would be so helpful.

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว

      I've never played binding of isacc and I haven't ever made a roguelike so I don't know If I have any tips! If I ever make one that's a great idea! :D

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

    Can you (try) make a horror game or you can't
    Pls don't mind

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว

      I've never really played any horror games xD

    • @sohampine7304
      @sohampine7304 2 ปีที่แล้ว

      I thought the Dani trick would work

    • @sohampine7304
      @sohampine7304 2 ปีที่แล้ว

      Oh ok

  • @SypherCODM
    @SypherCODM 2 ปีที่แล้ว

    Why did your Brother stop uploading?

    • @SypherCODM
      @SypherCODM 2 ปีที่แล้ว

      And you may know someone who usually comments on your vids called Cyan.

  • @shimofrosted
    @shimofrosted 2 ปีที่แล้ว +2

    Hey man, I've been watching your videos lately, and your the BEST TH-camr I have EVER watched. If you can, Could I please get a shoutout? Thanks for everything ShiftClickLearn. I subscribed aswell. Also, could you please make a shine effect video? Thanks.

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว

      Wow, thank you so much for commenting/ subbing. You're very welcome- that's a good idea. :D

  • @deku_isfanboy
    @deku_isfanboy 2 ปีที่แล้ว +2

    bread

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

    It's arc tan

  • @keonscorner516
    @keonscorner516 2 ปีที่แล้ว

    They turn into custom Blocks

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

    bread cat 🍞

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

    i was the 1,000 liked video!

  • @epicc_exe
    @epicc_exe 2 ปีที่แล้ว

    bread cat 👍

  • @MaxwellCatAlphonk
    @MaxwellCatAlphonk 2 ปีที่แล้ว +2

    Easing

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว

      like smOOthing?

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

      @@ShiftClickLearn smoothing out the beginning and ending of the M O V E M E N T yes (sorry for getting mad at my autocorrect)

  • @notthatntg
    @notthatntg 2 ปีที่แล้ว

    atan = arctangent

    • @ShiftClickLearn
      @ShiftClickLearn  2 ปีที่แล้ว

      Cool

    • @dracokinerek
      @dracokinerek 2 ปีที่แล้ว

      Take the ln of Atan^s (x) and raise to e
      S atan(x)

    • @notthatntg
      @notthatntg 2 ปีที่แล้ว

      @@dracokinerek ?

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

    Accidentally disliked but I liked it again

  • @ZaeNonQ
    @ZaeNonQ 2 ปีที่แล้ว +2

    h m m

  • @CrystalKyryn
    @CrystalKyryn 2 ปีที่แล้ว +2

    25th liek : - )
    s.o...c.o.o.l

  • @deadchannelnowatch
    @deadchannelnowatch 2 ปีที่แล้ว

    a

  • @sethplayzminecraft2671
    @sethplayzminecraft2671 2 ปีที่แล้ว +2

    BREAD
    -SCL 2022

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

    bread

  • @Iminsanealr
    @Iminsanealr 2 ปีที่แล้ว +2

    B R E A D C A T

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

    bread cat