Uploaded August 2022 | Updated September 2026, 3 weeks ago
Coding a custom text engine in Scratch, a Griffpatch tutorial - and now we add perfect word wrapping. We don't skip any corners, and we do this the right way resulting is super fast, word wrap with line breaks and the ability to break long words if necessary. Word wrap and text alignment is upgraded to work within a specified page bounds and can be coded to work like a text console. Works with clones or switch to stamping to easily handle a whole page of text at 30fps. Scratch On Guys!
🚀 *Boost Your Creativity with Griffpatch*
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at 👉 https://griffpatch.academy 👈
😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu
👀 Episode 1 - youtu.be/BAy0SUnB1J0
👀 Episode 2 - youtu.be/lhHLAQSzQvo
🐱 Scratch Links
Scratch Font Studio - https://scratch.mit.edu/studios/31947389
💾 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-font-to-svg-path
--------------Video Chapters--------------
0:00 Intro
0:45 Defining The Page Bounds
4:01 Positioning the text within the Page bounds
6:18 New Line, and Line Height
8:03 Page Width Overflow
9:29 Word Wrap – But where?
11:15 Quick Tidy up before we add more scripts
12:22 Lots of new variables, and a change of loop
14:36 Find txt wrap index
17:05 Modify the Alignment Script
17:31 Splitting our text at a space character / gap
18:19 Splitting the text at the last space before overflow
19:53 Wrapping the remaining text onto the next line
21:23 Testing Time
22:08 Breaking up very long words
24:30 Outro
Coding a custom text engine in Scratch, a Griffpatch tutorial - and now we add perfect word wrapping. We don't skip any corners, and we do this the right way resulting is super fast, word wrap with line breaks and the ability to break long words if necessary. Word wrap and text alignment is upgraded to work within a specified page bounds and can be coded to work like a text console. Works with clones or switch to stamping to easily handle a whole page of text at 30fps. Scratch On Guys!
🚀 *Boost Your Creativity with Griffpatch*
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at 👉 https://griffpatch.academy 👈
😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu
👀 Episode 1 - youtu.be/BAy0SUnB1J0
👀 Episode 2 - youtu.be/lhHLAQSzQvo
🐱 Scratch Links
Scratch Font Studio - https://scratch.mit.edu/studios/31947389
💾 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-font-to-svg-path
--------------Video Chapters--------------
0:00 Intro
0:45 Defining The Page Bounds
4:01 Positioning the text within the Page bounds
6:18 New Line, and Line Height
8:03 Page Width Overflow
9:29 Word Wrap – But where?
11:15 Quick Tidy up before we add more scripts
12:22 Lots of new variables, and a change of loop
14:36 Find txt wrap index
17:05 Modify the Alignment Script
17:31 Splitting our text at a space character / gap
18:19 Splitting the text at the last space before overflow
19:53 Wrapping the remaining text onto the next line
21:23 Testing Time
22:08 Breaking up very long words
24:30 Outro








![Journey Into The Unknown - Scratch Game Jam Results
Hello fellow Scratchers! This video showcases the exciting results of our latest Game Jam, where participants put their **scratch programming** skills to the test with the Journey into the Unknown theme. Watch as we explore diverse **scratch game ideas** that emerged, from arcade adventures to imaginative new concepts, all crafted through creative **scratch coding**. This celebration of innovative **game development** proves how much fun and learning comes from **coding** in Scratch!
🔥 These Jams are just one part of the Griffpatch Academy Membership where we take you from Gamer to Game Creator*
- Learn more at 👉 https://griffpatch.academy 👈
Winners
[[ Best Adventure ]]
* *MaxMasterCoder* - REDLING 2 - https://scratch.mit.edu/projects/1190762240/
[[ Best Animation ]]
* *s209432* - To the Moon - https://scratch.mit.edu/projects/1258137308/
[[ Best Arcade ]]
* *kotucheniy101* - a small step for an ant and a giant leap for the colony 2 - https://scratch.mit.edu/projects/1253370099/
* *robodog81* - The Shrouded Tower - https://scratch.mit.edu/projects/1256805796/
[[ Best Dodge ]]
* *Scratchmakermeow* - Freefall: Unknown - https://scratch.mit.edu/projects/1253030316/
[[ Best Platformer ]]
* *CSLFinley* - -Eko- - https://scratch.mit.edu/projects/1253345715/
Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu Journey Into The Unknown - Scratch Game Jam Results](https://i.ytimg.com/vi/rD4LhQPwl4o/mqdefault.jpg)

