Scratch Algorithms You HAVE To Know!

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 204

  • @CoolScratcher
    @CoolScratcher 2 роки тому +10

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

  • @MonokuroNeko77
    @MonokuroNeko77 2 роки тому +12

    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.

  • @anasoares6476
    @anasoares6476 2 роки тому +10

    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.

  • @shoefoodreviews5359
    @shoefoodreviews5359 2 роки тому

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

  • @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 роки тому

      ua-cam.com/video/xcjZK9aY3mE/v-deo.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

  • @McHackBot
    @McHackBot Рік тому +1

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

  • @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

  • @ShiftClickLearn
    @ShiftClickLearn  2 роки тому +11

    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

      🗿

  • @plasmacotton
    @plasmacotton Рік тому

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

  • @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

  • @JacksonAcademy1
    @JacksonAcademy1 2 роки тому +1

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

  • @gandewaarjuna6855
    @gandewaarjuna6855 2 роки тому +2

    ShiftClickLearn thanks for super great videos

  • @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

  • @cosmocode75
    @cosmocode75 2 роки тому +1

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

  • @Dam1an9X9
    @Dam1an9X9 2 роки тому

    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

  • @demircantay6760
    @demircantay6760 2 роки тому +5

    Anyone noticed the bread cat?

  • @Stunt7
    @Stunt7 2 роки тому +2

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

  • @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

  • @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

  • @l712doesstuff7
    @l712doesstuff7 2 роки тому +3

    just what I needed. thanks

  • @mittsykittycatextra1980
    @mittsykittycatextra1980 2 роки тому +2

    WE NEED MORE

  • @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]

  • @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

  • @itzkxhu
    @itzkxhu 2 роки тому +2

    A very helpful video!

  • @shingelbearto
    @shingelbearto 2 роки тому +2

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

  • @DrD3molition
    @DrD3molition 2 роки тому +3

    Really helpful!

  • @moonsunlight-lr6kl
    @moonsunlight-lr6kl 2 роки тому +2

    Wow, these are sooo Cool!

  • @thepotatoe101
    @thepotatoe101 2 роки тому

    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

  • @yorp.
    @yorp. 2 роки тому +5

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

  • @cocomusicstation326
    @cocomusicstation326 2 роки тому +3

    Sick as heck bro 😲

  • @shwetasimpson586
    @shwetasimpson586 9 місяців тому

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

  • @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.

  • @Iliterallyhave0life
    @Iliterallyhave0life 2 роки тому +2

    yo thank you for this video :)

  • @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

  • @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?

  • @Yoshnis-TW
    @Yoshnis-TW 2 роки тому +2

    i very like the bread cat

  • @phinixprono
    @phinixprono 2 роки тому +1

    Can see your full tile scrolling game in scartch

  • @greengreenanimations
    @greengreenanimations 2 роки тому +2

    Bread

  • @Therealbluu
    @Therealbluu 2 роки тому +3

    chapter 1 A SmoOtH IntrO ._. lool

  • @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)

  • @marianacocora9221
    @marianacocora9221 2 роки тому +1

    6:44 B R E A D

  • @hurnal6198
    @hurnal6198 2 роки тому +2

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

  • @Chazzezez
    @Chazzezez 2 роки тому +3

    very useful

  • @Cpiyaphum1
    @Cpiyaphum1 2 роки тому +2

    Smootherness +4

  • @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.

  • @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

  • @HowtoDoStuffwithEthan
    @HowtoDoStuffwithEthan 2 роки тому +2

    BREAD CAT

  • @chintusmliu7758
    @chintusmliu7758 2 роки тому +1

    Smooooth... man

  • @misterdot6923
    @misterdot6923 2 роки тому +2

    amazin!

  • @surlo69
    @surlo69 2 роки тому +2

    bread cat

  • @winpapasoe6198
    @winpapasoe6198 2 роки тому +1

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

  • @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

  • @____NN__
    @____NN__ 2 роки тому +2

    Yes

  • @ContentGaming1
    @ContentGaming1 2 роки тому +2

    Taco Cat

  • @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
    ¦>

  • @RonicTheEgg
    @RonicTheEgg 2 роки тому +2

    haha french cat

  • @der_leel
    @der_leel 2 роки тому +3

    quality content 💚

  • @crypteddude3633
    @crypteddude3633 Рік тому

    Why does the voice change every vid

  • @scratchyea
    @scratchyea 2 роки тому +3

    First? I guess second

  • @donetede_la_pradera1956
    @donetede_la_pradera1956 Рік тому

    this is soooooooooooooooooo usefull

  • @donutlol246
    @donutlol246 2 роки тому +1

    baguette cat

  • @paranthesisism
    @paranthesisism 2 роки тому +1

    the why he got bread on the head

  • @DHSBros
    @DHSBros 2 роки тому +3

    Cool

  • @ZaeNonQ
    @ZaeNonQ 2 роки тому +2

    f r e n c h b r e a d

  • @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.

  • @AVeryRandomDude
    @AVeryRandomDude 2 роки тому +2

    Again yaya

  • @lotl5638
    @lotl5638 2 роки тому +3

    *B R E A D C A T*

  • @sheeppro1463
    @sheeppro1463 2 роки тому +2

    noise

  • @keonscorner516
    @keonscorner516 2 роки тому

    They turn into custom Blocks

  • @tigershelf
    @tigershelf 2 роки тому +2

    B R E A D

  • @greenalto7677
    @greenalto7677 2 роки тому +1

    Dope vidoe but i dont use Scratch 😂

  • @sohampine7304
    @sohampine7304 2 роки тому +1

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

  • @CatritaAycock
    @CatritaAycock 11 місяців тому

    It's arc tan

  • @KuKuNotFound
    @KuKuNotFound Рік тому

    i was the 1,000 liked video!

  • @shimofrosted
    @shimofrosted 2 роки тому +2

    Hey man, I've been watching your videos lately, and your the BEST UA-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

  • @appabtw4777
    @appabtw4777 2 роки тому +2

    cool

  • @deku_isfanboy
    @deku_isfanboy 2 роки тому +2

    bread

  • @epicc_exe
    @epicc_exe 2 роки тому

    bread cat 👍

  • @the_real_goobert
    @the_real_goobert 2 роки тому +1

    bread cat 🍞

  • @ReapersofLyfe
    @ReapersofLyfe 5 місяців тому

    nice

  • @lilleopard_ty3662
    @lilleopard_ty3662 2 роки тому +1

    Accidentally disliked but I liked it again

  • @notthatntg
    @notthatntg 2 роки тому

    atan = arctangent

  • @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)

  • @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

  • @Iminsanealr
    @Iminsanealr 2 роки тому +2

    B R E A D C A T

  • @kimberlysandoval680
    @kimberlysandoval680 2 роки тому +3

    bread

  • @cbob81514
    @cbob81514 Рік тому

    bread cat