Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
- DaBrokenToast
-
Scratcher
18 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
SO!!! all the replies (most of them are SAYING!!!) like in a speech bubble, so please don't give me speech bubbles and if you are using a define please show me THE WHOLE code because if you don't then the code won't work..
So i have been looking for many tutorial's but still haven't found a good way to do this. it's when the sentence has and animation affect like this:
L
Lo
Lol
except all in one line again, like this: L then 0.10 seconds later it goes Lo then 0.10 seconds later it goes lol.
Get it? so if you are able to please inform me of any answer to this i am willing to try it out.


So forum thingy's come in handy and get views very quickly so i'm begging you if you DO know how to do this and i use you're code full credit will go t you.
So i have been looking for many tutorial's but still haven't found a good way to do this. it's when the sentence has and animation affect like this:
L
Lo
Lol
except all in one line again, like this: L then 0.10 seconds later it goes Lo then 0.10 seconds later it goes lol.
Get it? so if you are able to please inform me of any answer to this i am willing to try it out.


So forum thingy's come in handy and get views very quickly so i'm begging you if you DO know how to do this and i use you're code full credit will go t you.
Last edited by DaBrokenToast (Sept. 30, 2021 13:53:18)
- DaBrokenToast
-
Scratcher
18 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
So i have been looking for many tutorial's but still haven't found a good way to do this. it's when the sentence has and animation affect like this:
L
Lo
Lol
except all in one line again, like this: L then 0.10 seconds later it goes Lo then 0.10 seconds later it goes lol.
Get it? so if you are able to please inform me of any answer to this i am willing to try it out.


So forum thingy's come in handy and get views very quickly so i'm begging you if you DO know how to do this and i use you're code full credit will go t you.
L
Lo
Lol
except all in one line again, like this: L then 0.10 seconds later it goes Lo then 0.10 seconds later it goes lol.
Get it? so if you are able to please inform me of any answer to this i am willing to try it out.


So forum thingy's come in handy and get views very quickly so i'm begging you if you DO know how to do this and i use you're code full credit will go t you.
- Just_Iakov
-
Scratcher
100+ posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
There are several methods to how you can create a letter by letter text animation, although i am not sure if you are looking for clone/pen version? Or just say version?
Clone Version
*In order for the clone version to work you must have a sprite with costume a to z and capital letters from A to Z. Numbers, and some other characters.
Make sure to set the main text sprite hidden.
Starting clone event:
Broadcast:
You can use the pen tool method, however clone method can give you more control with text effect, and they won't be overlapped by any sprites, as pen would always be behind any sprites.
Say version
Say version is another method of letter by letter script via say block.
This will just print out a quick hello. To make it letter by letter we use the same method.
To test this all, just type inside the blank spot of our custom blocks and the script will be activated.
These are two simple scripts, of-course you could always make the text system more advanced. There are other methods to create a text system, but I'll be sharing the ones that I use.
I hope this helps out.
Clone Version
*In order for the clone version to work you must have a sprite with costume a to z and capital letters from A to Z. Numbers, and some other characters.
Make sure to set the main text sprite hidden.
define string (text)
broadcast [clear] //remove any existing clones (to avoid stack)
go to x: (0) y: (0) //where we start our printing
set [ii] to [1] //controls what letter are we printing out
repeat (length of (text)) //length of the input
switch costume to (letter (ii) of (text)) //change the costume to current letter
change [ii] by (1) //moving to the next letter
create clone of [myself] //printing
move (10) steps //this would depend on the size and distance of the letter
end
Starting clone event:
when I start as a clone
show
Broadcast:
when I receive [clear]
delete this clone // this will remove clones (to avoid stack)
You can use the pen tool method, however clone method can give you more control with text effect, and they won't be overlapped by any sprites, as pen would always be behind any sprites.
Say version
Say version is another method of letter by letter script via say block.
say [hello]
This will just print out a quick hello. To make it letter by letter we use the same method.
define string (text)
set [ii] to [1]
set [output] to [] //blank space
repeat (length of (text)) //length of the input
set [output] to (join (output) (letter (ii) of (text))) //add in the previous text with new letter
say (output) //says the final result
change [ii] by (1) //changes to the next letter
end
To test this all, just type inside the blank spot of our custom blocks and the script will be activated.
These are two simple scripts, of-course you could always make the text system more advanced. There are other methods to create a text system, but I'll be sharing the ones that I use.
I hope this helps out.
Last edited by Just_Iakov (Sept. 29, 2021 03:34:59)
- vudeptrai090211
-
Scratcher
1000+ posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
So i have been looking for many tutorial's but still haven't found a good way to do this. it's when the sentence has and animation affect like this:
L
Lo
Lol
except all in one line again, like this: L then 0.10 seconds later it goes Lo then 0.10 seconds later it goes lol.
Get it? so if you are able to please inform me of any answer to this i am willing to try it out.![]()
So forum thingy's come in handy and get views very quickly so i'm begging you if you DO know how to do this and i use you're code full credit will go t you.
when green flag clicked
say [L] for (0.1) secs
say [Lo] for (0.1) secs
say [Lol] for (0.1) secs
- --Jung--
-
Scratcher
100+ posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
So i have been looking for many tutorial's but still haven't found a good way to do this. it's when the sentence has and animation affect like this:
L
Lo
Lol
except all in one line again, like this: L then 0.10 seconds later it goes Lo then 0.10 seconds later it goes lol.
Get it? so if you are able to please inform me of any answer to this i am willing to try it out.![]()
So forum thingy's come in handy and get views very quickly so i'm begging you if you DO know how to do this and i use you're code full credit will go t you.
define letter by letter(input)
set [examplevar] to [1]
set [say] to []
repeat (length of (input))
set [say] to (join (say) (letter (examplevar) of (input)))
change [examplevar] by (1)
say (say)
wait (0.1) secs
end
Last edited by --Jung-- (Sept. 29, 2021 03:20:07)
- Him-her-them
-
Scratcher
16 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
when green flag clicked
next costume
- Blackbear44
-
Scratcher
63 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
The most simple way is to have the say ___ for _ seconds block and do it in rapid succession ao that it will add on one letter at a time
- HappyParakeet
-
Scratcher
100+ posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
Hi!
For a

If you'd like it to stamp text, I can post the code from a project I made four years ago that is unshared, but only if you need it!
For a
say []speech bubble, you can copy my code from this project: https://scratch.mit.edu/projects/129625290/

If you'd like it to stamp text, I can post the code from a project I made four years ago that is unshared, but only if you need it!
- codingkylee
-
Scratcher
16 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
- NMario84
-
Scratcher
1000+ posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
I hope you don't mind me adding a small sound fx to add to the effect of your text appearing.
define letter by letter(input)
set [examplevar v] to [1]
set [say v] to []
repeat (length of (input))
if <not <(letter (examplevar) of (input)) = ()>> then
play sound [pop v]
end
set [say v] to (join (say) (letter (examplevar) of (input)))
change [examplevar v] by (1)
say (say)
wait (0.1) secs
end
- StackOfBlocks
-
Scratcher
16 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
I'll post a project in turbowarp in like 10 secs wait
- StackOfBlocks
-
Scratcher
16 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
I'll post a project in turbowarp in like 10 secs waitYou could use this method to do it,
https://turbowarp.org/576645659
The way it works is by adding the letters to a list and then saying all the items of the list combined
I hope it helps.
Last edited by StackOfBlocks (Sept. 29, 2021 09:02:35)
- StackOfBlocks
-
Scratcher
16 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
That method works but takes to long and is inefficient in doing it's purpose.So i have been looking for many tutorial's but still haven't found a good way to do this. it's when the sentence has and animation affect like this:
L
Lo
Lol
except all in one line again, like this: L then 0.10 seconds later it goes Lo then 0.10 seconds later it goes lol.
Get it? so if you are able to please inform me of any answer to this i am willing to try it out.![]()
So forum thingy's come in handy and get views very quickly so i'm begging you if you DO know how to do this and i use you're code full credit will go t you.when green flag clicked
say [L] for (0.1) secs
say [Lo] for (0.1) secs
say [Lol] for (0.1) secs
- NMario84
-
Scratcher
1000+ posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
I'll post a project in turbowarp in like 10 secs waitYou could use this method to do it,
https://turbowarp.org/576645659
The way it works is by adding the letters to a list and then saying all the items of the list combined
I hope it helps.
define Say (TEXT)
set [i v] to (1)
delete all of [Letters v]
repeat (length of (TEXT))
add (letter (i) of (TEXT)) to [Letters v]
if <not< (item (i) of [Letters v]) = () >> then
play sound [Pop v]
end
change [i v] by (1)
say (Letters)
wait (0.075) secs
end
Last edited by NMario84 (Sept. 29, 2021 18:40:34)
- cupcake1502
-
Scratcher
100+ posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
Last edited by cupcake1502 (Sept. 30, 2021 00:00:01)
- AirfulGames
-
Scratcher
100+ posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
when green flag clicked
set [text v] to [l]
wait (0.10) secs
set [text v] to [l]
wait (0.10) secs
set [text v] to [l]
wait (0.10) secs
then project the variable onto a sprite with pen
- han614698
-
Scratcher
1000+ posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
This project I made has a text engine in it - accessible under the “define `display (text0`” block in the sprite named “PTE” IIRC.
- DaBrokenToast
-
Scratcher
18 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
This project I made has a text engine in it - accessible under the “define `display (text0`” block in the sprite named “PTE” IIRC.could you please tell that in a more easier…way?
- DaBrokenToast
-
Scratcher
18 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
https://scratch.mit.edu/projects/540713507/thank you, i'll try the other girls script first if it doesn't work, then i'll use your's
or
https://turbowarp.org/540713507
- DaBrokenToast
-
Scratcher
18 posts
How Do I Make A Letter By Letter Text Animation Not using a speech bubble?
There are several methods to how you can create a letter by letter text animation, although i am not sure if you are looking for clone/pen version? Or just say version?thank you for this advice i am so thankful i got so many replies, and i really hope this one works out because all other tutorials don't work!
Clone Version
*In order for the clone version to work you must have a sprite with costume a to z and capital letters from A to Z. Numbers, and some other characters.
Make sure to set the main text sprite hidden.define string (text)
broadcast [clear] //remove any existing clones (to avoid stack)
go to x: (0) y: (0) //where we start our printing
set [ii] to [1] //controls what letter are we printing out
repeat (length of (text)) //length of the input
switch costume to (letter (ii) of (text)) //change the costume to current letter
change [ii] by (1) //moving to the next letter
create clone of [myself] //printing
move (10) steps //this would depend on the size and distance of the letter
end
Starting clone event:when I start as a clone
show
Broadcast:when I receive [clear]
delete this clone // this will remove clones (to avoid stack)
You can use the pen tool method, however clone method can give you more control with text effect, and they won't be overlapped by any sprites, as pen would always be behind any sprites.
Say version
Say version is another method of letter by letter script via say block.say [hello]
This will just print out a quick hello. To make it letter by letter we use the same method.define string (text)
set [ii] to [1]
set [output] to [] //blank space
repeat (length of (text)) //length of the input
set [output] to (join (output) (letter (ii) of (text))) //add in the previous text with new letter
say (output) //says the final result
change [ii] by (1) //changes to the next letter
end
To test this all, just type inside the blank spot of our custom blocks and the script will be activated.
These are two simple scripts, of-course you could always make the text system more advanced. There are other methods to create a text system, but I'll be sharing the ones that I use.
I hope this helps out.
- Discussion Forums
- » Help with Scripts
-
» How Do I Make A Letter By Letter Text Animation Not using a speech bubble?