For those who are interested, Scratch Add-ons does provide a switch option between "for all sprites" and "for this sprite only", BUT it currently only works if you are not using the variable in multiple sprites... Which was the point of this video. Hopefully in future that will be fixed and then this will become super easy!
@youraveragebfdifan2 жыл бұрын
nice!
@youraveragebfdifan2 жыл бұрын
I already have scratch addons :D Nice tutorial by the way
@blueiicey2 жыл бұрын
I love this video! and nice rhyming
@RidyDaBidy952 жыл бұрын
ialreadt have scratch addons and great tip
@thelio.l2 жыл бұрын
I already have scratch add-ons
@BruskEfe Жыл бұрын
*Poems by Griffpatch* 0:20 Once upon a time, Griffpatch feeling so clever, began to code the most epic Scratch project ever. 0:28 It began with a cat, and a variable for health. But should it be for all sprites, 0:34 or only for itself? Well, he wasn’t quite sure, 0:39 so he just let it be, and continued on blindly, saying “I guess we’ll just see”. 0:45 Then, when green flag clicked, Still unaware of his bloop, he set health to 5, 0:50 then straight into a forever loop. But just to be sure, he muttered “A say 0:56 block won’t lag”, he dropped in the health variable, and smashed that green flag! 1:02 “5” he declared, “Such muscle, such brawn!”, but he did not dally, no he had to Scratch On! 1:10 And so, with much health, Scratchy was ready to fight, with a nimble right click, 1:15 Griff duplicated that sprite. And it looked to be working, 1:19 double avatars of Scratch, reporting 5 health a peace, a genuine perfect match. 1:26 "Now it’s time to mix it up… " Griffpatch declared, and then, 1:30 boosted one cat's heath from 5 up to 10. And that's when it happened, on clicking 1:36 the green flag, it become pretty obvious he'd just hit a big snag. 1:42 For-although each cat's health was, there to plainly see, 1:46 they both still were reporting the very same exact HP. 1:50 But how is this possible? Each sprite's health was individually set, to a completely 1:55 different value when green flag clicked, and yet… "Oh man, this is bad", he disliked code Rewrites, 2:03 "I bet this was all because I opted for "for all sprites".
@doogyplayz705 Жыл бұрын
ITS A MASTERPIECE
@rajjoplayz Жыл бұрын
Perfect. Its perfect, to the last minute detail
@iamsupershane69420 Жыл бұрын
best poem ever lol
@thecool1oof10 ай бұрын
Plus, 69 likes oof
@EpicCrystalKitty7 ай бұрын
Beautiful.. im not crying you are
@itsplatinum1012 жыл бұрын
Been using this for a while and it’s been an absolute lifesaver! Another useful variable add on is one to separate the ‘all sprites’ ones from the ‘this sprite only’ ones in the toolbox :)
@theoldlaser2 жыл бұрын
You know, that preview mistake where all the enemies jump as you jump could make for quite a fun and interesting game.
@-_lIl_-2 жыл бұрын
yeah, you could make a game with that where you have to make the enemy bounce off the wall or get stuck from a platform to go onto the next level
@ianlopez81782 жыл бұрын
have you played Hern1's "rescue" game? he sort of does that
@Lens_arcade2 жыл бұрын
you cannot jump over them, so the game would be really hard or even impossible. it would however be interesting to make a game where the goal would have the same velocity as the player and have the player make the goal bump into walls to "push" the goal towards you.
@poultrypants2 жыл бұрын
@@Lens_arcade The goal would be to get the stuck behind or under a platform, so you can get by. It wouldn't be impossible, and I believe a gam by the name of Will You Snail has a mechanic like this.
@laifepearl92712 жыл бұрын
100th like
@waytoobiased2 жыл бұрын
Some of my favorite addons: • Separate “for all sprites” and “for this sprite only” • Enhanced fullscreen • Various addons that let one change the editor look
@MateoThode2 жыл бұрын
Dark mode !!
@reglan_dev2 жыл бұрын
@@MateoThode dark mode is cool, but not on scratch
@ergathonbrothersincorporat32382 жыл бұрын
@@reglan_dev I have Better 3.0 and it gives me dark mode
@1080GBA2 жыл бұрын
U forgot pause button
@reglan_dev2 жыл бұрын
@@1080GBA pause button is amazing
@imara43892 жыл бұрын
Don’t know if you’ll ever see this but your scratch games and well the scratch community got me into programming way back when. I just landed a swe job as a new grad at a faang company and wanted to thank you!
@griffpatch2 жыл бұрын
Woohoo amazing! Well done you!
@imara43892 жыл бұрын
@@griffpatch Thank you!
@CMM472 жыл бұрын
Thanks griffpatch we can never have doubted because you never fail to make the scratch community a better place
@jensenx082 жыл бұрын
The style of this video from 0:00 to 2:05 is just hilarious!
@griffpatch2 жыл бұрын
Glad you think so :D hehe. I had fun making it!
@draxgrek98802 жыл бұрын
@@griffpatch it was pretty funny
@Cr_nch2 жыл бұрын
I don’t even use scratch but still watch these. They’re super well made and interesting! Keep it up!
@Brahvim2 жыл бұрын
Same xD I just... don't use it _anymore._
@BluEatsNuggets2 жыл бұрын
I'm a noob at it and I'm horrible
@wojtekgame2 жыл бұрын
i use it :_Appel:
@ezzeldingamingcoding2 жыл бұрын
@@BluEatsNuggets I'm good at using Scratch
@hypedanceemoteD2 жыл бұрын
Scratch addons is finally getting the recognition it deserves! I use this extension all the time and I feel so happy you're announcing it!
@1080GBA2 жыл бұрын
Thanks griffpatch! I once also thought i know all about scratch variables and got so puzzled when the project didn't work as i intended. This is an absolute life saver!
@griffpatch2 жыл бұрын
Awesome!
@hazard68962 жыл бұрын
I must say, the amount of editing you putting into these is a lot of work! Especially the mouse clicking sounds 😉 I know your tricks
@miklhnsn6922 жыл бұрын
Super useful. I was having a problem with my item variables and set them to "for this sprite only" when they should've been "for all sprites" , without this I would have had to rewrite everything, and now that I've watched it I was able to fix my problem with ease. I'm sure this video will be a big influence for others with a similar problem.
@luigipunchanimation67452 жыл бұрын
I love the rhyming XDDDD I have experienced this 'for all sprites variable thing' before with making hp in multiple clones. It was so odd because a clone with a small hp drops in it would mean all clones will go to low hp aswell. And i was very working back then so i just went with it till this day its still here. I noticed when i decided to recreate my old proojects and make everything better. I realised it wasnt happening again and that openes up much more possible ways to make games on scratch. The old days...
@RonicTheEgg2 жыл бұрын
I can tell Griffpatch's editing got better and funnier Keep it up!
@GabbyandLala2 жыл бұрын
you are right
@mightty73882 жыл бұрын
You can also use a "for this sprite only" variable to have *clones* have individual values for variables. Just something to keep in mind.
@CatinaboxReal2 жыл бұрын
wait what
@random32502 жыл бұрын
I actually use this to ID between clones! I'm glad to know i'm not the only one to know this.
@faretek35452 жыл бұрын
This clone I'd. You can also use it for much more,like a dual player in a platformer, or different clones in the same sprite. You can also use costume names and built in variables for clone I'd, but getting to know this is even better
@mixalispapa47117 ай бұрын
You can also use it to make different behaviots for clones
@vijfsnippervijf3 ай бұрын
@@mixalispapa4711Especially love that use case, as it can let you create simple games in just one sprite.
@izaanhafid2 жыл бұрын
I love your new style of editing! It's way less serious and just mucking around, the poem at the beginning was a prime example, good job! :D
@Resseguie2 жыл бұрын
It was also interesting learning a bit about how Scratch handles missing variables, too. Now I'm really curious the specific logic they use to do that, but that somehow gets (I'm assuming) the "first sprite you click on that needs the replacement" stuck in the reporter. If you hadn't proved it worked, I would have suspected a bug where they had a new global but with the sprite name prefix in it accidentally or something like that. Hmm...
@griffpatch2 жыл бұрын
Indeed! - It is a bit weird, but the variable reporters are not tightly coupled to the actual variables it seems... The weirdest thing is that I kind of thought after saving and reloading that it might sort itself out... but nope :) - Oneday all these little glitches will get ironed out I'm sure!
@XD_ERT2 ай бұрын
@@griffpatch and that stay still hasnt come :(
@MugiwaraGuy2 жыл бұрын
Man i swear, i learn new Scratch features from you everyday, from painting hacks to easier variable changing
@milankarow65672 жыл бұрын
Nice one, in the beginning I was kind of hoping the whole episode would be in poem form This trick might come in handy in future Scratch teaching sessions! Although I think I'll still get the most minds blown with the most underrated/misunderstood block of all: ([backdrop# v] of (Stage v)). ...whose secret power I learned from one of your videos obviously.
@griffpatch2 жыл бұрын
Yes indeed :D - The mysterious thing of thing block - Such power!!! - And yeah, I could have tried to go fully poem I guess hehe. Maybe another time! It only came to me to do it after I'd recorded the other half of the video already.
@officialtetronome2 жыл бұрын
The power of making scratch games
@debmalyalodh12 жыл бұрын
@@griffpatch aww thanks :).
@megacadgeo97582 жыл бұрын
What vid was it?
@teh_man2 жыл бұрын
0:20 Oh my gosh, the notifications!
@slimecubeboing2 жыл бұрын
I love that intro rhyme! Also thanks for putting my project in your studio!
@pahalvaidya10942 жыл бұрын
Exhilarated to see more of these add-ons. Lets go! Sure would love to see more in the upcoming videos in the form of a poem :D
@CheeseandQuackers642 жыл бұрын
Respect the story was better than a Disney nursery rhyme ⭐️⭐️⭐️⭐️⭐️
@Twin138956Productions20192 жыл бұрын
Wow. That's amazing! I'd love to see more of them.
@StatsCount2 жыл бұрын
I love how he rhymed the words at the start of the video. I didn't know they run in an order from front to back. Thank you for the facts and tips! 👍🏻
@FeniteFr2 жыл бұрын
I love the way that this video is edited 😍😸
@TheGamingRedCat2 жыл бұрын
We're all lazing our butts here while griffpatch's rhyming like Dr. Seus
@arch23002 жыл бұрын
was not expecting the poem at the beginning.
@anname73732 жыл бұрын
This is so cool, it not only teaches kids about global vs local variables but it also teaches you how to get around scratch's bugs
@KidPrarchord952 жыл бұрын
7:37 Another warning with this; I've found that it can sometimes cause a report monitor to get stuck on screen and never disappear. You can edit your project's JSON file to fix it, but it's a little bit of a hassle.
@griffpatch2 жыл бұрын
On dear!
@Emerald_Dev2 жыл бұрын
I’ve been watching your tutorials for a little bit now and always have been on the fence about scratch add ons, but this has convinced me!
@Colewilliams-xt4yo2 жыл бұрын
bro can rhyme better than me...
@GuineaPigs1O12 жыл бұрын
I could've saved hours by watching this before, but now I won't ever lose time for one decision again. TY
@ScratchAddons2 жыл бұрын
Nice video.
@wojtekgame2 жыл бұрын
oh hi there
@wojtekgame2 жыл бұрын
I will wait for 2 years to be unbanned from the ScratchAddons/ScratchAddons repository
@Enderia22 жыл бұрын
oh hi scratch addons
@UltronZX2 жыл бұрын
Amazing! this is the thing which had happened to me... i created thousands of duplicates for a sprite and changed the scripts a lot, and then realized that the variables were for all sprites * faints * but this video is exactly what i wanted! it was ultra useful, thanks a lot griffpatch!
@thesetwinsaretwins2 жыл бұрын
by the way this video is really edited
@colonelmdoge32482 жыл бұрын
What a great advertisement! I just realized all of my projects have every single variable as "for all sprites". Time to change that with the add-on :)
@villewedenberg27932 жыл бұрын
I love it! Scratch addons us really good, with them, you can also right click on a variable and click rename or edit and then you can make it for this sprite only! Also, I love the sound effects! It really makes the video fun! It was also fun to see in the outro your "Inventory" game! I will try make something like that, crediting you!
@griffpatch2 жыл бұрын
Yeah, that sounds great, have a go!
@Mman-te7pn Жыл бұрын
Since I’m learning about poems in school please add this into the book
@jfk_the_second2 жыл бұрын
I had no idea that your KZbin channel was such an upbeat place! The video felt a little over-edited (audio wise), but the same factor also made it very kid-friendly and easy to understand. Besides that, this video was overall a blast and of course, very useful.
@griffpatch2 жыл бұрын
I just wanted to try something a bit different :)
@KJPlayer2 жыл бұрын
i wish i could like this video twice, griffpatch you are so helpfull!
@Jroobelucios2 жыл бұрын
mad respect for the rhyming segment!!! 10/10 video yet again griffpatch! thanks for the awesome content!
@ulisescdp63652 жыл бұрын
Man, it shows that you know about this. All I can say for myself and for all scratchers is: thank you.
@surlo692 жыл бұрын
i would love to listen to a bedtime story told in griffpatch's soothing voice
@LackaDrones2 жыл бұрын
I've been watching you for ages and a did something I was quite proud of on Scratch, it's not public what I coded but it made me happy that just by watching your videos I coded by myself.
@griffpatch2 жыл бұрын
Sounds awesome! Well done
@Noompy2 жыл бұрын
i loved the beggining rhyme thing
@coffeebug2 жыл бұрын
i could fall asleep to griffpatch scratch poems
@conallcache2 жыл бұрын
I laughed at "5, HE DECLARED" 1:02
@splash73512 жыл бұрын
griffpatch i love your videos!!!! Also this video was so good because it really explained to me what the difference is between "For All Sprites" and " For This Sprite Only"
@JuliaSoeWin2 жыл бұрын
Thank you so much! I didn't know what the bug in my project was before I watched this video, and now I've finally fixed it thanks to you.
@griffpatch2 жыл бұрын
Awesome!
@StarBeam5002 жыл бұрын
Aside from my personal coding strategy, I think this video was very cool! It wad enjoyable and I learned some things even though I expected to just be going through stuff I already knew! Great job!
@griffpatch2 жыл бұрын
Glad it was helpful!
@TtEL2 жыл бұрын
To put this in spam email words: "Man discovers new revolutionary technique. Scratchers hate him!"
@griffpatch2 жыл бұрын
They do...?
@gmdrandom62872 жыл бұрын
Corrected: "MAN discovers new revolutionary technique. SCRATCH team HATES him!"
@TtEL2 жыл бұрын
@@griffpatch Hopefully not
@happy_chillz10 ай бұрын
I always use "For all sprites" just incase I need to transfer or use variables for different functions on different sprites, and I'd just use different variables labeled for different sprites.
@arckaaddaisop2 жыл бұрын
I was making a game and this kind of error took place and i thought i did everything wrong and gave up on it . if it was not for you i would have never countinued making my game . Thanks!
@tridentbloxd2 жыл бұрын
0:20 Once upon a time, griffpatch feeling so clever, began to code the most epic scratch project ever!
@Cricind46602 жыл бұрын
The video quality keeps getting better and better! Awesome :D
@BreadGaming249Ай бұрын
I didn't actually have this problem, just needed a background video, but I downloaded the Scratch Addons, and it's actually quite helpful! Glad I found it!
@bigbricks10032 жыл бұрын
I can tell griffpatch has increased his humor levels! Keep it up! :D
@MikaBoMS2 жыл бұрын
I didn't know about this addon, and it's been quite a fight to switch variables in big projects. So I can already see how useful this addon will be! Thank you, Griffpatch!
@griffpatch2 жыл бұрын
Glad I could help!
@karamjoud6769 Жыл бұрын
@@griffpatch but in your multiplayer tutorial as we add it at the platformer you said we should delete the cloud var from the stage but by that didnrt work :(
@chrimity2 жыл бұрын
Thank you griffpatch! I needed to do the exact opposite, I accidentally set "for this sprite only" instead of realizing that every sprite had to recieve the data of the variable.
@midpour Жыл бұрын
0:24 omg look at his notifications!
@Thatechoissoannoying2 жыл бұрын
Naturally, when a person finds a hack, when the creator finds out, he/she deletes it, but Griffpatch IS the crator
@nabarunsen87212 жыл бұрын
This is for the first time ever griffpatch so informal with sound effects and back story and all. Overall it felt like a complete different video. 😂
@griffpatch2 жыл бұрын
Yep, this was a special episode :)
@EndermanPierce2 жыл бұрын
i’ve been using scratch for years, yet it took me so long to realize that variables using “for this sprite only” apply to clones too, and i could give clones gravity easily if i just hadn’t used “for all sprites”.
Love the video! Every video you upload is very exiciting and knolageble. Thank you!
@funkyfreak28982 жыл бұрын
Griffpatch is genuinely good at writing rhymes.
@Yeetyok2 жыл бұрын
If you are still carrying on the tips on scratch series it would be amazing to go into detail about clone collisions. And also love the content!
@squash91899 ай бұрын
Griffpatch becoming Dr. Seuss was not something I realized i needed in my life
@yeit2 жыл бұрын
griffpatch:*shows scratch-addons* ipad scratchers knowing that they can’t get it:*visible sadness*
@griffpatch2 жыл бұрын
So sad
@dough67342 жыл бұрын
I love the rhyming at the beginning it was so awesome!
@griffpatch2 жыл бұрын
Yay, thank you!
@weegie33432 жыл бұрын
This is such a life saver! The sound effects are really effective!
@harasen_haras52 жыл бұрын
Man, I learned multiple things from this! I didn't know about the order Scratch runs scripts in. Mostly because I work my way around relying on it. I also didn't know about the way Scratch handles variable deletion inside sprites that aren't selected. Ironically, the part of the video I did know about was the Scratch add-ons.
@SsvbxxYT2 жыл бұрын
This was basically an ad for Scratch Addons, but it's so well-done, I don't even care.
@griffpatch2 жыл бұрын
Lol, really wasn't... It was more the clever scratch work around, but I still wanted to let people know about scratch addons too
@rerisok2 жыл бұрын
Griffpatch you're a life saver and that poem was actually really good Cant wait to see what You do next!
@McVincient2 жыл бұрын
You finally used Scratch Addons! 😂 (in your videos)
@AzidDrop5 ай бұрын
Thanks! I did a rename across projects and was a bit afraid. Now i have to do like 5 clicks!
@guodunhua2 жыл бұрын
this was really helpful😀
@wibble69662 жыл бұрын
Amazing video, griffpatch! You've helped me get better at coding in scratch with all of your videos.
@RaijdanProductions2 жыл бұрын
I love the sound effects! Keep doing them!
@KaydenAP2 жыл бұрын
I love the rhymes they're so unique!
@griffpatch2 жыл бұрын
He he
@KaydenAP2 жыл бұрын
@@griffpatch how long did it take to make the poem?
@The-EJ-Factor2 жыл бұрын
Once soon a time EJ was scratching about, he found a new exploit that he thought would work out, when he realized it failed he began to pout. So he decided used scratch add ons instead too, I guess he did exactly the same thing as you. :-)
@griffpatch2 жыл бұрын
Love it!!!
@The-EJ-Factor2 жыл бұрын
@@griffpatch thanks :-)
@hmg29032 жыл бұрын
I feel bad for you having to write 2 minutes of scratch based fairy tales.
@Tr0lliPop2 жыл бұрын
YES, THERE IS FINALLY A WAY! This is SUCH a life saver!
@dazcarrr2 жыл бұрын
one of the most interesting parts of scratch coding is working around the weird things scratch does
@griffpatch2 жыл бұрын
Yeah!
@squeakerboodle2 жыл бұрын
The fact that the beginning rhymes is the amazing
@bubbem2 жыл бұрын
This is definitely a helpful video and I found out that in turbowarp you actually can change it through there by right clicking on the variable and then chosing convert to "this sprite only". I wish scratch would just add this feature too.
@faretek35452 жыл бұрын
I think griffpatch was just telling us to get scratch add-ons already because it's so useful xD
@redspear007 Жыл бұрын
Another cool thing about having a variable set to "for this sprite only" is that it extends to individual clones, too. So, you can have 20 clones all with unique values, yet they all use the same variable. That is a very useful tool that I'm not sure many people realize.
@literallydoing44252 жыл бұрын
thanks for showing me this! It'll allow me to avoid making a x, y, and hp line in a list that becomes massive over time
@brothergodzilla2 жыл бұрын
2:09 Awesome story creator!
@Ilikepotatoes0672 жыл бұрын
*Loved it!* Hope you'll make more videos with similar format as this!
@pantallahueso2 жыл бұрын
This is a pretty good point to look at - one should probably default to “for this sprite only”, and only use “for all sprites” if they know they’re gonna need it elsewhere. And that’s for the same reason you want to avoid global variables if possible in pretty much any other programming language.
@sem49 Жыл бұрын
for me, i'd usually make a new variable type of health for my games, eg. player health and enemy health
@devanshlavania29312 жыл бұрын
I love it! I'd definitely be interested in seeing more add-ons.
@mykimnguyen1088 Жыл бұрын
Other sprite: Can I have you? Health (all sprites/variable): yes 0:41
@starterchar2 жыл бұрын
i only need to remember to create a "only for this sprite" variable but goodvideo i got the scratch addons extenttion now!! thanks
@oatedw2 жыл бұрын
this new editing style is awesome!
@theredmidgardian2 жыл бұрын
As a user of scratch addons I can say that all the settings make scratch so much easier. Especially the ctrl+space fast code :) Thank you!
@griffpatch2 жыл бұрын
My pleasure :)
@_coderizon2 жыл бұрын
really usefull add-on! Thank you griffpatch, it was informative and entertaining (poem) at the same time!