TEXT ENGINE #2 | Centering Text & More | Scratch Tutorial

  Рет қаралды 129,785

griffpatch

griffpatch

Күн бұрын

Learn how to center, left and right align text as we code our custom text engine for our amazing Games in Scratch, the block coding website for everyone! Make your games so much more professional with custom a custom font, now perfectly centered. This episode we also learn to measure the length of a string of text, try out a vector font, and make the text dynamically follow the mouse.
👀 Episode 1 - • Code a TEXT ENGINE | A...
👀 Episode 3 - • Perfect Word Wrap | Ep...
🚀 Boost Your Creativity with Griffpatch
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at 👉 griffpatch.academy 👈
😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See scratch.mit.edu
💾 Font Resource Websites
Cava's Pixel Resource - caveras.net/
Google Fonts - fonts.google.com/
✂️ Image / Sprite sheet Splitter
EZGif - ezgif.com/sprite-cutter
Google Font to SVG Path - danmarshall.github.io/google-...
🐱 Scratch
Scratch Font Studio - scratch.mit.edu/studios/31906...
Bitmap Font - scratch.mit.edu/projects/7166...
Sans-Serif Font - scratch.mit.edu/projects/7171...
-------------Video Chapters-------------
0:00 Intro
0:45 Bug Fix - Costume Measuring / Flashing
2:02 Bug Fix - Letter Spacing
4:02 Bug Fix - Handling Unknown Letters
4:51 Make text follow mouse
7:25 Try a different vector font
9:22 How to Centre Text
13:51 Outro

Пікірлер: 498
@1080GBA_SC
@1080GBA_SC 2 жыл бұрын
well i made that already, but your method is easier and less laggy! You're awesome!
@ilonaignotaite3568
@ilonaignotaite3568 2 жыл бұрын
The pfp you are useing lookd like a eye
@deadbrav
@deadbrav 2 жыл бұрын
@@ilonaignotaite3568 he
@1080GBA_SC
@1080GBA_SC 2 жыл бұрын
@@ilonaignotaite3568 ^_. really? thats supposed to be 3 rings of red, yellow and blue
@ilonaignotaite3568
@ilonaignotaite3568 2 жыл бұрын
@@1080GBA_SC i cold see the tellow ring so it lookt like a eye
@1080GBA_SC
@1080GBA_SC 2 жыл бұрын
@@ilonaignotaite3568 ok nvm
@michaelchan666
@michaelchan666 2 жыл бұрын
This is completely irrelevant, but I just ate the best chocolate in my life.
@griffpatch
@griffpatch 2 жыл бұрын
Oh yummy!!!
@Ioiod
@Ioiod 9 ай бұрын
@@griffpatchOh yummy!
@rajwindersachdeva1102
@rajwindersachdeva1102 8 ай бұрын
@@Ioiodoh yummy!
@aringelblade
@aringelblade 8 ай бұрын
​@@rajwindersachdeva1102Oh yummy!
@bluealt4936
@bluealt4936 7 ай бұрын
@@aringelbladeoh yummy!
@tuanvu7938
@tuanvu7938 Жыл бұрын
I love how you incorporated comment feedback, you honestly are very inspiring to me on my adventure of makeshift game dev as a university student. Crazy that I've known about your scratch profile since I was still in middle school.
@eggstatus5824
@eggstatus5824 Жыл бұрын
The fact that this is even possible in scratch isn't the part that blows my mind. It's the fact that griff was able to figure this out My smol brain would melt if I tried to figure this out on my own
@crackerpooppop
@crackerpooppop 2 жыл бұрын
Always a delight to open up my notifications to see a video by you. Thank you and keep doing what you do :)
@iancutudor3455
@iancutudor3455 2 жыл бұрын
This variant is much easier than mine and it has better quality than my project, well done!!, love every project from you!!
@villeolof2000
@villeolof2000 2 жыл бұрын
Woah! I am so excited to put this in to a game! Thanks a lot for making this types of tutorials that you can backpack and use in many of your games!! Now, lets get scratching! :D
@yanhuacheng5070
@yanhuacheng5070 2 жыл бұрын
What a Great Tutorial! Thank You for teaching me this Perfect Centered Text! You're awesome!
@VirtuGuy
@VirtuGuy 2 жыл бұрын
I love that he's always excited about making these things for his videos.
@Mr_Ioannis
@Mr_Ioannis 2 жыл бұрын
Thank u so much!! I was just working on a project with the help of your previus video, this helps so much!!
@juicybooty395
@juicybooty395 2 жыл бұрын
you're energy always gets me so hyped dawg
@thelegoreaper
@thelegoreaper 2 жыл бұрын
This is awesome! Can’t wait for some fancy text bubbles
@TheRealLF2
@TheRealLF2 2 жыл бұрын
true.
@m4d_x
@m4d_x 2 жыл бұрын
This is really cool, but I have a suggestion. Add a speed option to control how fast the text goes. That way, you can make really slow or instant text without having to turn on and off screen refresh!
@griffpatch
@griffpatch 2 жыл бұрын
Yep - That is coming soon
@ThisIsRadmehr
@ThisIsRadmehr 11 ай бұрын
@@griffpatch If you can add it to e4
@johnperkey4407
@johnperkey4407 2 жыл бұрын
We love your videos Griffpatch! You make such easy to understand tutorials. You are the reason I fell in love with coding. Thank you!
@griffpatch
@griffpatch 2 жыл бұрын
So pleased to hear that :D Scratch On!
@AllenThePancake
@AllenThePancake 7 ай бұрын
Griffpatch never fails to make successful scratch projects somehow. Keep it that way!
@gracepierson3635
@gracepierson3635 2 жыл бұрын
Heyo Griffpatch! I love your tutorials! I've learned so much. You are my all time favorite scratcher.
@ItsBeansy
@ItsBeansy 2 жыл бұрын
This is so cool! Thanks griffpatch. Hope your vacation is epic!
@NoCrispin
@NoCrispin 2 жыл бұрын
Another great video. You're such a good teacher!
@ITHrealXD
@ITHrealXD Жыл бұрын
Is it just me or did i find him and is now watching his videos everyday and cant stop?
@arcturus1229
@arcturus1229 2 жыл бұрын
‘Episod 1’ Loving the content as usual! ♥️
@Phillip_Anatra
@Phillip_Anatra 2 жыл бұрын
This is epic! Can't wait to enhance some projects with this awesome text engine. Thanks griffpatch :)
@griffpatch
@griffpatch 2 жыл бұрын
Have fun!
@ItzGr0ggy
@ItzGr0ggy 2 жыл бұрын
This video is awesome! You contributed to the scratch community in a lot of ways. You are the best!!
@ItzGr0ggy
@ItzGr0ggy 2 жыл бұрын
You could try hosting a scratch competition. Could help with things to improve while scripting. 😀
@mrfoloundev4362
@mrfoloundev4362 2 жыл бұрын
You have one of if not the best scratch tutorials
@lavender7447
@lavender7447 2 жыл бұрын
You are the only one who i have seen until now that makes epic breakthroughs
@Eklipsid
@Eklipsid 2 жыл бұрын
you are so good at scratch and you are basically the reason i enjoy scratch thank you for doing all this work
@griffpatch
@griffpatch 2 жыл бұрын
You are so welcome
@imliterallyblack
@imliterallyblack 2 жыл бұрын
Yes this is just what I need! Thanks griffpatch!
@TheRealLF2
@TheRealLF2 2 жыл бұрын
i can’t wait for e3! i can’t wait to see the results.
@CircuitBattery
@CircuitBattery Жыл бұрын
THIS WAS SOSOSOSOSOSOSOSOSO FUN TO MAKE!!! I SHOWED IMT TO MY GRANDMA AND MOM AND THEY BOTH LOVED IT!!!
@TheAmyrlinSeat
@TheAmyrlinSeat 2 жыл бұрын
The fact that this guy made a tutorial that everyone knows how to do, but does it 100x better.
@JedHurricane
@JedHurricane Жыл бұрын
How old are you? Curious
@TheAmyrlinSeat
@TheAmyrlinSeat Жыл бұрын
@@JedHurricane 13, why?
@ronanlewis6119
@ronanlewis6119 2 жыл бұрын
Hey Griffpatch, great video! I'm dealing with a glitch in a game I'm making, wondered if you knew how to fix it. Thanks for making brilliant tutorials!
@aintNexus
@aintNexus 2 жыл бұрын
This taugh me a lot, i Made a text engine basing on the number engine, it Was simpler but way more limited. Neat engine!
@yorp.
@yorp. 2 жыл бұрын
Cool! I'm so excited to watch this! :DD
@BobsComicsOfficial
@BobsComicsOfficial 2 жыл бұрын
Yay! Part 2 is out!
@Iminsanealr
@Iminsanealr 2 жыл бұрын
Awesome tutorial griffpatch!
@Cha21550
@Cha21550 2 жыл бұрын
I have only one word for this... AMAZING!!!!!
@laurenlabra4099
@laurenlabra4099 Жыл бұрын
IT'S PERFECTLY ALIGNED ON SCREEN! CRAZY!
@jasondotjson34
@jasondotjson34 2 жыл бұрын
Wow that's wonderful!
@chonkydog6262
@chonkydog6262 2 жыл бұрын
Thank you griffpatch!! I can't wait to use this in the RPG project
@user-zl2yg3bl4e
@user-zl2yg3bl4e 4 ай бұрын
This is literally the best text engine ever!
@yingibostephen2806
@yingibostephen2806 2 жыл бұрын
This is really awesome
@vijaysam
@vijaysam 2 жыл бұрын
That's a good upgrade. And I want suggest that you can also make a video on making the text appear with an animation.
@mel-z
@mel-z Жыл бұрын
Hey griffpatch, instead of dragging the Font sprite in your backpack, if you right click the sprite it gives the options to delete it, duplicate or export, click the export option and then when you go into your project upload the sprite which you exported from your computer.
@terezacristinamenezes5009
@terezacristinamenezes5009 Жыл бұрын
Thanks so much! it will help me a lot to make a RPG game!
@Ironyum99
@Ironyum99 2 жыл бұрын
This is amazing! 🎉
@andrewivykaia676
@andrewivykaia676 Ай бұрын
You've earned a sub, I love your videos and games :)
@-nightmarecrewmates-1045
@-nightmarecrewmates-1045 2 жыл бұрын
wow another awsom tutorial by griffpatch well done :)
@greatfifashorts
@greatfifashorts 2 жыл бұрын
Finally, the second version is out! This will be very helpful, thank you griffpatch!
@greatfifashorts
@greatfifashorts 2 жыл бұрын
Also, does anyone realise the space bug? When the font clones a space, a red letter O appears and disappears.
@JonatasPoliglotaKidsOfficial
@JonatasPoliglotaKidsOfficial 2 жыл бұрын
@@greatfifashorts not me!
@greatfifashorts
@greatfifashorts 2 жыл бұрын
@@JonatasPoliglotaKidsOfficial well I did lol
@codesoft.mp4
@codesoft.mp4 Жыл бұрын
@@greatfifashorts I know this is late, but I would reccomend either going into a vector image editor like Adobe Illustrator (if you use the vector font) and set the opacity to 0 of the o sprite that appears.
@starting7725
@starting7725 2 жыл бұрын
"Hello fellow scratchers" this'll turn into a famous quote one day
@StarlitHaruka
@StarlitHaruka Жыл бұрын
This man is an absolute legend :)
@OmegaSleepy
@OmegaSleepy 2 жыл бұрын
Yey i love your tutorials
@urosnovakovic7331
@urosnovakovic7331 2 жыл бұрын
Thank you so much Griffpatch this is helping me so much👍
@griffpatch
@griffpatch 2 жыл бұрын
No problem 👍
@christelle5782
@christelle5782 2 жыл бұрын
YOU I WANTED THIS TUTORIAL YOU'RE THE BEST KZfaqRE LOVE U
@HangNguyen-pw2lp
@HangNguyen-pw2lp Жыл бұрын
OMG. That is amazing.
@heracusus8269
@heracusus8269 2 жыл бұрын
Wow 3: That's AWESOME!
@pixelatedluisyt
@pixelatedluisyt 2 жыл бұрын
oh my god its out yayyyy inside other platforms like roblox, text engines are simple to create with the luau programming language, which makes stuff like pausing text easier. but that is why this text engine is so good and epic, its made in scratch! you dont type to code, you put in blocks and thats how you do it all your work is spectacular and im excited for the rpg! P.S: i heard in the rpg game poll you could vote for a sonic game, so ye that may be coming soon yay
@FliPOffwg
@FliPOffwg 2 жыл бұрын
Thank You Very Much! :)
@BobChess
@BobChess 2 жыл бұрын
You make text first then rpg well come. Brilliant plan.
@FeniteFr
@FeniteFr 2 жыл бұрын
Wow, I already made a text engine but this one is much much better 🔥 This is so awesome thank you Griffpatch 💪🌟
@griffpatch
@griffpatch 2 жыл бұрын
No worries!
@zephroar
@zephroar 2 жыл бұрын
Can you do a tutorial on setting the size of the text based on the width? It would be extremely helpful for intros. By the way, love your videos i find them extreemly usefull 😁
@griffpatch
@griffpatch 2 жыл бұрын
Interesting request, and yes that is quite possible...
@TTB2121
@TTB2121 2 жыл бұрын
Love itttt!!
@_apehuman
@_apehuman 2 жыл бұрын
Thankyou for this tutorial griffpatch
@Milan12234
@Milan12234 2 жыл бұрын
Amazing!
@joescraft123
@joescraft123 2 жыл бұрын
you make one of the best scratch tutorials and im steel waiting for a rpg tutorial
@kgratia4748
@kgratia4748 2 жыл бұрын
Awesome! I’m early. I should try this
@vzod
@vzod 2 жыл бұрын
Amazing methods! Maybe in the next episode you could show us how to add input boxes in these fonts instead of the ask blocks. This could help with y/n boxes and naming a character too!
@autisticChronicles360
@autisticChronicles360 2 жыл бұрын
Cool tutorial. That text looks so epic! On a different note, I challenged myself to make a speed to tile height custom block in Scratch. Works very well and fast. At a speed of 40, tile size of 62, and a gravity speed of -1.7, the max tile height the player can reach is 7 tiles up. I've played your game Appel, and found it difficult at times to determine the best y speed for trampolines, especially when you have to play the level just to see how high the player will be launched. A visualizer to show the height would be cool to see, and will make it easier and faster to do trial and error. I also made some code to get the best speed based on how many tiles you want to go up, so we don't have to do so much trial and error.
@griffpatch
@griffpatch 2 жыл бұрын
What a cool feature idea!
@MINIPASTPINKIE
@MINIPASTPINKIE 2 жыл бұрын
Yay new tutorial!
@Gabriel-tn1lx
@Gabriel-tn1lx 2 жыл бұрын
I can't wait for the RPG to start!
@chuckya777
@chuckya777 2 жыл бұрын
Me to😌
@bluemoon7829
@bluemoon7829 2 жыл бұрын
Hi Griffpatch Dis Video helps me a lot for My Text Engine. Thank you very much ;)
@griffpatch
@griffpatch 2 жыл бұрын
Glad it helped!
@Iminsanealr
@Iminsanealr 2 жыл бұрын
I tried to make a text engine like this but it didn’t work but this one worked! The text engine is in a project I’m working on. Your tutorials are very helpful!
@griffpatch
@griffpatch 2 жыл бұрын
That's great!
@sashademchuk876
@sashademchuk876 2 жыл бұрын
That's Awesome! And hello from Ukraine!
@mel-z
@mel-z Жыл бұрын
I would really like to see how you made the text engine at 13:56 it looks very cool and also you make amazing tutorials!
@Haynster
@Haynster 2 жыл бұрын
Wooo new tutorial!!
@lisloh128
@lisloh128 2 жыл бұрын
I WANTED THIS VID FOREVR!!!
@iaminfinityiq7182
@iaminfinityiq7182 2 жыл бұрын
Yay. Our Word is here!!!
@dontkillbigbobby
@dontkillbigbobby 2 жыл бұрын
Woah keep scratching griff!
@shng8528
@shng8528 2 жыл бұрын
Hey griffpatch I love your videos. I just want to ask you something about my project. How do you get the x and y position of a clone (except from lists)?
@avyuktshetty2792
@avyuktshetty2792 2 жыл бұрын
Griffpatch I love your tutorials
@artcas2
@artcas2 2 жыл бұрын
great video!
@Megabyte1
@Megabyte1 2 жыл бұрын
Thank you so much!
@Leviathan_22
@Leviathan_22 2 жыл бұрын
I just finished making my own frame rate counter. It was a lot easier than I expected, and as a test, I used it on this text engine. The counter ended up working but I was more exited to see the frame rate for this project; and wow... 51 FPS?!
@EirPlen
@EirPlen 2 жыл бұрын
HUH????
@TheAmyrlinSeat
@TheAmyrlinSeat 2 жыл бұрын
Wow
@chcolate_chip3020
@chcolate_chip3020 2 жыл бұрын
This is really useful!
@griffpatch
@griffpatch 2 жыл бұрын
Glad it was helpful!
@milohanson6839
@milohanson6839 2 жыл бұрын
I did not know that there is a backpack. 10/10 Tutorial thank you.
@nerolonging5178
@nerolonging5178 2 жыл бұрын
you should cover how to fill pen drawings, as there's no built in feature to do so, and it would help people to make better looking pen games, and it would help me personally to use shading in my game. thank you!
@Fantogogo
@Fantogogo 2 жыл бұрын
Yess thanks you so much 🤩🤩🤩
@real_kryzz
@real_kryzz 2 жыл бұрын
I Love Your Videos!
@fallopian3269
@fallopian3269 2 жыл бұрын
YESSSSSSSSSSSSSSSSS IT CAME OUTT
@Ligomabaowls
@Ligomabaowls 2 жыл бұрын
This is an amazing tutorial as usual! However a piece of feedback, you should make the letters red with max brightness so you can change color and brightness by using the built in features besides recoloring every costume 😅
@chronosVR.2763
@chronosVR.2763 Жыл бұрын
i took that time to recolor all 94 costumes of the pixel font to red just for that
@Cfcfgcft
@Cfcfgcft Жыл бұрын
if you did that, you could make the text go rainbow coloured when they start as a clone :0
@kepritedude15
@kepritedude15 2 жыл бұрын
its night where i live but ill watch it in the morning!
@AXO_TRYHARD
@AXO_TRYHARD Жыл бұрын
I LOVE THIS VIDEO GRIFFPATCH !!!
@halfbraincelled
@halfbraincelled 2 жыл бұрын
great tutorial! i love ur vids!
@griffpatch
@griffpatch 2 жыл бұрын
Thanks!
@halfbraincelled
@halfbraincelled 2 жыл бұрын
@@griffpatch no prob, i cant wait for your next rpg devlog!!!😀
@suninlifeforever
@suninlifeforever Жыл бұрын
you are the best scratcher of the world
@Farleigh1050
@Farleigh1050 2 жыл бұрын
Note: on the first part (fixing letter sizes bug), if you are using pen just hide at start of CLS and show at end of CLS. When you calculate the letter widths, that is the time when the bug occurs so that is the only time where it needs to be hidden
@Robby_P.
@Robby_P. Жыл бұрын
In the write block you should set Y to Mouse x And X to mouse Y
@PenguinBuster0725
@PenguinBuster0725 2 жыл бұрын
Griffpatch is the person who can a pokemon game if he wanted to
@redstoneruleseveryday5923
@redstoneruleseveryday5923 2 жыл бұрын
I love your videos great quality. How are you so good at Scratch. and how did you get into scratch?
@dannchap9946
@dannchap9946 2 жыл бұрын
Wow amazing video
@griffpatch
@griffpatch 2 жыл бұрын
You are so kind
@TETNTM
@TETNTM 2 жыл бұрын
The chapters really helped me when the I actually pressed the "0" key and reset the video
@bubbaloop574
@bubbaloop574 11 ай бұрын
Hey there great tutorial, but I dont really want to to split each letter like you did in part 1. Did you post the fonts somewhere ready to use it, or do we still have to do all that splitting and encoding each character? Plus, can this be done by saving each letter as a sprite? If so what would be the differnce? Thanks so much for all your effort, buddy.
@getigamer5190
@getigamer5190 2 жыл бұрын
super video guy
Perfect Word Wrap | Epic Scratch Text Engine
25:55
griffpatch
Рет қаралды 175 М.
"Save My Game!" 💾 Data Serialization & Escaping in Scratch
16:29
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 22 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 10 МЛН
Code a TEXT ENGINE | Awesome "How to" Scratch Tutorial
39:45
griffpatch
Рет қаралды 666 М.
ChatGPT Makes a Scratch Game
10:30
PolyMars++
Рет қаралды 978 М.
How I Made a 3D Platformer in 2D Game Engine
21:23
ggenije
Рет қаралды 453 М.
I Shattered Scratch's Cloud Player Limit 💥 Here's how I did it!
12:29
The Variable HACK 🔨 Not many Scratchers know... yet
10:33
griffpatch
Рет қаралды 597 М.
The Mystery of Fake Geometry Dash
19:51
GD Colon
Рет қаралды 2,1 МЛН
Coding Hacks in Scratch (Tips and Tricks)
8:32
Jackson Academy
Рет қаралды 331 М.
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 22 МЛН