This man’s tutorials are really special, instead of him saying “do this and then this” he shows us how we could figure out solutions ourselves, which is really awesome.
He deserves the Nobel Prize, not only because the tutorial is good, but also because his way of teaching and charisma makes it enjoyable and relaxing to watch and execute. Griffpatch you are the best
Thanks, GriffPatch for the detailed tutorial. I was worried because i didn't leave a blank costume, but you explained that later on and that really helped me, thanks again.
I cannot stess enough how your videos help me so much, with things like this I always thought the coding must be so hard, I always wished I could have better looking variables but I thought it would be really hard to code, but, yet again, as always, you find a simple way of sloving these problems.
I think you should do (if ((length of (SCORE)) > [Max amount of number that can be shown]) repeat [max number] [script goes here] else repeat (length of (SCORE)) and in the first “when I start as a clone” after the costume is set do if ((length (SCORE)) > [Max number but minus 1]> set costume to (Glow-+) show variable SCORE [then place it under the numbers] so that if their score is higher than the max amount that can be shown they will know what their full score is and not think that it decreased
Tip: if you want the amount of digits shown to always be enough to display your score, then make a block, make sure it runs without screen refresh, then make a variable to display the amount of clones you have, put “change by 1” in your repeat loop that makes clones of the score thing after the “create clone of myself” block, then make a new, make sure you checked the “run without screen refresh” box, then duplicate the contents of the repeat loop into the block that says “define ”, then make a forever loop and put it on the “on start” event block, then put an “if length of score greater than ” statement in the loop, then put in it “”, then run the code and make sure it works and if so, you’re done!
Wow, I can't believe you make this with only 1/2 amount of blocks I used to make this and its even work more effectively when I don't need to delete all numbers when I want to add one more number like from 99 to 100
*Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, My blocks. My grandmother used to tell me stories about the old days, a time of peace when griffpatch kept balance between the scratchers. But all that changed when my stupidity attacked. Only griffpatch mastered all nine scratch blocks. Only he could stop the ruthless stupidity of mine, but when the world needed him the most, he vanished*
I would absolutely love to see a tutorial on "adaptive ai" in scratch, I know it will be a tough one to make and think through, but it is a topic I have interest in...
Your tutorials are really easy to follow and understand! Before seeing this I thought making one of these would way too hard for me. Thanks for the video!
This is great! If Scratch Lab text thing finally came to the normal Scratch, we would do this thing easy with some fonts. Though, thanks for the tutorial!
Fun Fact: Using a negative number spawns a 0 in front of the other numbers if for example, it is something like -123 would display as 0123. Also, There is no decimal point display if you set the number to something like 12.34. Perhaps in a future tutorial, there could be an explanation how to set these up?
Hi griffpatch. I don't know if you are reading this, but, could you make a tutorial for massive cloud multiplayer? Like your MMO platformer! I know that is needed to make each cloud variable to a group of 10 players, just for example, and then, with 8 cloud variables, you have 80 players! But how do we do that?
FYI If you want the numbers to align to the right, you just have to do two things: 1. Change the clones so that indices are opposite (4321 instead of 1234) 2. Instead of switching costume to (letter(index) of money), switch it to (letter((length of money - index) + 1) of money)
Thank you very much, I really needed this because I was making a platformer game in scratch so I needed this for my "Coins" Score so thank you and i also might use this for my clicker game too! so thank you very much i really appreciate it!
OMG 🙀 this is just an incredible idea to create tutorials that we can follow alone and in a serie 🔥 THANK YOU GRIFFPATCH ❤️😸 I'll join the membership soon 🎉 🍋
I'm making a trading game and to see how many resources the player has in their inventory, I didn't wanna use normal boring scratch variables. this is so helpful!! Now all I need to do is figure out how to assign them to each resource and make multiple of these...
If you’re wondering how to use this in your Lemonoids game then go to the “Lemon” sprite and in “Define Enemy Hit” put change score by 1 or how many you want it to change each time you shoot a lemon, you can also add change score 1 before the cloning system at the bottom of “Enemy Hit” so it only changes when you actually kill them.
Thank you griffpatch, Thanks to you i made a working, good-looking in-game currency system in my Devil May Cry fangame on scratch. It would be nice if you were to also show how to hide/show these numbers but i know how to do it myself, Just... for the unexperienced.
you can do as many digits as you can. Just put forever{ if (length of score) >(index - 1) then{ create cone of myself change index by 1 } } under the initialisation.
Another way to do the code is this: when flag clicked: forever: - (Custom Block) - Write Text: [text] at x: [x] y: [y] and set spacing to: [space] * Now in the Define block: go to x: (x) y: (y) set [variable] idx to 1 repeat (length of (text)): -switch costume to (letter (idx) of (text)) -create clone of myself -change x by (space) *
i am late but this actually helped me create my rhythm game, i updated it, but i cant do it since my scratch says that it cant be saved. so its still pretty bad, but thanks to you griffpatch, this made the game more better!!! thank you griff
when the world needed a Scratch tutorials channel, a person by the name of Griffpatch appeared and helped millions. what a great channel!
dont forget he is the first scratch tuber
@@Glainwats cap
My brother was
@@NoobmanDiaherra *proper scratch youtuber*
@@SomeoneCalledAdrian ok
This man’s tutorials are really special, instead of him saying “do this and then this” he shows us how we could figure out solutions ourselves, which is really awesome.
Great! Also, I can't wait for the 2-d procedural generation video. Griffpatch is destined to do revolutionary scratch coding yet again.
Yes ... I want to make minecraft 2D
Same.
He disserve 1 million subscribers
Maybe a 3d game for a series
@@beastmaster6945 he is almost there
He deserves the Nobel Prize, not only because the tutorial is good, but also because his way of teaching and charisma makes it enjoyable and relaxing to watch and execute.
Griffpatch you are the best
Thanks, GriffPatch for the detailed tutorial. I was worried because i didn't leave a blank costume, but you explained that later on and that really helped me, thanks again.
I cannot stess enough how your videos help me so much, with things like this I always thought the coding must be so hard, I always wished I could have better looking variables but I thought it would be really hard to code, but, yet again, as always, you find a simple way of sloving these problems.
I think you should do (if ((length of (SCORE)) > [Max amount of number that can be shown]) repeat [max number] [script goes here] else repeat (length of (SCORE)) and in the first “when I start as a clone” after the costume is set do if ((length (SCORE)) > [Max number but minus 1]> set costume to (Glow-+) show variable SCORE [then place it under the numbers] so that if their score is higher than the max amount that can be shown they will know what their full score is and not think that it decreased
Cube Creator 3D fan?
@@squixypixl ?
Ive needed to know this forever😂 Thank you Griffpatch!
Tip: if you want the amount of digits shown to always be enough to display your score, then make a block, make sure it runs without screen refresh, then make a variable to display the amount of clones you have, put “change by 1” in your repeat loop that makes clones of the score thing after the “create clone of myself” block, then make a new, make sure you checked the “run without screen refresh” box, then duplicate the contents of the repeat loop into the block that says “define ”, then make a forever loop and put it on the “on start” event block, then put an “if length of score greater than ” statement in the loop, then put in it “”, then run the code and make sure it works and if so, you’re done!
Thanks for the tip, really helpfull and cool. But i'm lazy and i'm just gonna finish this tutorial because i'm an almost at the finish.
or u can just put in the repeat loop to repeat lenght of score
but the big madness at 17:08 didnt work for me and i think it was bc of that so i changed it to (0-(((length of (score))/2)-((index)-(0.5))*((size)/2)
If you want the counter to work at any digits of number, just set the loop count to the length of counter.
Wow, I can't believe you make this with only 1/2 amount of blocks I used to make this and its even work more effectively when I don't need to delete all numbers when I want to add one more number like from 99 to 100
Wow I have been waiting to learn this for so long I am glad u made a tutorial on this😃
*Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, My blocks. My grandmother used to tell me stories about the old days, a time of peace when griffpatch kept balance between the scratchers. But all that changed when my stupidity attacked. Only griffpatch mastered all nine scratch blocks. Only he could stop the ruthless stupidity of mine, but when the world needed him the most, he vanished*
😂😂😂😂😂😂😂😂😂
LOL!
Omg i have seen these before and never knew how to do it and griffpatch came in and helped all of us
I would absolutely love to see a tutorial on "adaptive ai" in scratch, I know it will be a tough one to make and think through, but it is a topic I have interest in...
He he me too!
Cool!!
Yes, I'm Brazilian and I was inspired by this Channel @Universo Programado
ive been looking into machine learning on scratch, it would be epic to see griffpatch make a vid on it !
Even I want to really see an AI tutorial, so I can make some awesome projects of different creatures interacting!
if you set size to 0% rather than 100% in the setup custom block, you get a cool effect where the numbers pop up
true
100% true
I'm using this for a fnf game on scratch
@@paradox_225 fnf games are banned now
@@vidyav1925 why?
I was just going to make a number counter in my game using a list variable, but this is a whole lot simpler and arguably better
Other than the overlooked opportunity to use the ‘length of (input)’ variable, this was an amazing tutorial
What if I want to move the center aligned numbers more to the left?
I set my glowing font colors to rainbow and when they changed, they actually looked pretty cool, probably cooler than the light blue.
I also did that
omg hi mikey
I'm copying you lol
Your tutorials are really easy to follow and understand! Before seeing this I thought making one of these would way too hard for me. Thanks for the video!
yeah
This is great! If Scratch Lab text thing finally came to the normal Scratch, we would do this thing easy with some fonts. Though, thanks for the tutorial!
I hope they add that before 4.0 comes out
@@camelcam6008 YES
2 years later and I still found this helpful for my own clicker game! Thanks griffpatch.
Your videos are definitely worth a subscription. Good job 🙂
Found 🍋 at 3:28
Why scratch cat is holding it i wonder 🤔
Fun Fact: Using a negative number spawns a 0 in front of the other numbers if for example, it is something like -123 would display as 0123. Also, There is no decimal point display if you set the number to something like 12.34. Perhaps in a future tutorial, there could be an explanation how to set these up?
Easy, you just need costumes with a . And a - as the next character after the Glow-
@@griffpatch i got one bug
oops nevermind. That not a bug.
@@griffpatch you should make a tutorial on bigger numbers (since they can't fit on the screen) and change the counter to 1.35M (million)
@@griffpatch it keeps setting it to n.199999
Hi griffpatch. I don't know if you are reading this, but, could you make a tutorial for massive cloud multiplayer? Like your MMO platformer! I know that is needed to make each cloud variable to a group of 10 players, just for example, and then, with 8 cloud variables, you have 80 players! But how do we do that?
lots of encoding stuff
@@KashTheKingYT duhh
14:06 You should draw an Invisible Square around the Glow- costume...
FYI
If you want the numbers to align to the right, you just have to do two things:
1. Change the clones so that indices are opposite (4321 instead of 1234)
2. Instead of switching costume to (letter(index) of money), switch it to (letter((length of money - index) + 1) of money)
what? i dont get it sorry
This looks great, and I can’t wait to start coding. I’m always bored with the lame counter that Scratch defaults
Ah yes, Scrtahc. (sorry if i made fun it just made me laugh lol)
@@boxyanim8ion lol it’s okay I didn’t realise I was typing fast
The center aligning part REALLY helped me with a Pizza Tower Text Engine i'm making on Turbowarp! Thank you very much!
you made VERY GOOD videos that i even made TIMER using "THAT", not only that i used variables too BUT ITS TOO GOOD, YOU ARE GOD/MASTER OF SCRATCH
Thank you very much, I really needed this because I was making a platformer game in scratch so I needed this for my "Coins" Score so thank you and i also might use this for my clicker game too! so thank you very much i really appreciate it!
I would watch a whole series in a day if you made a project where you can make your own code. Like drag and drop or nodes, that control a character.
-scratch within scratch-
Those exist, thought extremely limited.
Wait, its just Scratch in Scratch?
@@weegeenumberone2 always has been
@@eteled6312 lol.
OMG 🙀 this is just an incredible idea to create tutorials that we can follow alone and in a serie 🔥
THANK YOU GRIFFPATCH ❤️😸 I'll join the membership soon 🎉 🍋
I´ll also join the membership soon!
@@amos9g 🎉🎉🎉🎉
@ 0 NO
S KAPPA FOR Z
I would do anything to have this guy as my teacher, man 😂
I love his tutorials!! They do help me understand Scratch better, tsym Griffpatch!
At 13:12 in the Score sprite, you said to set the x -180 you actually set it to -160.
I'm making a trading game and to see how many resources the player has in their inventory, I didn't wanna use normal boring scratch variables. this is so helpful!! Now all I need to do is figure out how to assign them to each resource and make multiple of these...
while this video didnt completely solve my problem it really helped. I got my number counter working :D
You explain your vids! No other Scratch YTbers do that! Thank You!
I used the center varible system for one of my games, this tutorial really helped me. Thanks Griffpatch! :D
Thank you Griffpatch! My number counter works and I already used it for my Scratch game.
I'm making a calculator using scratch and this has really helped so far with the calculated value.
You just saved my life! I have a headache from trying to remix a game!!!!
literally spent hours making numbers change manually because i lack coding knowledge, here you do it in no time...
18:18 got me laughing
“Tromkin”
i made a combo system and put this counter and it looks SO COOOOOOL
This guy is literally what every scratcher wants to be
I love that he is still here, and scratching on! This will come very handy, tysm griffpatch :] (btw I'm another scratcher.)
If you’re wondering how to use this in your Lemonoids game then go to the “Lemon” sprite and in “Define Enemy Hit” put change score by 1 or how many you want it to change each time you shoot a lemon, you can also add change score 1 before the cloning system at the bottom of “Enemy Hit” so it only changes when you actually kill them.
This actually worked you earned a sub
Griffpatch is the G.O.A.T of scratch programming
I searches for 10min and you learnt me like something random TNX soooo much
dude,thank you so much! i really needed that! You're helping us so much!
My pleasure!
Right on time this is what I was looking for thanks
Thank you griffpatch, Thanks to you i made a working, good-looking in-game currency system in my Devil May Cry fangame on scratch. It would be nice if you were to also show how to hide/show these numbers but i know how to do it myself, Just... for the unexperienced.
"Hello fellow Scratchers" never gets old :)
I used the Hide and Show method instead of the blank costume method but still worked either way :)
you can do as many digits as you can. Just put
forever{
if (length of score) >(index - 1) then{
create cone of myself
change index by 1
}
}
under the initialisation.
Good score griffpach! I will give you a like!
When i searched how to do this i was so glad there was a griffpatch tutorial on it
griffpatch isn't just revolutionary he's legendary
3:28 scratch cat is making lemonade 😂😂
wow 3:28 The cat is hold the lemon lol
your tutorials are sooooo easy to understand i learnd sooo much THX
i dont know what i am doing wrong but the counter changes positions when the score changes, and it isnt centered like half of the time
you can simplify the code a bit by renaming the costumes without the "glow-" and removing the "Join Glow-" blocks.
This helped me make an engine! Thanks griffpatch!
FYI for negative numbers make sprite Glow- - and then make a box with a blue outline
Another way to do the code is this:
when flag clicked:
forever:
- (Custom Block) - Write Text: [text] at x: [x] y: [y] and set spacing to: [space]
*
Now in the Define block:
go to x: (x) y: (y)
set [variable] idx to 1
repeat (length of (text)):
-switch costume to (letter (idx) of (text))
-create clone of myself
-change x by (space)
*
ANIMATE PART SAVED MY LIFE!!!!!!!!!
You always make me laugh when you say "'Whoops!'' and thank you so much for making this tutorial 👍👍👍👍👍👍👍👍😍😍😍😍😍
3:28 the lemon! 🍋 🐈
me: hates maths but loves scratch
also me when doing griffpatch tutorial: math has no limits
I use Backpack to save all the Sprite you given in the space shooter and copy it. thank you griffpatch
“click that cat” killed me 💀
Oh my god! Thank you so much! You are a lifesaver and honestly my favorite scratch youtuber!
Griffpatch is the explaining master ngl
thx griffpatch! ur the best scratch youtuber on the platform!
3:28 LEMON ALERT!!! HIDE INTO YOUR LEMON BUNKER NOW!
Hi Griff Patch! I have one Question. Why do we can't position this number counter and can't size it any how do we want?
Griffpatch: "I'll try -180.."
also griffpatch: *puts down -160*
This is so helpful! I use this in EVERY project now!
Thank you griffpatch! now Im gonna use this nunber counter... I mean the AWSOME number counter!
5:15 honestly I am very intrigued in how you come up with the excellent solutions
10:29
griffpatch: are we done? no no no no
me: yes yes yes (well for me)
I just typed the costumes for 1 to 100 and NOW UA-cam recommends me this. Anyways thanks for the help!
You saved me Griff patch thx for the tutorial ❤
Really Cool! maybey you can find a way to get rid of other scratch things such as the ask and wait funtion
Thanks Griffpatch for this Tutorial, now i can use this for my Scratch cat clicker game ;)
though hate math its worth it🤷♂:)
and once my game is done ill give you my game scratch link
why don't you have 100mil subs? you deserve it!
I play your games all the time and I have to say, they are pretty good
When my game needed Epic counters most Griffpatch was hear to help
13:58 Maybe there's another way. Like before the forever loop in the when i start as a clone, add a set size by!
Thank you! This is really useful for my games! And also. I like the animation you made for the numbers!
Thanks!, I used to display battery on my ipad/tablet in scratch !
i am late but this actually helped me create my rhythm game, i updated it, but i cant do it since my scratch says that it cant be saved. so its still pretty bad, but thanks to you griffpatch, this made the game more better!!! thank you griff
Thank you griffpatch it helped me a lot!!!
Thanks! Now my game looks alot better!
thanks so much for the great tutorial again ! first engine and tutorial where i can actually understand what i make !