If you hide the actual sprite by putting the "hide" below the "when flag clicked", create the condition "when i start as clone" and put "show" below it, it'll fix the bug! Just change again the spacing back to 2 :)
YOU ARE A GENIOUS!!! That explains why it wasn't a problem for me in my original project, the sprite was hidden LOL - So! Simply hide the sprite before running the letter sizing scripts and it all work perfectly, thanks so much and well done!
griffpatch, i can't stress enough how much of a genius you are. honestly, you're the whole reason i got into programming in the first place. you always find clever ways to fix bugs, rather than what seems to be the easiest, most obvious way (which often ends up with more bugs). good on you, keep being awesome. :)
This man would be an absolute beast at stuff like escape rooms. Because at the end of the day, programming is just problem solving. Even simple programming languages like Blockly which has a visual syntax really does have endless possibilities. People like griffpatch just keep discovering these possibilities. Quite an impressive feat I must say
Hey, I just want to say that your scratch projects were my childhood. Many years ago, my school would use scratch as a coding platform and I would often play scratch projects at home as well! Your games (the ones I can remember from the top of my head (paper minecraft, scratcheria and ball physics), I was so amazed by how you could do this on such basic code, yet I couldn't recreate anything no matter my efforts... Thank you for everything!
same lol i remember scratch getting blocked at one point because they thought it was educational (it is) but the people at my school used it to just play games or as a music player
When my school account was deactivated, I struggled to regain my motivation because of all the work I lost. Thankfully, my favorite game I was making I had downloaded the code. Thanks to you, I found the motivation to continue my game. If I end up finishing it, I think it’ll be amazing!
@@alfredd56 it’s still not released yet. It’s gonna be a whiiiiiile. I’m having to take a break rn to work on other projects for school but I will get back on it soon!
Can we just appreciate the fact that he agrees to descend into madness just so we know how to import fonts to Scratch in three different ways and actually shows how to do it instead of just explaining it?
I'm a graphic design/typography nerd, so seeing griffpatch cover a topic in the exact vein of what I do for fun is so cool. this might be my favorite griffpatch tutorial lol, definitely going to try this out
I love the LOTR stuff/quotes at the beginning 😆 Really cool code that you write and I think it's so nice and generous that you share it with us! Thanks for this tutorial!
Wow, I can't imagine all the time and effort you put into making this video, I shuddered myself at the thought of having to split up 91 characters by hand! Luckily, you setup TWO (just imagine, TWO) font assets, so you had to do the work twice. That shows how dedicated you are to Scratch coding. Keep up the great work griffpatch!
By the way, if you're making your own font or using scratch defaults, colour the costumes red. this makes it easier to make the text a different colour. And if you ever want, you can make the text black using a "set [brightness] effect to ( -100 )".
That's some clever trickery using the edge collisions. I was guessing that you'd create a vertical bar at the center and slide the costume left and right until a hit was detected. But the edges allow for easier math and a few fewer steps. Nice!
I love learning, and its always excites me if its from you griffpatch. What I learned here was: - Tricky way to find the width (and height) of the costume by using code (very useful in these kind of projects) - Get the last costume by putting "round (0)" block (simplified version)
YES!! the second I woke up and saw this I left everything that I was doing and started scratching! it's so fun seeing every time the new video you make' it really brings this platform life! thank you for making this video and I can not WAIT for part 2!
for cutting sprite sheets up steps 3 and 4 can be merged to one, instead of copy then delete, you can do [ctrl+X] to cut it (as in copy and delete). that can save you a bit of time that will surely add up :)
Yet Another griffpatch mastermind. Even if the video is large, it is very helpful. I really like your dedication in making this video, and I'm glad to see your channel growing big
Heya Griffpatch! Awesome tutorial! This really helped me out with making my games on Scratch! I have been very inspired by your tutorials for as long as I can remember lol! I wish to someday be hooked with coding as well :D
Thanks Griffpatch! I developed a different method that makes it infinitely easier to separate the fonts: In Inkscape, you can convert text to path which separates each letter path as a separate object. Then you can export them all as individual svgs which can them be imported into scratch (at which point it is the same process as the native scratch fonts.
I don't know if you mentioned it but the font that has Mono in their name means that all letters have the same width, which can ease a lot of the calculations and can help if you want to know how many characters fits on a line of dialogue
Please stop giving such helpful information! I lie awake at night unable to sleep, all because you told me how to find the meaning of life in scratch with 5 simple steps.
You can easily set the size or position to anything by switching costumes. If you switch to a 0x0 costume, you can set it size to anything more than 100, even Infinity. Then switch back. With size infinity, you can go to anywhere, even (infinity, infinity) but a strange quirk is that the sprite can't be seen, even in show mode. You can also get size 0 by zooming out the actual web page to make a tiny canvas, draw an abnormally large costume. This lets you make size 0 and size 1. For sizes 2 - 100, find a costume that works. It's relatively big, but definitely doable. This is what I use when making intros (usually in pen nowadays) and it helps with camera control and not needing to clip points. However, when the sprite is offscreen, collisions are always false, but you can use turbowarp to fix that. Also, someone called wolther made an insane intro for you in mostly pen, but I don't think you checked it out! I would recommend it, but also you're welcome for some happy scratch wisdom, just like how you share it with us!
One way to separate the letters that might be faster (haven't tried it) would be to first make and name enough blank costumes for each letter ahead of time below the starting costume. Then with the starting costume, select the everything except for the last letter in the line, copy and delete or ctr-x, move to the next costume and paste. Then repeate, slowly working your way down through the blank costumes you made ahead of time leaving behind a trail of the appropriate letters. I find usually with long repetitive tasks like this, it speeds things up to divide the task into individual steps that can be each be done over and over separately conveyer belt style.
34:21 😂 No-one Is Gonna Talk About How Mr. Griffpatch Said “AND WE DONT HAVE NO SPACE CHARACTER BOYYY”, I Love This Channel! It Inspired Me To Do Scratch And Programming! You Are A Absolute Genius And Cool Person! Soon You'll Be A Celebrity For Your Awesome Skills. 💕✨
Amazing, I love how all your tutorials can be used in other cases, for example I made a raycasting engine in python thanks to your videos. Had to add DDA algorithm to keep it fast enough for textures in the end. Please keep up the amazing work.
Wow, I made a text engine using the width detection already, but I can't wait to see how many cool things I missed! Actually, I have to wait, because I am kinda busy making projects, but this is still so exciting!
Excellent! Some great time-saving tips here.. Getting all the costumes and aligning them and setting the widths is the MOST time-consuming process... :O
Man look what you spend for us! you really love making scratch tutorials like you spend lot of hours to edit your videos but for making that video. man it's a really crazy time thank you so much for these tutorials griffpatch. also i made a google font roboto by myself to put use already done
Very useful tutorial, Griffpatch! Now I don't need to backpack the published backpackable text engine projects 🤣 I can't wait to see which tutorial you will bring us next! (Also impatient for the RPG next devlog and possible tutorial 😃)
Suggestion, always make your font color in the sprites red - completely full saturated red. Then you can use the change color block before cloning or stamping and have multiple text colors.
@@-CookieDev- it's just as complicated as doing it in CSS or HTML as far as i know. You gotta make each individual letter a different color in that word; but if there's another way i don't know about, which there probably is, i'm all ears
Hey griffpatch! I've found that stampting the costumes instead of cloneing them helps a lot if you are worried that there will be to many clones on screen. The only downside is that stamps go to the very back layer every time but its still quite handy! Maybe a tutorial on that would be handy for some people!
Griffpatch, your the best scratch youtuber, and something about making the code yourself instead of copying it, is so fun, trying to deal with the bugs is just fustrating but also fun, ive been subscribed for aabout a year or more now, love your tutorials griffpatch ❤
3:00 it's best to make them red so you can customize what color they're gonna be for special text and you can decrease the brightness to make them black
@@ErisCalamitasButFR yea, but he can make more info and more materials for the viewers if its long and so can people learn more in one video. and i think he have a voice to talk self! ;)
Hello! I have an issue. At 28:13 , every time I run the calculate letter sizes the _offset x is always a bunch of 1's and -1's, and I've tried re-doing the code multiple times but nothing worked. Could anyone please let me know how to fix this?
I found a way to fix the alternative step on the video! Timestamp: 5:58 To fix the problem with VERY LARGE IMAGES that can't fit into scratch... You can use an alternative 3rd party engine TurboWarp! All you need is to resize the screen to the Resolution to the image size (or larger), and then Upload it on the costumes editor! And do the similar steps to the alternative step that Griffpatch uses. Or... You can split the letters to separate images yourself using an Offline Paint Tool. Put them to a folder, select all of the hard work files you've done... And put them to the costumes editor! BONUS: If you don't want to do these steps I said, you can do the same thing from the alternative step! But with a twist... You can use an Offline Paint tool, and then resize the image using the paint tool! Yeah I know, I'm a big nerd putting all of this 🤓
FINALLY, A VIDEO ABOUT TEXT ENGINES! I was trying to make a text engine myself and it work if I type in each line for each block. But when I tried to make a code that will arrange itself into lines, it wouldn't work.. :( THIS VIDEO WAS PERFECT TIMING AS I WAS RUNNING OUT OF IDEAS ON HOW TO MAKE IT WORK And this text engine made the it even better! THANK YOU GRIFFPATCH! HOPE TO SEE EVEN MORE TUTORIALS!
Reminder that if your turning off fencing for a Turbowarp game or something, you could most likely not be it the left with fencing off, use a block to set the x to that number, then just use it instead of -9999 in the x
Hello Griffpatch! Thank you for teaching us tricks and teaching us how to make cool scripts! You have charisma and humor. Cool montage! You are interesting to listen to. I am glad that there are such people who will help us in something, even fulfill our dreams, for example, finally fix a bug in our project. Thank you again and good luck! Keep it up! ;)
Costume case sensitivity is in fact one of the few good ways to read case-sensitive text. The alternatives are: 1. Sprite names. 2. Sound names. 3. *ENGLISH* Pen effect names, limited to 16 letters: abceghilnoprstuy. Note that your editor language settings do not affect Scratches' internal use of English variable names. 4. *ENGLISH* video setting names. However, any incorrect input will just set the last value on the list. So setting video to "off" sets it off, but setting video to "OfF" sets it on flipped. Any string besides "motion" checks the direction, etc. This is different from the way pen settings work. 5. The spoken text in text to speech. Changes the output and output length in a predictable way. Notably, the actual spoken languages are case insensitive and language insensitive, you can use the Spanish word "Árabe" to set it to pronounce Arabic for example. The voices are truncated numbers modulo'd into the 1-5 range, not controlled with strings at all. 6. Translated text. Some strings translate case-sensitively into some languages. It's kinda difficult to predict but it does seem consistent. The translation languages are case-insensitive and language insensitive. You can type "árabe" with your language setting set to English and get it to recognize the Spanish word for arabic and translate it into that. Any variation of the word "Herzigovina" which has different capitalization than shown will not be equal to it when translated into Spanish, for example, but they are equal when translated into English, even though they retain their capitalization. 7. Some of the makey makey and robotics stuff might be, but, well, I'm on a phone and don't have those things. Overall, none of those are great options compared to costume. Essentially all are more effort or slower.
i figured out a different way to import custom fonts then what you might've mentioned. 1. find the font you want (whether it be a google font or something font) but not as a spritesheet, but as a .ttf file, and download it (if you want to use it for personal uses outside of scratch you can install it if you're not on a chromebook). 2. find the scratch/turbowarp mod called "penguinmod", and go into its project editor. 3. go into the text editor, select any of penguinmod's fonts or click "add more fonts". 4. import the font you chose, and do the stuff mentioned in the "default scratch fonts" methods. 5. (optional), make the letters bitmap images so they can carry over to scratch, if not they'll default to a backup font, but scratch can sometimes properly use the fonts.
Four hours. Well done on the optimisation and time saving here. Scratch workarounds are fun. It is better to add spacing when drawing text instead of before.
Hello griffpatch, with help of your tutorial i made my own engine :D. It uses some of your programming but most of it is mine. I spent like 1 hour on it. The reason was beacuse the _Offset list didnt work. So yeah. Also i dont really know if you did this or not but i made it so it removes all spaces! so now i can rest in peace knowing that my 12 letter sentance "Hello world!" is not just 11 clones.
You don't need to directly import the font sprite sheet into scratch, just import your project to turbowarp, use a sprite sheet cutter to cut every one of the letters, import all of them at once in turbowarp and them you can import your project back into scratch.
I found a way around the process of creating letters, just get a gif of letters and symbols, import, and its automated, and you could just make an alphabet of letters and symbols in a list accordingly to the costumes letter or symbol, the list can index that costume.
I never knew you could use round(0) to get to the last costume! Helps a lot, since my project really needs it for looping through all costumes. I'm making a game where the project needs to make prefixed animations.
"*sigh* this rally is a marathon." me, following the same 6 steps 38 different times, then realizing I have to do it 26 more times: me after finishing realizing he added an easier way to do it:
If you want your font spacing to automatically adjust to the font size, just give it a little maths. If a font size of 200% means 2 pixels of space look good, that's the same as (size)/100. My font costumes are much larger than Griffpatch's, so I had my size set to 50% and 2 pixel spacing looked good. So my spacing is (size)/25. I put it through a floor() block to make sure it's still integers, but it works great for all font sizes!
20:15 my guess is that you might have another sprite go to the far left of the letter and then move 1 pixel to the right until it isn't touching the letter. then, it'll record how far it moved and that'll be the lenth of the letter.
Hey griffpatch since you are great at scratch and almost know everything about it, I have a question. Why is there a vector mode and bitmap mode for the sprite editor? Also you're videos are so funny 🤣🤣 I always have a laugh when your videos pop up such a great video keep it up!
Depending on the external editor it can actually be easier than dealing with scratch editor. Not to mention better autosave. To move in a straight line, you have to start dragging _before_ your press shift. Maybe we _should_ make a spritesheet here, but you would need a way to crop it in scratch without making multiple costumes. Though _it is_ called (from) _scratch._
This would've been SO helpful when I was trying to make a visual-novel-type thing the other year!!! .........guess who's picking back up a project thought long deaddddd
If there's a website that turns fonts into GIF's, then it would work for scratch because when you upload GIF's by using the "import sprite" option, each frame is saved as an induvidual costume!
I'm shocked that this was only uploaded less than a week ago lol. This combined with the release of your RPG tutorial vids could not have more perfect timing, as I'm working on one myself! Also, it's too late now, but it might've been useful to mention how making the letters red will help people later on as brightness and colour effects can be changed. Otherwise though, great video.
HEY! I FOUND OUT A WAY TO FIX THE SCRATCH SIZE CALCULATION BUG!
(That works only by using clones)
If you hide the actual sprite by putting the "hide" below the "when flag clicked", create the condition "when i start as clone" and put "show" below it, it'll fix the bug! Just change again the spacing back to 2 :)
YOU ARE A GENIOUS!!! That explains why it wasn't a problem for me in my original project, the sprite was hidden LOL - So! Simply hide the sprite before running the letter sizing scripts and it all work perfectly, thanks so much and well done!
amazing
@@minegreg-official you could also use one clone to stamp it I think
griffpatch, i can't stress enough how much of a genius you are. honestly, you're the whole reason i got into programming in the first place. you always find clever ways to fix bugs, rather than what seems to be the easiest, most obvious way (which often ends up with more bugs). good on you, keep being awesome. :)
This man would be an absolute beast at stuff like escape rooms. Because at the end of the day, programming is just problem solving. Even simple programming languages like Blockly which has a visual syntax really does have endless possibilities. People like griffpatch just keep discovering these possibilities. Quite an impressive feat I must say
No one can stress how much of a genius griffpatch is
So true my man so true
Hey, I just want to say that your scratch projects were my childhood. Many years ago, my school would use scratch as a coding platform and I would often play scratch projects at home as well! Your games (the ones I can remember from the top of my head (paper minecraft, scratcheria and ball physics), I was so amazed by how you could do this on such basic code, yet I couldn't recreate anything no matter my efforts... Thank you for everything!
That is awesome! Thanks for sharing :D
SameMan
yea same
Not able to type and duplicate lowercase letters
same lol i remember scratch getting blocked at one point because they thought it was educational (it is) but the people at my school used it to just play games or as a music player
When my school account was deactivated, I struggled to regain my motivation because of all the work I lost. Thankfully, my favorite game I was making I had downloaded the code. Thanks to you, I found the motivation to continue my game. If I end up finishing it, I think it’ll be amazing!
I'd play that :D
What's the game called?
@@alfredd56 it’s still not released yet. It’s gonna be a whiiiiiile. I’m having to take a break rn to work on other projects for school but I will get back on it soon!
@@Aria_the_elfpls alert us when it’s done
@@Aria_the_elf i would like to be alerted when its done
Can we just appreciate the fact that he agrees to descend into madness just so we know how to import fonts to Scratch in three different ways and actually shows how to do it instead of just explaining it?
I'm a graphic design/typography nerd, so seeing griffpatch cover a topic in the exact vein of what I do for fun is so cool. this might be my favorite griffpatch tutorial lol, definitely going to try this out
CoolScratcher in the wild
I love the LOTR stuff/quotes at the beginning 😆 Really cool code that you write and I think it's so nice and generous that you share it with us! Thanks for this tutorial!
Thank you so much!
per 2
Wow, I can't imagine all the time and effort you put into making this video, I shuddered myself at the thought of having to split up 91 characters by hand! Luckily, you setup TWO (just imagine, TWO) font assets, so you had to do the work twice. That shows how dedicated you are to Scratch coding. Keep up the great work griffpatch!
By the way, if you're making your own font or using scratch defaults, colour the costumes red. this makes it easier to make the text a different colour. And if you ever want, you can make the text black using a
"set [brightness] effect to ( -100 )".
and use the color effect to make other colors?
I never thought of that but that is actually really helpful
Ill keep that in mind for the next time i need to use a text engine
Genius
but sadly you cannot do saturation :(
That's some clever trickery using the edge collisions. I was guessing that you'd create a vertical bar at the center and slide the costume left and right until a hit was detected. But the edges allow for easier math and a few fewer steps. Nice!
Nice yes, that was an option... But this turned out better :)
quick question how did you say that 13 hours ago when it came out 3 hours ago
@@MSPlaysGamesOfficial good question
@@MSPlaysGamesOfficial ohh it’s probably because there a Chanel member
Member
I love learning, and its always excites me if its from you griffpatch. What I learned here was:
- Tricky way to find the width (and height) of the costume by using code (very useful in these kind of projects)
- Get the last costume by putting "round (0)" block (simplified version)
Thanks for sharing!
YES!! the second I woke up and saw this I left everything that I was doing and started scratching! it's so fun seeing every time the new video you make' it really brings this platform life! thank you for making this video and I can not WAIT for part 2!
for cutting sprite sheets up
steps 3 and 4 can be merged to one, instead of copy then delete, you can do [ctrl+X] to cut it (as in copy and delete). that can save you a bit of time that will surely add up :)
Yet Another griffpatch mastermind. Even if the video is large, it is very helpful. I really like your dedication in making this video, and I'm glad to see your channel growing big
Thank you very much!
I Like How griffpatch would sacrifice his energy just to give us an awesome scratch tutorial, keep up the good work
so true
Heya Griffpatch! Awesome tutorial! This really helped me out with making my games on Scratch! I have been very inspired by your tutorials for as long as I can remember lol!
I wish to someday be hooked with coding as well :D
Thanks Griffpatch! I developed a different method that makes it infinitely easier to separate the fonts: In Inkscape, you can convert text to path which separates each letter path as a separate object. Then you can export them all as individual svgs which can them be imported into scratch (at which point it is the same process as the native scratch fonts.
thank you griffpatch for the effort you put in the videos you are the best scratch tutorial maker i have ever seen
I don't know if you mentioned it but the font that has Mono in their name means that all letters have the same width, which can ease a lot of the calculations and can help if you want to know how many characters fits on a line of dialogue
Pretty sure that it means that the letters are the same height.
@@scratchcoder9999 no, it doesn’t.
@@FlummoxTheMagnificent Ok
Nice, I learnt 2 new facts about fonts today!
Please stop giving such helpful information! I lie awake at night unable to sleep, all because you told me how to find the meaning of life in scratch with 5 simple steps.
Lol
@@griffpatch hahahaha
they were 9 tho
Thank you too much griffpatch!
You are the best scratcher I have ever seen!
This is nice way to display text.
You can easily set the size or position to anything by switching costumes. If you switch to a 0x0 costume, you can set it size to anything more than 100, even Infinity. Then switch back. With size infinity, you can go to anywhere, even (infinity, infinity) but a strange quirk is that the sprite can't be seen, even in show mode. You can also get size 0 by zooming out the actual web page to make a tiny canvas, draw an abnormally large costume. This lets you make size 0 and size 1. For sizes 2 - 100, find a costume that works. It's relatively big, but definitely doable. This is what I use when making intros (usually in pen nowadays) and it helps with camera control and not needing to clip points. However, when the sprite is offscreen, collisions are always false, but you can use turbowarp to fix that. Also, someone called wolther made an insane intro for you in mostly pen, but I don't think you checked it out! I would recommend it, but also you're welcome for some happy scratch wisdom, just like how you share it with us!
Written on phone by the way! Lol
One way to separate the letters that might be faster (haven't tried it) would be to first make and name enough blank costumes for each letter ahead of time below the starting costume. Then with the starting costume, select the everything except for the last letter in the line, copy and delete or ctr-x, move to the next costume and paste. Then repeate, slowly working your way down through the blank costumes you made ahead of time leaving behind a trail of the appropriate letters.
I find usually with long repetitive tasks like this, it speeds things up to divide the task into individual steps that can be each be done over and over separately conveyer belt style.
34:21 😂 No-one Is Gonna Talk About How Mr. Griffpatch Said “AND WE DONT HAVE NO SPACE CHARACTER BOYYY”, I Love This Channel! It Inspired Me To Do Scratch And Programming! You Are A Absolute Genius And Cool Person! Soon You'll Be A Celebrity For Your Awesome Skills. 💕✨
This is the most AWESOME Text Engine with really simple codes I have ever seen!!
Amazing, I love how all your tutorials can be used in other cases, for example I made a raycasting engine in python thanks to your videos. Had to add DDA algorithm to keep it fast enough for textures in the end.
Please keep up the amazing work.
Haha clever lol
griffpatch screaming into my ear BOOOOOOOOOOOOOOOOOOOM made my day ngl
Wow, I made a text engine using the width detection already, but I can't wait to see how many cool things I missed! Actually, I have to wait, because I am kinda busy making projects, but this is still so exciting!
Actually, I made it after your community post about this tutorial, so I wanted to see if I could make it before your video came out.
Me Hard Work A B C D E F G H I
Excellent! Some great time-saving tips here.. Getting all the costumes and aligning them and setting the widths is the MOST time-consuming process... :O
Glad it was helpful!
Man look what you spend for us! you really love making scratch tutorials like you spend lot of hours to edit your videos but for making that video. man it's a really crazy time thank you so much for these tutorials griffpatch. also i made a google font roboto by myself to put use already done
I love how he actually goes through his comments and cares about his audience.
I do!
Hi griff
@@klaudiasylwia737 replying to a griffpatch comment will not increase the chances of griffpatch responding
He’s the only UA-camr ever to do that lol
Griffpatch is a great expert of Scratch that he can literally make anything that that comes out his mind and imagination. Keep up the great work!
Very useful tutorial, Griffpatch! Now I don't need to backpack the published backpackable text engine projects 🤣 I can't wait to see which tutorial you will bring us next! (Also impatient for the RPG next devlog and possible tutorial 😃)
You and me both!
Just followed this. Can't say I feel any better about my coding performance, but I definitely feel at least marginally smarter for it.
Suggestion, always make your font color in the sprites red - completely full saturated red. Then you can use the change color block before cloning or stamping and have multiple text colors.
THANK YOU SO MUCH OMG
but how do you make a whole sentence different colored at different points??
@@-CookieDev- it's just as complicated as doing it in CSS or HTML as far as i know. You gotta make each individual letter a different color in that word; but if there's another way i don't know about, which there probably is, i'm all ears
Griffpatch deserves more than 1M subscribers !Keep up the work :D
Maybe another week, you could do a tutorial on a box physics engine. I feel a lot of people would love to see that!
this is very cool
edit: after seeing the font spliting im glad to have an already split font from last year
Hey griffpatch! I've found that stampting the costumes instead of cloneing them helps a lot if you are worried that there will be to many clones on screen. The only downside is that stamps go to the very back layer every time but its still quite handy! Maybe a tutorial on that would be handy for some people!
Solve that by stamping every other sprite too... lol
To quote what I recently sent on Scratch Forums: If stamping doesn't work, just stamp more!
Griffpatch, your the best scratch youtuber, and something about making the code yourself instead of copying it, is so fun, trying to deal with the bugs is just fustrating but also fun, ive been subscribed for aabout a year or more now, love your tutorials griffpatch ❤
4:52 The good thing about this is that the numbers automatically change their name to it’s number
I LOVE THIS TUTORIAL! At first I got to the Bitmap Font Asset. Thanks for this tutorial!
3:00 it's best to make them red so you can customize what color they're gonna be for special text and you can decrease the brightness to make them black
Thanks i will use that
Quite right - I did have that in my original script, but I had to cut back due to running length
@@griffpatch but why you dont want have a big length on yours videos?!
@@allabarnprogramochlitesmat3545 they're already fairly long, and having a video close to one hour just for a tutorial might be tedious for the viewer
@@ErisCalamitasButFR yea, but he can make more info and more materials for the viewers if its long and so can people learn more in one video. and i think he have a voice to talk self! ;)
Thanks Griffpatch! This worked for very well! Your hard work has truly paid off!
Hello! I have an issue. At 28:13 , every time I run the calculate letter sizes the _offset x is always a bunch of 1's and -1's, and I've tried re-doing the code multiple times but nothing worked. Could anyone please let me know how to fix this?
34:18 kinda got me there XD
bro your scratching is so good and what makes it even better is that you make it fun and funny :D
awesome job
I am a bit sick and I am woching you for my video time
Sorry to hear that :) - Hope you feel better soon
@@griffpatch thanks and I will make a amzing game with........this totorrell
Thanks for helping me make Sneaky Sasquatch!
I found a way to fix the alternative step on the video! Timestamp: 5:58
To fix the problem with VERY LARGE IMAGES that can't fit into scratch...
You can use an alternative 3rd party engine TurboWarp!
All you need is to resize the screen to the Resolution to the image size (or larger), and then Upload it on the costumes editor! And do the similar steps to the alternative step that Griffpatch uses.
Or...
You can split the letters to separate images yourself using an Offline Paint Tool.
Put them to a folder, select all of the hard work files you've done... And put them to the costumes editor!
BONUS:
If you don't want to do these steps I said, you can do the same thing from the alternative step! But with a twist...
You can use an Offline Paint tool, and then resize the image using the paint tool!
Yeah I know, I'm a big nerd putting all of this 🤓
FINALLY, A VIDEO ABOUT TEXT ENGINES!
I was trying to make a text engine myself and it work if I type in each line for each block. But when I tried to make a code that will arrange itself into lines, it wouldn't work.. :(
THIS VIDEO WAS PERFECT TIMING AS I WAS RUNNING OUT OF IDEAS ON HOW TO MAKE IT WORK
And this text engine made the it even better!
THANK YOU GRIFFPATCH! HOPE TO SEE EVEN MORE TUTORIALS!
Part 2 is in the works and it's going to do some awesome text wrapping
@@griffpatch Can't wait! :D
Reminder that if your turning off fencing for a Turbowarp game or something, you could most likely not be it the left with fencing off, use a block to set the x to that number, then just use it instead of -9999 in the x
I am subscribed and I am obsessed with your games I have done almost all your tutorials on Scratch
I feel so bad you had to write this much characters just for a video
So do i
I'm never GONNA stop coding because of you
Tbh I wouldn't be surprised if griffpatch could make a scratch in scratch and it would be a perfect duplicate . MASTER OF SCRATCH
I used this tutorial just to get a fancy font for my games UI. Thanks buddy :)
Hello Griffpatch! Thank you for teaching us tricks and teaching us how to make cool scripts! You have charisma and humor. Cool montage! You are interesting to listen to. I am glad that there are such people who will help us in something, even fulfill our dreams, for example, finally fix a bug in our project. Thank you again and good luck! Keep it up! ;)
You're very welcome!
@@griffpatch Wow. you answered!
@@griffpatch I'm glad you answered me. You have a large audience base on Scratch.
we can find many ways to solve many problems in scratch, but you show us the best and the easiest❤
Glad you think so!
Cool! I noticed that sans-serif is French!❤❤❤
Wow, you are indeed a coding master
Griffpatch is the smartest scratcher 🎉 thx for all the tutorials i needed it for my programming with scratch course
Nice! There is a lot of games and great projects this can make. You are a great coder griffpatch
Costume case sensitivity is in fact one of the few good ways to read case-sensitive text. The alternatives are:
1. Sprite names.
2. Sound names.
3. *ENGLISH* Pen effect names, limited to 16 letters: abceghilnoprstuy. Note that your editor language settings do not affect Scratches' internal use of English variable names.
4. *ENGLISH* video setting names. However, any incorrect input will just set the last value on the list. So setting video to "off" sets it off, but setting video to "OfF" sets it on flipped. Any string besides "motion" checks the direction, etc. This is different from the way pen settings work.
5. The spoken text in text to speech. Changes the output and output length in a predictable way. Notably, the actual spoken languages are case insensitive and language insensitive, you can use the Spanish word "Árabe" to set it to pronounce Arabic for example. The voices are truncated numbers modulo'd into the 1-5 range, not controlled with strings at all.
6. Translated text. Some strings translate case-sensitively into some languages. It's kinda difficult to predict but it does seem consistent. The translation languages are case-insensitive and language insensitive. You can type "árabe" with your language setting set to English and get it to recognize the Spanish word for arabic and translate it into that. Any variation of the word "Herzigovina" which has different capitalization than shown will not be equal to it when translated into Spanish, for example, but they are equal when translated into English, even though they retain their capitalization.
7. Some of the makey makey and robotics stuff might be, but, well, I'm on a phone and don't have those things.
Overall, none of those are great options compared to costume. Essentially all are more effort or slower.
Quite right!
so much dedication griffpatch has!!!
Because I'm a dedicated little masochist, I will be shift aligning the letters myself, but ALSO using the width check script regardless.
i figured out a different way to import custom fonts then what you might've mentioned.
1. find the font you want (whether it be a google font or something font) but not as a spritesheet, but as a .ttf file, and download it (if you want to use it for personal uses outside of scratch you can install it if you're not on a chromebook).
2. find the scratch/turbowarp mod called "penguinmod", and go into its project editor.
3. go into the text editor, select any of penguinmod's fonts or click "add more fonts".
4. import the font you chose, and do the stuff mentioned in the "default scratch fonts" methods.
5. (optional), make the letters bitmap images so they can carry over to scratch, if not they'll default to a backup font, but scratch can sometimes properly use the fonts.
I don't know why, but this isn't working for me, when I make any letter change its position out of the center it doesn't work
I love this tutorial! It looks very cool as well! This’ll definitely come to use in RPG’s especially!
DUDE I LOVE THIS CHANNEL IT HELPED ME PASS MY TEST AND I GOT A 101!!!
Four hours. Well done on the optimisation and time saving here. Scratch workarounds are fun.
It is better to add spacing when drawing text instead of before.
Thx Griffpatch, I used this to make a database on Scratch!
30:25 yes said “sprout” 😂 that doesn’t matter actually, thank you for sharing! Amazing work!❤
Hello griffpatch, with help of your tutorial i made my own engine :D. It uses some of your programming but most of it is mine. I spent like 1 hour on it. The reason was beacuse the _Offset list didnt work. So yeah. Also i dont really know if you did this or not but i made it so it removes all spaces! so now i can rest in peace knowing that my 12 letter sentance "Hello world!" is not just 11 clones.
It is amazing on how blocks are in the beginning
And this tutorial is great. Keep the work up
i thought griffpatch was a boring scratch tryhard but he’s actually extremely funny plus his tutorials are great
You don't need to directly import the font sprite sheet into scratch, just import your project to turbowarp, use a sprite sheet cutter to cut every one of the letters, import all of them at once in turbowarp and them you can import your project back into scratch.
"AND WE DON'T HAVE NO SPACE CHARACTER BOY!" got me cracked up
this is one of the tutorials i'll be coming back too.
I found a way around the process of creating letters, just get a gif of letters and symbols, import, and its automated, and you could just make an alphabet of letters and symbols in a list accordingly to the costumes letter or symbol, the list can index that costume.
This was so helpful!!! Thank you for posting it (first time seeing this video) so I'll sub!
Finally a good text engine (no hate to -Rex- though I really like sfe++)
OMG finally! this is going to help soooooo much. If anyone finds a better scratcher than griffpatch, can they tell me?
I never knew you could use round(0) to get to the last costume! Helps a lot, since my project really needs it for looping through all costumes. I'm making a game where the project needs to make prefixed animations.
Also putting switch costume to 0+0, or a variable set to 0 would work
With this, you can make a script to automatically detect the last sprite.
[set costume to ( round (0) )]
[set [last sprite] to (costume number)]
I too am making a project with prefixed animations! It's more of a video than a game, though. My account is full of those >w
"*sigh* this rally is a marathon."
me, following the same 6 steps 38 different times, then realizing I have to do it 26 more times:
me after finishing realizing he added an easier way to do it:
Cool! This really helped me with my game! Thanks griffpatch!!! (I'm KawaiiKodes on Scratch btw) :)
If you want your font spacing to automatically adjust to the font size, just give it a little maths. If a font size of 200% means 2 pixels of space look good, that's the same as (size)/100. My font costumes are much larger than Griffpatch's, so I had my size set to 50% and 2 pixel spacing looked good. So my spacing is (size)/25. I put it through a floor() block to make sure it's still integers, but it works great for all font sizes!
the fact griffpatch spent more than 19 minutes to do the texture
20:15 my guess is that you might have another sprite go to the far left of the letter and then move 1 pixel to the right until it isn't touching the letter. then, it'll record how far it moved and that'll be the lenth of the letter.
This helped so much! You are an awesome coder griffpatch!
Griffpatch: *Proceeds To Split The Letters Manualy*
Me: *Downloads A Animated Gif And Scratch Automatically Splits Them*
Wow! I didn't even know this was possible on scratch! Also, I think that this probably took you maybe a day or two
Hey griffpatch since you are great at scratch and almost know everything about it, I have a question. Why is there a vector mode and bitmap mode for the sprite editor? Also you're videos are so funny 🤣🤣 I always have a laugh when your videos pop up such a great video keep it up!
Depending on the external editor it can actually be easier than dealing with scratch editor. Not to mention better autosave.
To move in a straight line, you have to start dragging _before_ your press shift.
Maybe we _should_ make a spritesheet here, but you would need a way to crop it in scratch without making multiple costumes. Though _it is_ called (from) _scratch._
really nice I can't wait to see the "new RPG tutorials that are coming soon
I will never question what Griffpatch can do!
This would've been SO helpful when I was trying to make a visual-novel-type thing the other year!!!
.........guess who's picking back up a project thought long deaddddd
0:09 Amazing LOTR reference. Perfect.
"and we dont have a space character boy!" got me rolling 🤣🤣🤣🤣🤣🤣 34:21
I needed this for a while thanks griffpatch you also are like the Elon musk of scratch
If there's a website that turns fonts into GIF's, then it would work for scratch because when you upload GIF's by using the "import sprite" option, each frame is saved as an induvidual costume!
Oooh, cool
I'm shocked that this was only uploaded less than a week ago lol. This combined with the release of your RPG tutorial vids could not have more perfect timing, as I'm working on one myself!
Also, it's too late now, but it might've been useful to mention how making the letters red will help people later on as brightness and colour effects can be changed. Otherwise though, great video.