Discuss Scratch

Lu2333
Scratcher
100+ posts

draw text

Mapper-from-Canada wrote:

Support!

gdavid04 wrote:

I support this idea!
Why Do You Guys Support This?
New Page Post!

Last edited by Lu2333 (Nov. 1, 2017 15:10:59)

myeducate
Scratcher
500+ posts

draw text

I personally think an integrated text engine would be a great feature for scratch 3.0!
neeb132
Scratcher
500+ posts

draw text

dewball wrote:

IT would be EASIER for a little kid. I agree with @charles12310 because that's what Scratch is for: Little Kids. We're just hanging out trying to find what is fun, so it is very necessary.

heres how the blocks should look like:

set text color to [] :: pen

Umm… not necessarily.

Community Guidelines wrote:

Scratch welcomes people of all ages, races, ethnicities, religions, sexual orientations, and gender identities.

Last edited by neeb132 (Nov. 1, 2017 17:34:31)

dewball
Scratcher
33 posts

draw text

@charles12310, what if you wanted to make something that had no sprites and related to text. The say thing is very different to drawing text, because it is less customizable. What if you wanted to make a text editor, sort of the editor, @ griffpatch did?. Where would you need, or want a say block to be used. This one is about prettyness, but it would be easier to have a different font for text. And what if you wanted to make those operating systems those people do. They need to have text files in them, or at least something related to text, so instead of drawing them in the costumes editor, hard and tedious, you can write the text.
dewball
Scratcher
33 posts

draw text

@neeb132, well yes, but scratch is usually the initial programming language for beginners, well you know. Though you are completely right.
dewball
Scratcher
33 posts

draw text

@Lu2333, it's what i wrote the whole time: Scratch is the ideal programming language for beginners. out of all the people in scratch, at least half would be beginners. Would you expect them to make a text engine?
dewball
Scratcher
33 posts

draw text

okay, @I-Iz-A-Litten, please write a project and send it to me using that technique. This is what i want you to say:

“hello, isn't this a very, very, very, very, very, very, very good project”
DaEpikDude
Scratcher
1000+ posts

draw text

dewball wrote:

okay, @I-Iz-A-Litten, please write a project and send it to me using that technique. This is what i want you to say:

“hello, isn't this a very, very, very, very, very, very, very good project”
here have a project
-CodePro-
Scratcher
100+ posts

draw text

I support this, and since Scratch 3 is here, it shouldn't be too hard, because JavaScript can draw on the canvas using fillText() and strokeText(). I also did a speed test and I believe I managed to get 900,000 characters per second with JS on a canvas, while with my text engine in Scratch I managed only around 13,000, which is very slow in comparison, although my text engine has a lot of customization. I am also sure that Snap! has this, although I am not a fan of it.

Last edited by -CodePro- (July 18, 2019 14:17:30)

Troyer_Kem
Scratcher
1000+ posts

draw text

I-Iz-A-Litten wrote:

Charles12310 wrote:

DaEpikDude wrote:

here have a sprite
oh boy i get to link to my own project

Anyway, no support, there are enough people who've made text writers already, it's not really necessary in my opinion.
Yes, but text writing can be difficult, and the scripts are hard to remember, and even though you can backpack them, it will take more than 1 script.

I see this useful in many purposes including showing a variables amount without showing the variable monitor.


that's just to make your game look pretty, and making games “look pretty” is not a reason for me to support this.

And you don't HAVE to use text writing, you can use variables,

or use the
say []

block like this:

say [c]
wait (0.1) secs
say [ca]
wait (0.1) secs
say [cat]

no support
You don't need to use it. It makes codes very long. Just make this:
define say (text :: custom)
set [letter v] to [0]
set [sentence v] to []
repeat (text :: custom)
set [sentence v] to (join (sentence) (letter (letter) of (text :: custom)))
say (sentence)
change [letter v] by (1)
wait (0.05) secs
end
AFNNetworkK12
Scratcher
1000+ posts

draw text

No support. It ruins the purpose and hard work of PTEs
-CodePro-
Scratcher
100+ posts

draw text

AFNNetworkK12 wrote:

No support. It ruins the purpose and hard work of PTEs
See here:

-CodePro- wrote:

…I managed to get 900,000 characters per second with JS on a canvas, while with my text engine in Scratch I managed only around 13,000, which is very slow in comparison…
If people really want to display lots of information without slowing down their project too much, this would be great.
Plus, not everyone wants to use a text engine.

Last edited by -CodePro- (July 19, 2019 01:26:45)

NilsTheBest
Scratcher
1000+ posts

draw text

-CodePro- wrote:

AFNNetworkK12 wrote:

No support. It ruins the purpose and hard work of PTEs
See here:

-CodePro- wrote:

…I managed to get 900,000 characters per second with JS on a canvas, while with my text engine in Scratch I managed only around 13,000, which is very slow in comparison…
If people really want to display lots of information without slowing down their project too much, this would be great.
Plus, not everyone wants to use a text engine.
13,000 cps is still insanely fast. How exactly do PTEs slow down computers though? And what's wrong about text engines? Some of them are very practical.
-ShadowOfTheFuture-
Scratcher
1000+ posts

draw text

dewball wrote:

something helpful. There are many text engines out there, but would you expect a New Scratcher, or a beginner to write that many lines of code! And besides, those engines are very specific in what they do, and it would be hard to make it the way you want
There are many physics engines out there, but would you expect a New Scratcher or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.

There are many cloud data encode/decode engines out there, but would you expect a New Scratcher (okay, to be fair) or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.

There are many platformer bases out there, but would you expect a New Scratcher or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.

There are many 3D engines out there, but would you expect a New Scratcher or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.

There are many pen engines out there, but would you expect a New Scratcher or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.

There are many MIDI engines out there, but would you expect a New Scratcher or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.
bs00009
Scratcher
27 posts

draw text

It's nice,but I think LABELS are more useful.
set the text of [lebel1 v] to []
-CodePro-
Scratcher
100+ posts

draw text

NilsTheBest wrote:

13,000 cps is still insanely fast. How exactly do PTEs slow down computers though? And what's wrong about text engines? Some of them are very practical.
13,000/second might be somewhat fast, but consider that at that speed a project drawing 400 characters or so every frame will just manage to run at 30 FPS with nothing else in the project. Even drawing maybe 50 characters each frame will make in impact on performance, while with 900,000/second or even just 100,000+/second it would barely be a problem.
MrFluffyPenguins
Scratcher
1000+ posts

draw text

Hey, try this script, I use it in a lot of my projects that I'm making:
define say (text)
delete (all v) of [textTosay v]
set [text# v] to [0]
repeat (length of (text))
change [text# v] by (1)
add (letter (text#) of (text)) to [textTosay v]
play sound [voice (optional, and like the kind of voices they use in Undertale) v]
say (textTosay :: list)
end
wait until <not <key [button v] pressed?>>
wait until <key [button v] pressed?>
say []
enderchef
Scratcher
3 posts

draw text

a simple draw text:
DefineBlock text(s x,s y ,c text){ go to xs x) go to ys y) say(c text) }

Last edited by enderchef (Nov. 27, 2020 17:56:37)

gosoccerboy5
Scratcher
1000+ posts

draw text

enderchef wrote:

a simple draw text:
DefineBlock text(s x,s y ,c text){ go to xs x) go to ys y) say(c text) }
Hey, good job on the necropost and spam (well its kinda not spam but it's completely illegible).

Last edited by gosoccerboy5 (Nov. 27, 2020 19:00:45)

dewball
Scratcher
33 posts

draw text

-ShadowOfTheFuture- wrote:

dewball wrote:

something helpful. There are many text engines out there, but would you expect a New Scratcher, or a beginner to write that many lines of code! And besides, those engines are very specific in what they do, and it would be hard to make it the way you want
There are many physics engines out there, but would you expect a New Scratcher or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.

There are many cloud data encode/decode engines out there, but would you expect a New Scratcher (okay, to be fair) or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.

There are many platformer bases out there, but would you expect a New Scratcher or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.

There are many 3D engines out there, but would you expect a New Scratcher or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.

There are many pen engines out there, but would you expect a New Scratcher or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.

There are many MIDI engines out there, but would you expect a New Scratcher or a beginner to write that many lines of code? And besides, those engines are very specific in what they do, and it would be hard to make it the way you want.
true. though i guess a new scratcher would probably need to use a text engine more than a midi engine or a pen engine. I personally think that making a text engine myself would be extremely tedious and kind of finicky.

Powered by DjangoBB