STOP Using This Block! 🤦‍♂️❌ Scratch Tutorial

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

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

  • @Wizdabest1
    @Wizdabest1 Год назад +54

    I think it's better to use a forever loop with 'if __ key pressed' statements instead because it let's you run code if no keys are pressed and it is also really smooth

  • @McVincient2
    @McVincient2 Год назад +4

    I used it only when I didn't know the forever loop thing existed...

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

    You can use a when key _ is pressed, and then a repeat until Not _ Key Pressed. It’s even more smooth and it’s very easy to make.

  • @TheOneAndOnlyEpicStick
    @TheOneAndOnlyEpicStick Год назад +6

    I actually think 'If key pressed' is better, as in you can do many things within the player's control. I don't think Makey Makey has not that many or even none

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

      makey makey has like 2 keys like a key code, like them cheats, like you can press (A), (E). You can do this with the join block. remember to put a space after the first one.

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

      @@lewisbeith Yeah, but theres no point, theres only 3 control block types, including Makey Makey.

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

      yeah but there's more blocks needed!

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

      @@TheSTEAMist Yeah, but I don't really care about that

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

      @@lewisbeith There's Also F And G

  • @Salt_Enjoyer
    @Salt_Enjoyer Год назад +4

    The issue with forever is that they are limited to 15 presses per second (have a cooldown of 0.03 seconds). Hat blocks can be activated 30 times per second.
    However, 2 hat block scripts can't be activated at the same tick. You can't register 2 keys at the same time with them. They overwrite each other. (Edit: not the Makey blocks)
    I use forever loops. Hat blocks use more code in big projects, and are laggy sometimes. Plus, the overwriting is an issue.
    𝘤𝘭𝘪𝘤𝘬 𝘚𝘩𝘰𝘸 𝘮𝘰𝘳𝘦 𝘧𝘰𝘳 𝘢𝘯 𝘦𝘹𝘢𝘮𝘱𝘭𝘦
    Compare these. In this case, the forever loop is more compact:
    when ⚑ clicked
    forever
    | change x by (( - ) * (10))
    | change y by (( - ) * (10))
    ⌨when (left arrow) key pressed
    change x by (-10)
    ⌨when (right arrow) key pressed
    change x by (10)
    ⌨when (up arrow) key pressed
    change y by (10)
    ⌨when (down arrow) key pressed
    change y by (-10)

  • @imaginalexiss7208
    @imaginalexiss7208 11 месяцев назад +1

    also some people don't use Makey Makey

  • @J_SuperProGamer
    @J_SuperProGamer Год назад +2

    Can you just
    When space key pressed
    Repeat until not space key pressed? (Start)
    Change X by 10
    (End)

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

    When _ key pressed:
    Repeat until
    Move (3) steps
    End
    End

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

    I discovered this delay one year ago, but thanks for remember me, one question, can we do a colab, cuz I'm a scratch experimented dev too

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

      No problem, sorry I'm a bit busy right now I have a lot of exams 😓

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

      @@TheSTEAMist me too

  • @ponali.mememaker
    @ponali.mememaker Год назад +1

    what about scrolling? the "when key blocked pressed" block detects up and down when we scroll up and down but not for the "is key pressed?" block

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

    the thing is that i dont use when|--| pressed block OR makey makey, i use
    if key pressed
    just because it works the best

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

    I thought you were gonna do:
    {{
    Forever
    if key space pressed?
    move 10 steps
    }}
    But your method works too I guess, nice!

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

      Thanks! :D Glad you liked the video

  • @cringeSpeedrunner
    @cringeSpeedrunner Год назад +6

    Don’t worry I haven’t used it since last year

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

      😎

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

      @@TheSTEAMist you should stop using makey makey block! Use a if green flag clicked join with forever then if block then go into input section then you will see if for example if a button clicked so put that block into the if block then go into motion and get move 10 steps or change x by then put that into the if block. That’s how you do it!

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

      ​​@@Aghag_aviation ROBLOX IS TRASH

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

      I wasn’t even talking about Roblox

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

      ​@@Just_Fix810omfg not again

  • @huzkingdom
    @huzkingdom Год назад +2

    i never even used that i just used the if block and use the when "key" pressed block

  • @morganisapro8k
    @morganisapro8k Год назад +2

    me, on mobile: *never used it, never will*

    • @roxy304
      @roxy304 Год назад +2

      So true I'm mobile to

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

      Same and I go through lots of blocks to make my projects and I feel no pain,
      I'M ONLY HUMAN AFTER ALL
      I'M ONLY HUMAN AFTER ALL
      DON'T PUT THE BLAME ON MEEE

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

      Yea me too

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

      never a mobile user on scratch, or maybe?

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

      lol

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

    Solution 2:
    when green flag clicked;
    forever;
    move (10 * ) steps
    -
    Solution 3:
    when green flag clicked;
    forever;
    wait until
    move (10) steps
    _The solution you showed in the video works pretty well, especially for how simple it is, but sometimes if you add too many add-ons, it can get inefficient. Overall,_ *great video!*

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

      nice solution!

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

      @@TheSTEAMist Thanks! Also, now I know how to make keys like ` from this video! By the way, how do I add keys like TAB and ESCAPE?

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

      @@LosesAtEverything you can;t.

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

      @@iamb0 Wait, then how did he get those cursed glitched blocks in the 'making flappy bird using only hacked blocks' episode?

    • @meow333-1
      @meow333-1 2 месяца назад

      In solution no 2, is it a new optimization?

  • @hugocian
    @hugocian 6 месяцев назад

    you can also use forever if key pressed but it is a little hard to turn so forever if key pressed repeat until

    • @hugocian
      @hugocian 6 месяцев назад

      repeat until not key pressed

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

    I use this block for animations to save some space so i will not have to deal with adding the movement code into costumes

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

      Ok cool!

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

      @@TheSTEAMist reason why i don't put the costumes in the movement codes is because of laggy movement.

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

    I agree with this video. My friend uses the When () key pressed block from Events, and it is really hard to play any of his games, I have to fix all of his games because of it.

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

    hey dude how did you get that font on the blocks, please tell me!!

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

    it also effects all clones which can break so many projects...!

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

    I always use when space key pressed because I usually make informational projects and song covers on my scratch

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

    Does it works with backspace, capslock, enter, shift, ctrl, fn, Tab, Delete, Home, end, and more?

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

      with scratch addons yes, with normal scratch no

    • @ραΓΓοτ
      @ραΓΓοτ 7 месяцев назад

      It only works with enter (also some of the symbols)

  • @Baburun-Sama
    @Baburun-Sama Год назад +1

    I don't use this Often, because I'm Bubble Bobbl-ish.

  • @meehdrescher
    @meehdrescher Год назад +4

    yeaaa... I have about 9 years of experience in Scratch and I've stopped using it after my first month because of the input laaaag

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

      sadly, I used it for a long time

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

      @@TheSTEAMist if you hold down the button it goes noticeably faster

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

      @@MoreThanJustGabe which one?

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

      @@TheSTEAMist the event one not makey makey

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

    but griffpatch use when space key pressed to get a color

  • @СмайликВесёлый-х3я

    Wait, doesn't that mean you can make codes that activate with special characters? Like / or . ?

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

    the forever loop strat is better, but the hat blocks are necessary if you wanna use the scroll wheel (up / down arrow key for up / down scroll. forever loops don’t do this)

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

    Here is how to get the Enter Key Support:
    1. Download Scratch Addons.
    2. Pin the Browser Extension.
    3. Enable the Addon: "Extra Key Options".

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

    well, I use {when space key press] [repeat until (code)

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

    It’s better if you use a forever loop with if key pressed it will be smoother

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

    Why i will not use this Block?
    But why?

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

    thanks i needed this for making an anti-cringe shop

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

    Wow, I didn't knew about that. Thank you

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

    i love your videos!

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

    A seriously unrerrated block is "() of ()" witchlets you take the info from any sprite/backdrop! (their direction, x, y, even costume number!)

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

      yeah! it's so overlooked... Should I make a video about it?

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

      @@TheSTEAMist i dunno! Its all up to you, but i think putting light on it wiuld be important, because ive been making variables for so long and it might be userful for some

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

    Could you help me? My scratch game is good and it's not getting any views :( and even worse, when I search the games name, it doesn't show up! So could you make a video about why this happens?

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

      What is the name of the game, and does it have any special characters? Did you rename it at any point?

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

      Can you link me the project, I feel like viewing it!

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

      "Scratch Cat's Quest #games #mobile #pc #alllangauges" And yes I did rename it a lot of times.
      Scratch Cat's Adventure --> Scratchlands --> Scratch Worlds --> Scratch Cat's Quest

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

      @@FunkyPupo the renaming is why, there’s an issue where if you rename the project the name is not updated in search and it appears to update when resharing.

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

      @@modesties Oh ok. Thanks

  • @marc_thirdy
    @marc_thirdy День назад

    Thank you

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

    Very nice 👍👍👍👍

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

    Or go to Sensing and get the "Key Pressed?"

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

    I just use code:
    When Green Flag Pressed:
    [Forever
    If [any key pressed?] Then
    Move 10 steps
    Forever]

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

    Or you could use repeat until not {key} pressed

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

    NEW VIDEO YAY!!! ❤

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

    i dont like the ugly extension mark at the bottom of the project.

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

    just put a forever loop lol
    when space key pressed
    forever
    (code)

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

      true that works too :), this just has less code

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

      @@TheSTEAMist yeah

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

    I still use the block for testing purposes sometimes

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

    Neither of them. I use is pressed?

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

    Actually you can code it with a repeat until block

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

    I never use that and this. I only use if key press

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

      really :O I used to this all the time

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

    DO this:
    when flag clicked
    forever
    if then
    (YOUR SCRIPT)
    Thats better.

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

    When ___ Key Pressed
    { Repeat Until Not Key ____ Pressed?
    { (Code Here)
    }
    }
    }
    (idk how coding works ((without scratch)) )

  • @modesties
    @modesties Год назад +2

    that moment when you use 2.0 so you don't have the makeymakey extension. Couldn't be me (jk just use the key pressed boolean LOL)

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

      I own a copy of the 2.0 offline editor

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

      @@datey_in_a_1st_taxi i have a repository with 2.0 versions linked in my signature. We’re trying to find new versions and the 2.0 offline editor betas/alphas (we have v385 and v404)

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

      @@modesties REALLY!? I'm interested!

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

      @@datey_in_a_1st_taxi it keeps deleting my replies :/

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

      @@modesties Weird...

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

    Totally agree

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

    [When green flagged clicked]
    (Forever:
    (If space pressed:[ whatever your trying to do])
    [Wait until {Not (Space pressed)}
    )

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

    Ikinda discovered that on my own...

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

    But is used by griffpatch

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

    You may still use that block

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

    I have a tablet so I have to make Joystick for me

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

    Imagine making a slide and using 'makey makey' block

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

    forever if key space pressed move 10 steps. much easier

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

    Well I don't use it.
    What do you mean.
    I don't use it

  • @Coder64-Castle
    @Coder64-Castle Год назад

    Griffpatch used it in his gd tutorial😂

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

    people who litteraly never used that block

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

    for the love of god please use forever if key pressed please please i beg of you all

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

      both work

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

      @@TheSTEAMist they both work, but forever is smoother

  • @700games9
    @700games9 11 месяцев назад

    I alway use this:
    when |■ cliked
    forever
    | if , then
    | | move (10) steps
    | \_____/
    \____.^

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

    bro, this is just painful to watch with all this random talk, just do:
    forever
    change x by [key d pressed] - [key a pressed] * [the speed you would like to go at]
    change y by [key w pressed] - [key s pressed] * [the speed you would like to go at]

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

    I never use that block anyways

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

    Eh I still use it for debug purposes

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

    THIS IS BLOCK CALLED “when key pressed” IS VERYYYYYYY BAD!!!!!!!!!!!!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1!1

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

    Ok

  • @fish1445-1
    @fish1445-1 Год назад

    Just one problem
    I'm mobile

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

    I have never use this block

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

    I know how to make smooth movement!

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

    Hello my friends

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

    Hi😊

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

    WHY!! ITS NOT UGLY!

  • @659in
    @659in Год назад

    I will not stop using it

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

      ok, why?

    • @659in
      @659in Год назад

      @@TheSTEAMist because it’s better than your whatever thing (a joke)

  • @Lemonixity-x1x
    @Lemonixity-x1x Год назад

    i cant belive my eyes

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

    No.I don’t think I will

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

    who even uses that block???

  • @That-Chinese-User
    @That-Chinese-User Год назад

    Pfttt, this block is for noobs.

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

    tirth :>

  • @samsung-galaxy8726
    @samsung-galaxy8726 Год назад

    Oiaa

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

    i hate this block

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

    Ha ha ha ha ha ha ha ha ha make a game without key blocks

  • @lobber2.015
    @lobber2.015 Год назад

    You’re wrong

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

    first

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

    I do not care

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

    Or just do what you can't see.
    |
    V
    - WHEN 🏳 CLICKED
    | FOREVER
    || IF THEN
    || MOVE (10) STEPS
    || END "IF THEN"
    | END "FOREVER"

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

      yeah that works too, this just has less code

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

      @@TheSTEAMist ​Yes. But THIS code is better than lag. Plus, you could do the same thing with this.
      |
      V
      BASEPLATE SCRATCH
      MK IS A NEW EXTENSION, WHICH STANDS FOR MAKEY MAKEY
      - (mk) WHEN [ ( JOIN [S] [] ) ] KEY PRESSED?
      |REPEAT UNTIL

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

    i just use
    forever
    | if space key pressed
    || move 10 steps
    -----------------------------------
    ------------------------------------