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
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
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.
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)
@@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!
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
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!*
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.
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)
@@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
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?
"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
@@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.
@@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)
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]
@@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
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
true
Yeae
true, but that's more code
@@TheSTEAMist If your building a big project then you dont really care about code.
Not true
I used it only when I didn't know the forever loop thing existed...
same XD
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.
true
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
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.
@@lewisbeith Yeah, but theres no point, theres only 3 control block types, including Makey Makey.
yeah but there's more blocks needed!
@@TheSTEAMist Yeah, but I don't really care about that
@@lewisbeith There's Also F And G
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)
true :D thanks for the info
also some people don't use Makey Makey
Can you just
When space key pressed
Repeat until not space key pressed? (Start)
Change X by 10
(End)
wdym?
When _ key pressed:
Repeat until
Move (3) steps
End
End
that works too
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
No problem, sorry I'm a bit busy right now I have a lot of exams 😓
@@TheSTEAMist me too
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
true but that is a rare use
the thing is that i dont use when|--| pressed block OR makey makey, i use
if key pressed
just because it works the best
yeah, same
I thought you were gonna do:
{{
Forever
if key space pressed?
move 10 steps
}}
But your method works too I guess, nice!
Thanks! :D Glad you liked the video
Don’t worry I haven’t used it since last year
😎
@@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!
@@Aghag_aviation ROBLOX IS TRASH
I wasn’t even talking about Roblox
@@Just_Fix810omfg not again
i never even used that i just used the if block and use the when "key" pressed block
i used to use it all the time
me, on mobile: *never used it, never will*
So true I'm mobile to
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
Yea me too
never a mobile user on scratch, or maybe?
lol
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!*
nice solution!
@@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?
@@LosesAtEverything you can;t.
@@iamb0 Wait, then how did he get those cursed glitched blocks in the 'making flappy bird using only hacked blocks' episode?
In solution no 2, is it a new optimization?
you can also use forever if key pressed but it is a little hard to turn so forever if key pressed repeat until
repeat until not key pressed
I use this block for animations to save some space so i will not have to deal with adding the movement code into costumes
Ok cool!
@@TheSTEAMist reason why i don't put the costumes in the movement codes is because of laggy movement.
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.
Why don't you tell him :)
hey dude how did you get that font on the blocks, please tell me!!
it also effects all clones which can break so many projects...!
:(
I always use when space key pressed because I usually make informational projects and song covers on my scratch
cool!
Does it works with backspace, capslock, enter, shift, ctrl, fn, Tab, Delete, Home, end, and more?
with scratch addons yes, with normal scratch no
It only works with enter (also some of the symbols)
I don't use this Often, because I'm Bubble Bobbl-ish.
lol XD
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
sadly, I used it for a long time
@@TheSTEAMist if you hold down the button it goes noticeably faster
@@MoreThanJustGabe which one?
@@TheSTEAMist the event one not makey makey
but griffpatch use when space key pressed to get a color
Wait, doesn't that mean you can make codes that activate with special characters? Like / or . ?
yup
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)
true :)
thank you😄
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".
well, I use {when space key press] [repeat until (code)
cool!
It’s better if you use a forever loop with if key pressed it will be smoother
True, it's just more blocks
Why i will not use this Block?
But why?
Watch the video :)
thanks i needed this for making an anti-cringe shop
Glad I could help
Wow, I didn't knew about that. Thank you
No problem!
i love your videos!
how is this misinformation?
@@TheSTEAMist what do you mean?
@@Epicccccccccccccccccccc Sorry I must have replied to the wrong comment
A seriously unrerrated block is "() of ()" witchlets you take the info from any sprite/backdrop! (their direction, x, y, even costume number!)
yeah! it's so overlooked... Should I make a video about it?
@@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
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?
What is the name of the game, and does it have any special characters? Did you rename it at any point?
Can you link me the project, I feel like viewing it!
"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
@@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.
@@modesties Oh ok. Thanks
Thank you
Very nice 👍👍👍👍
Thanks a lot :)
Or go to Sensing and get the "Key Pressed?"
You can do that too :)
I just use code:
When Green Flag Pressed:
[Forever
If [any key pressed?] Then
Move 10 steps
Forever]
Or you could use repeat until not {key} pressed
that's also true
NEW VIDEO YAY!!! ❤
hope you enjoyed it:)
i dont like the ugly extension mark at the bottom of the project.
just put a forever loop lol
when space key pressed
forever
(code)
true that works too :), this just has less code
@@TheSTEAMist yeah
I still use the block for testing purposes sometimes
that's fine
Neither of them. I use is pressed?
that works too
Actually you can code it with a repeat until block
you can do that too
I never use that and this. I only use if key press
really :O I used to this all the time
DO this:
when flag clicked
forever
if then
(YOUR SCRIPT)
Thats better.
that works too
When ___ Key Pressed
{ Repeat Until Not Key ____ Pressed?
{ (Code Here)
}
}
}
(idk how coding works ((without scratch)) )
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)
I own a copy of the 2.0 offline editor
@@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)
@@modesties REALLY!? I'm interested!
@@datey_in_a_1st_taxi it keeps deleting my replies :/
@@modesties Weird...
Totally agree
:D
[When green flagged clicked]
(Forever:
(If space pressed:[ whatever your trying to do])
[Wait until {Not (Space pressed)}
)
both work
@@TheSTEAMist yeah but it doesn't activate when the game is off.
Ikinda discovered that on my own...
But is used by griffpatch
You may still use that block
I mean... you can
I have a tablet so I have to make Joystick for me
I might make a tutorial
Imagine making a slide and using 'makey makey' block
You have to😈
forever if key space pressed move 10 steps. much easier
it's more blocks
Well I don't use it.
What do you mean.
I don't use it
ok
Griffpatch used it in his gd tutorial😂
TRAITOR 😤
people who litteraly never used that block
for the love of god please use forever if key pressed please please i beg of you all
both work
@@TheSTEAMist they both work, but forever is smoother
I alway use this:
when |■ cliked
forever
| if , then
| | move (10) steps
| \_____/
\____.^
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]
I never use that block anyways
I got hearted no way
Eh I still use it for debug purposes
that's fine
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
Ok
Just one problem
I'm mobile
:O
I have never use this block
wow :0 i used to use it so much
@@TheSTEAMist LOL
I know how to make smooth movement!
cool!
Hello my friends
Hello 👋
@@TheSTEAMist hi
Hi😊
Hi:)
WHY!! ITS NOT UGLY!
wdym?
@@TheSTEAMist it’s essential
I will not stop using it
ok, why?
@@TheSTEAMist because it’s better than your whatever thing (a joke)
i cant belive my eyes
:O
No.I don’t think I will
lol
@@TheSTEAMist no but I use the "if ____ key pressed from sending but it doesn’t work
who even uses that block???
beginners
Pfttt, this block is for noobs.
yeah :)
tirth :>
lol :)
@@TheSTEAMist thank you for the tutorial
@@DemianCrackOriginal no problem :D
Oiaa
i hate this block
same
Ha ha ha ha ha ha ha ha ha make a game without key blocks
You’re wrong
no?
first
:D less gooo
I do not care
Great🤣
Or just do what you can't see.
|
V
- WHEN 🏳 CLICKED
| FOREVER
|| IF THEN
|| MOVE (10) STEPS
|| END "IF THEN"
| END "FOREVER"
yeah that works too, this just has less code
@@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
i just use
forever
| if space key pressed
|| move 10 steps
-----------------------------------
------------------------------------
that works too