Scratch Creating Clones Better

Поделиться
HTML-код
  • Опубликовано: 20 дек 2021
  • In this Scratch tutorial, I show how to create clones better using some custom scripts! :D
    Make sure to check out RokCoder's project:
    scratch.mit.edu/projects/2536...
    Let's get coding!
    Thanks for watching! Please hit the like button and subscribe for future Scratch tutorials!
    🔗 LINKS:
    ▶ Scratch Profile Page:
    scratch.mit.edu/users/ShiftCl...
    ▶ ShiftClickLearn Community:
    • SCL Scratch Community
    ▶ Scrolling Platformer (Night Ninja):
    • Scratch | Scrolling Pl...
    ▶ Cat Clicker tutorial:
    • Scratch | Cat Clicker ...
    ▶ Crossy Road tutorial:
    • Scratch | Making a Cro...
    ▶ Tower Defense tutorial:
    • Scratch | Making a Tow...
    ▶ Fish Game tutorial:
    • Scratch Tutorial | Hun...
    ▶ Scrolling Platformer tutorial:
    • Scratch Tutorial | Eas...
    ▶ Combat Based Platformer tutorial:
    • Scratch | Making a Com...
    ▶ Space Shooter game tutorial:
    • Scratch Space Shooter ...
    ▶ How-to tutorials:
    • Scratch | How-To Tutor...
    😸 Get Scratch Addons:
    scratchaddons.com/
    ❗ DISCLAIMER: This video is family-friendly! Hostile and/or rude comments will not be tolerated!

Комментарии • 104

  • @ShiftClickLearn
    @ShiftClickLearn  2 года назад +23

    Thanks for watching! :D

    • @jya208
      @jya208 2 года назад +4

      coolllll

    • @MatthewWarley
      @MatthewWarley 2 года назад +2

      Good video dude. Your an amazing creator and coder I love your content

    • @BradenBigham-sf5tb
      @BradenBigham-sf5tb Год назад

      you can just use pen instead of clones.

    • @Sansational_Memes
      @Sansational_Memes 9 месяцев назад

      i need help with a scratch game i am making, i animated a characted using cloning and at some point the chracter should say some stuff because there are 2 clones for the animation it spawns 2 textboxes instead of one, can you help me fix this?

    • @GustintyGusttin
      @GustintyGusttin Месяц назад

      WOWWWW I'M COMMENTING MY OWN

  • @KimKongUn_911
    @KimKongUn_911 Год назад +3

    This is really helpful! Really easy to use. I really needed this for my minesweeper project, that's coming up soon.

  • @CorruptedWorld
    @CorruptedWorld Год назад +8

    Omg Tysm for this tutorial. Im making a game where i have clones of something that needs to have bullets go to it and shoot towards the player and this helped so much.❤

  • @saanvimurali6a054
    @saanvimurali6a054 2 года назад +4

    0:10 when you don't know what else to comment on your own video

  • @zionplayz9763
    @zionplayz9763 Год назад

    OMG! I completely didn't know how to do that until this video!

  • @Maki56-e7m
    @Maki56-e7m 5 месяцев назад

    What do I do when I collect an orb in the game to spawn +1 zombie, not *2 zombies?

  • @th3n0t78
    @th3n0t78 3 месяца назад +1

    You. Do. Not. Know. How. Happy. I. Am.

  • @J03L_Gaming
    @J03L_Gaming 2 года назад +2

    Thanks for the tutorial! This helped me a lot!

  • @NotAPolarBearXD
    @NotAPolarBearXD 8 месяцев назад +1

    how can you do this but with only one sprite?

  • @SMPGOAT
    @SMPGOAT 2 месяца назад

    This guy is so helpful

  • @harasen_haras5
    @harasen_haras5 2 года назад +5

    An alternate way of doing this is to make if you are to make a bunch of clones that're all side by side:
    set [-xPos] to (x start position);
    set [-yPos] to (y start position);
    repeat (column length);
    {
    repeat (row length);
    {
    create clone of [myself];
    change [-xPos] by (x gap);
    }
    change [-yPos] by (y gap);
    }
    That's how I usually do. I hope this text based explanation isn't too confusing. I made sure to call the commands the same as what the Scratch blocks call them.

    • @ShiftClickLearn
      @ShiftClickLearn  2 года назад +1

      Oh, nice! Thanks for the code! :D

    • @harasen_haras5
      @harasen_haras5 2 года назад

      @@ShiftClickLearn No problem

    • @huzaifamustafa1574
      @huzaifamustafa1574 7 месяцев назад

      i really need this but i cannot really put this into code could you pls explain it better

    • @harasen_haras5
      @harasen_haras5 7 месяцев назад

      @@huzaifamustafa1574 I can't think of an easier way to explain it in a text based environment. What's making it unclear?

  • @Irishman09
    @Irishman09 Год назад

    How do you create clones based on a variable
    Eg. Creating more coins based on a coin amount variable

  • @fazliebrahim1712
    @fazliebrahim1712 Год назад

    Thank you Thank you Thank you Thank you, this helped me soooo much!!

  • @yosoyeirian
    @yosoyeirian 2 года назад +2

    This is REALLY helpful ❤

  • @saanvimurali6a054
    @saanvimurali6a054 2 года назад +2

    Never been this early to any of his videos :OOOO

  • @imogenharrison2662
    @imogenharrison2662 Год назад +1

    Thank you Thats Helpful

  • @TheCodingRace
    @TheCodingRace 7 месяцев назад

    Nice

  • @BrandonTheOne2
    @BrandonTheOne2 3 месяца назад

    Im trying to have a game where clones spawn randomly, and the player drags a spike ball to kill them, but every time the player kills one, it gets faster, and if a clone stays there for too long you lose

  • @lavrex6491
    @lavrex6491 2 года назад +2

    Hello. Can you make a tutorial for an save and load buttons? Like they will store a score player had at the moment of pressing save. I really need that for my clicker game. Thanks. :)

  • @demonwolf6485
    @demonwolf6485 Год назад

    i mean in the test we first saw all u had to to is
    for sprite 1
    When i start as a clone
    show
    set x pos to .xpos
    for sprite 2
    When i start as a clone
    show
    set x pos to blank - .xpos
    just use the - operator ig shouldve used something that wouldnt be able to do that

  • @Tailow
    @Tailow Год назад +1

    How do I create off-screen clones?

    • @bluehairedboy2010-iw4es
      @bluehairedboy2010-iw4es 11 месяцев назад

      Make a really big costume and set the clone to that costume Go to the wanted position then set the costume back to the wanted costume
      Edit: I hope this helps

  • @boompancakes21
    @boompancakes21 Год назад +1

    1:14 actually, you can just make two variables for the 1 and 2 sprites separately.

    • @ShiftClickLearn
      @ShiftClickLearn  Год назад

      That was just a simple example- this is for spawning 100s of clones at once.

  • @hellomikey4868
    @hellomikey4868 2 года назад +1

    It also has a tutorial of that space invaders:))

  • @cakesrus3852
    @cakesrus3852 2 года назад +4

    Amazing tutrioul 👍 🐱
    (Did you watch Spiderman no way home)

    • @ShiftClickLearn
      @ShiftClickLearn  2 года назад +1

      Thanks!
      (No I haven't watched it yet!)

    • @noxzack7745
      @noxzack7745 2 года назад

      @@ShiftClickLearn Shrek dies at the final >:)

    • @voidentityUTX
      @voidentityUTX 2 года назад

      @@noxzack7745 ಠಗಠ

  • @-Deni-li5xr
    @-Deni-li5xr 6 месяцев назад

    Simple awnser make 2 xpos variables (just a bit different) and make one of them one and the other the other

  • @hossambarakat
    @hossambarakat 2 года назад +3

    Well.. The Better Way To Clone Is Doing The Bug At The First Of The Video And Setting The Variables To For This Sprite Only.. Yes?

    • @ShiftClickLearn
      @ShiftClickLearn  2 года назад

      I'm not sure what you mean...

    • @Midkipper
      @Midkipper 2 года назад

      @@ShiftClickLearn rather than doing the whole video you can just make the variables to "this sprite only" so it doesnt affect it on the other one

  • @Ek-jy8qb
    @Ek-jy8qb 2 года назад +3

    yay! 145th view and 28th like

  • @user-ch6ll7yv6l
    @user-ch6ll7yv6l 2 года назад +2

    very cooooooooooooooool chanel and videooooooooooooooooooooooooooos

    • @ShiftClickLearn
      @ShiftClickLearn  2 года назад +1

      Thank youuuuuuuuuuuuuuuuuuuuuuuuuu loooooooooooooool

  • @appabtw4777
    @appabtw4777 2 года назад +1

    poggers

  • @ooaktree
    @ooaktree Год назад

    my prob is CLONE BUTTONS, i mean i guess i could do it without them but this would make it easier for me tbh

    • @ooaktree
      @ooaktree Год назад

      my problem is, "how do i even make it detect what button i pressed" i mean i tried using sensing things but it just super buggy and doesn't work

  • @indonesiaball8277
    @indonesiaball8277 2 года назад +1

    uhhhh. try using lists instead of clones. its much faster and is much more tweakable. use pen stamp to show them

    • @ShiftClickLearn
      @ShiftClickLearn  2 года назад +1

      That's a cool idea. The issue with that is if you use stamping, the WHOLE project must use pen/stamping. Otherwise, the layering doesn't work.

    • @indonesiaball8277
      @indonesiaball8277 2 года назад

      @@ShiftClickLearn well i dont use layering that much so if you instead need performance and clone count. use list and pen instead of clones

    • @indonesiaball8277
      @indonesiaball8277 2 года назад

      i mostly use it for my AI project

    • @indonesiaball8277
      @indonesiaball8277 2 года назад

      although i still have the problem of not being able to have the list clones to have their seperate layers' list for the AI processing

    • @indonesiaball8277
      @indonesiaball8277 2 года назад

      @@ShiftClickLearn and uhhh.. the whole project can also not use pen. the pen usage is just for the clones

  • @Mistereee
    @Mistereee 2 года назад +3

    🗿

  • @celsladroma8048
    @celsladroma8048 9 месяцев назад

    your scrip is wrong you made clone out of clones forever.. now the scratch cannot handle it

  • @rpurohit1378
    @rpurohit1378 2 года назад +1

    play ice aplatformer 3 by yummy gummy 45 scratch

  • @kavinduhasaranga7633
    @kavinduhasaranga7633 Год назад

    plz doing vedio slowly. this is very fast to study

  • @boompancakes21
    @boompancakes21 Год назад +1

    :D

  • @awesomepossum345
    @awesomepossum345 2 года назад +1

    14th

  • @Legac706
    @Legac706 10 месяцев назад

    nah use clone id

  • @robloxexplits8613
    @robloxexplits8613 2 года назад +2

    Can i get a shoutout?

  • @chiptilin
    @chiptilin 2 года назад

    Can you play "Battle Dogs 1.9"?? Is a very good and easy game !

  • @jingboss1234
    @jingboss1234 Год назад

    Oh thanks you very much.

  • @shahinma221
    @shahinma221 2 года назад

    Would you rather Feel like a Potato, or be a Potato?

  • @snodiver1876
    @snodiver1876 2 года назад +2

    i love ur channel , btw can I have a shout out

  • @brucelemoine5704
    @brucelemoine5704 2 года назад +3

    Presentation is too fast and too jumpy. Hard to follow.

    • @ShiftClickLearn
      @ShiftClickLearn  2 года назад

      Sorry to hear that. Thanks for the feedback.

  • @JacksonAcademy1
    @JacksonAcademy1 2 года назад +2

    bad

  • @anamoyeee
    @anamoyeee 2 года назад +1

    🗿

  • @bitofbeans
    @bitofbeans 2 года назад

    🗿