Scratch has been hiding blocks from us........
2024 ж. 9 Мам.
42 866 Рет қаралды
Scratch has been hiding blocks this whole time.... and today I'm going to show you how to get them!
|
For those curious bout the music \/
Music from #Uppbeat (free for Creators!):
uppbeat.io/t/prigida/mellow-bop
License code: U0OEBFLURE7TRTOA
uppbeat.io/t/mountaineer/fly-...
License code: PBFJ48JXJH54BEVF
Music not from Uppbeat:
"Ghostrifter Official - Distant" is under a Creative Commons (CC BY-ND 3.0) license.
/ @ghostrifterofficial
🎵 Music provided by BreakingCopyright:
• ☔ Royalty Free Lofi Hip Hop Music: • ☔ Royalty Free Lofi Hi...
#scratch #programming
The TurboWarp extension only has a tiny bit of what's possible in regular scratch, there's WAY more hidden blocks.
Please tell more
@@boem231 My first reply wasn't showing for some reason so I had to delete it then retype it. Basically the dropdown menus that are circular are separate blocks that are shadowed inside. With file editing its possible to un-embed the menus(only the circular menus though, not the square ones), and get them as separate blocks. Most people just copy hacked blocks from somewhere else, like a scratch project or the TurboWarp extension, so mistakes many by one person get lazy-journalismed across the whole website. One example of this is the when this sprite touches hat block almost always having the wrong menu. Most of the time when you see the block it has the menu from the sensing block instead of the menu exclusive to when this sprite touches. There's way more but I don't want to put it all in one comment, tell me if you want to hear more.
@@Izzythemaker127I want to hear more.
@@fiveminutesforgames100 Unfortunately the stretch blocks don't do anything, unless you have the TurboWarp stretch extension, where the stretch blocks set x and y stretch to undefined(Not NaN, undefined values exist in scratch).
@@RokeJulianLockhart.s13ouq You know how I said that all circular menus are technically their own blocks? Well so is the note selection menu. The note selection menu pretends to be an input like number input or string input, but its secretly its own block to. If I had to guess why this happens, its because extensions can't add more inputs. Other inputs aren't like this, for example integer input is part of a different system. On the exact opposite case, the broadcast dropdown menu has its own id, but scratch likes to auto convert it into the identical looking input form. My best guess as to why that one happens is so that the auto conversion can fill in all of the necessary detail, like broadcast id and name, which couldn't be done with just a dropdown. Even if my guess is incorrect, its most likely still a hacky workaround. Also, the round block with the note menu in it, and the color menu inside the join block, those aren't special, someone just made them once and then it got swept up in the copy paste game by people who can't be bothered to edit the json file themselves.
The while block isn't that big of a deal because of how you can use the repeat until block with a not reporter, but the for loop will definitely shorten code
The last 3 blocks are just a way to get colours, piano notes, and a matrix display. U can just join them to a blank character
sensing block, CoreExample Blocks, all at once control block, red hat block, menu input reporter blocks, point towards ( _ random _ v) block: am i a joke to you?
2:00 that is so useful for word scanning!
I had a fight with KZhead until it played the video without an ad.
a “round” block would actually be cool
didnt expect to see bing
btw if you're working on the multiplayer part2 (please do it already if not), there's alot of bugs i found like p2 appearing on screen1 but the other screen can't see p2, or the player being able to alter p2's movement, or even p2 not moving at all
Why this video so good? No ones talking about this? This crazy.
crazy?
@@mannequinytI was never crazy. they never put me in any rooms. I find rats delightful.
Rest in piece Cloud link, it will be missed
Wow, a wild bing user.... incredible!
Actually, round is an official scratch block.
they just edited the json so it had piano notes instead
3:00 The while block has also been on Scratch forever
no?? what universe is bro in ive never seen that before
@@badmusicproducer_officalthe future 😢
@@badmusicproducer_officalhe lives in the universe where everything is scratch 1.4
bro thinks repeat until with not boolean counts as a while block well it does but there’s still no while block in normal scratch so take the L
no
I mean most of these hidden blocks can be replicated with code blocks already in scratch (also i'm pretty sure that the "while" block already exists) so i'm not surprised they removed them reminds me of when there was a [forever if] block in scratch 2
For and while are basic functions in basically all programing languages. Makes no sense why they arent in scratch
You can use file editing to get even more inside of regular scratch
DONT TELL GRIFFPATCH
What about the physics extension that griffpatch himself made?
For each I in and when sprite touches blocks are VERY POWERFUL 😲😄
Wow! I never knew that!
The weird thing about the foreach block is that it represents a for loop when in c# foreach is its own statement that runs logic foreach item in an array, basically a list with a set size.
Plz work on multiplyer part 2
That's a lot of extensions!
Instructions for recreating these blocks in actual scratch projects: "When this sprite touches (thingy)" can instead be a forever loop that says "wait until touching (thingy), broadcast x, wait until not touching (thingy)" "For each (thingy) in (number)" can instead be "repeat floor((number) divided by (thingy))". (for non mathy people, floor rounds down a number) "while (stuff)" can literally just be "repeat until not (stuff)" counter can be done with a variable, not sure what purpose it has being there last few seem useless, I could maybe see a niche use for the join block but don't have a way to recreate it
Do you know when the multiplayer game part 2 is coming?
cool video!
Fun fact: cats are cats 🤯
well you can edit the JSON file when you donwload your project, convert the .sb3 file extension to .zip, open the .zip file, open project.json and edit the blocks. when you're done, convert it back into .sb3 and make sure you didn't make any mistakes when you wanted to make the custom block(s)
The while block actually be so helpful
you can just do "repeat until ". i can see how itd be more convenient but its pointless with this in mind
@@emilyy03 true, but there are also some other things that wouldn’t work like that and require a lot of extra work
@@dailymemesjw speaking in general or abt the while block? cuz yeah a lot of these removed blocks would be useful, but the while block only has one function
wtf the "when sprite touches" block could've come in handy so many times i wish i knew of this earlier
Please make a sequel to this multiplayer shooter! I really need the multiplayer mechanics, I tried to improve it by giving each clone its own name (Clones+ extension), but I would like to know your opinion on this matter.
yo it would be sick if you can show how to make a playerlist for cloudlink
Theres already a block to do that using the Usernames blocks
@@thekrazydev Yea but you have to separate the username and it won't do that if you put get username from cloudlink username it just gives undifined
FOR LOOP IN SCRATCH YESSSSSS
You can also hack to get other blocks
im pretty sure the last block is used in lego spike or something
why the heck would scratch hide these? Especially the for and while loops? I get the other weird ones like the counter which were probably just experimental.
your OC looks like mine, hey!
Ik stuck on the blue screen saying loading project
Nice
I like secrets…
is that edge
nice microsoft, i have it too
idk why some people think scratch isin't a real programing language not all programming languages have to be text based wouldn't that mean blueprint isin't a programming language
I mean probably because a for loop is considered a secret ancient feature.
This requires more jumpcuts in the audio imo
Why are you flicking things on-and-offscreen like that
I…
Bro there just hacked blockes
Blocks
@@emy63666 you can edit your comments...
You can make all of these using regular scratch blocks: When touching is just Flag->forever->wait until touching->[put code here]->wait until not touching The while loop is just repeat until not The for loop is just repeat X->change Y by 1 The increment and reset counter is just change x by 1 and set x to 0
it does not work
that’s not 9 blocks