Discuss Scratch

slapperbob
Scratcher
100+ posts

"Print text" Block

Just a rough idea, but I was thinking, there should be a block that works just like the “say” and “think” blocks, except instead of the text being in a speech bubble, it would just print the text out on the background.
print [] //category=pen

clear all printed text //category=pen

set font to [ v] //category=pen

set text size to [] //category=pen

Anyone else think these would be good blocks to have?

Last edited by slapperbob (Dec. 27, 2013 04:00:02)

AonymousGuy
Scratcher
1000+ posts

"Print text" Block

This could be cool, but is workaroundable. Even with only one costume.
slapperbob
Scratcher
100+ posts

"Print text" Block

AonymousGuy wrote:

This could be cool, but is workaroundable. Even with only one costume.
How would you be able to display user-inputted text on the stage without using speech bubbles or think bubbles?
AonymousGuy
Scratcher
1000+ posts

"Print text" Block

slapperbob wrote:

AonymousGuy wrote:

This could be cool, but is workaroundable. Even with only one costume.
How would you be able to display user-inputted text on the stage without using speech bubbles or think bubbles?
See this.
slapperbob
Scratcher
100+ posts

"Print text" Block

AonymousGuy wrote:

slapperbob wrote:

AonymousGuy wrote:

This could be cool, but is workaroundable. Even with only one costume.
How would you be able to display user-inputted text on the stage without using speech bubbles or think bubbles?
See this.
Well yeah, that works, but in my opinion, there should be a simpler way to do it. Besides, many blocks have workarounds. For example, you could use variables instead of broadcasting, but they still have broadcasting blocks just to make it a lot easier.

Last edited by slapperbob (Dec. 25, 2013 04:19:23)

savaka
Scratcher
1000+ posts

"Print text" Block

I think it should go in pen and get cleared with the pen and do pen color.
Chainmanner
Scratcher
100+ posts

"Print text" Block

If you ask me, I'm pretty sure people should be left to their imagination, and make something impressive by working on it themselves. No support.
frodewin
Scratcher
500+ posts

"Print text" Block

I strongly SUPPORT this idea. Every other programming language has a command or function to print to the screen. I have also made a textwriter project but printing text this way is awfully slow and requires a lot of CPU performance (even disrupts music playback, listen to this effect at the beginning of this project)

AonymousProfessor
Scratcher
100+ posts

"Print text" Block

frodewin wrote:

I strongly SUPPORT this idea. Every other programming language has a command or function to print to the screen. I have also made a textwriter project but printing text this way is awfully slow and requires a lot of CPU performance (even disrupts music playback, listen to this effect at the beginning of this project)


Not all text engines are slow.

Not if you make them run without screen refresh.
frodewin
Scratcher
500+ posts

"Print text" Block

AonymousProfessor wrote:

frodewin wrote:

I strongly SUPPORT this idea. Every other programming language has a command or function to print to the screen. I have also made a textwriter project but printing text this way is awfully slow and requires a lot of CPU performance (even disrupts music playback, listen to this effect at the beginning of this project)


Not all text engines are slow.

Not if you make them run without screen refresh.

My textwriter project , as several other's, *does* utilize blocks without screen refresh. Nevertheless printing text by painting it onto the screen is slow and complicated.

Currently, it is not possible to printing text quickly and easy while being able to change fonts and text color. A command for it would help a lot..

Last edited by frodewin (Dec. 26, 2013 21:38:21)

mariobros406
Scratcher
500+ posts

"Print text" Block

slapperbob wrote:

Just a rough idea, but I was thinking, there should be a block that works just like the “say” and “think” blocks, except instead of the text being in a speech bubble, it would just print the text out on the background.
print [Hello!] // category=looks

clear all printed text // category=looks

set font to [Scratch v] // category=looks

set text size to (25) // category=looks

Anyone else think these would be good blocks to have?

First of all, I fixed your blocks. I totally support this idea. Although there are workarounds, it would be nice for New Scratchers.
AonymousGuy
Scratcher
1000+ posts

"Print text" Block

mariobros406 wrote:

First of all, I fixed your blocks. I totally support this idea. Although there are workarounds, it would be nice for New Scratchers.

I think they should be pen blocks.

Anyways, after careful evaluation, I decided I support this.
k9lego
Scratcher
1000+ posts

"Print text" Block

1+ k9lego.
DaSpudLord
Scratcher
1000+ posts

"Print text" Block

johndeere47
Scratcher
100+ posts

"Print text" Block

DaSpudLord wrote:

buurmas wrote:

Similar: https://scratch.mit.edu/discuss/topic/171508/ & https://scratch.mit.edu/discuss/topic/11610/.
Please don't necropost.

I thought you understood necroposting's fine in this forum until the suggestion makes it to Scratch.

Anyway, support for this suggestion, but this is one of many dupes.
DaSpudLord
Scratcher
1000+ posts

"Print text" Block

johndeere47 wrote:

DaSpudLord wrote:

buurmas wrote:

Similar: https://scratch.mit.edu/discuss/topic/171508/ & https://scratch.mit.edu/discuss/topic/11610/.
Please don't necropost.

I thought you understood necroposting's fine in this forum until the suggestion makes it to Scratch.
It's only allowed if the necroposter supports the topic. Making a 3-year necropost just to tell someone about duplicates is entirely unnecessary.
Abstract-
Scratcher
1000+ posts

"Print text" Block

Semi-Support

While other text-based programs have them (For example, ‘console.log “Text Here”’)

Not having these blocks opens oppertunities for impressive projets.
stickfiregames
Scratcher
1000+ posts

"Print text" Block

Support.
The print block should have x and y inputs as well.
buurmas
Scratcher
7 posts

"Print text" Block

DaSpudLord wrote:

It's only allowed if the necroposter supports the topic. Making a 3-year necropost just to tell someone about duplicates is entirely unnecessary.
I apologize – I was unaware of the guideline.

My personal opinion is that this kind of post *is* useful… for people searching the forum for pre-existing threads on a particular topic. In fact, it's frustrating to search the forums for information on a topic and find several different threads covering the same topic, all apparently unaware of the existence of the other similar threads, and all only partially covering the topic dealt with. It would be more useful for people doing searches like that if similar topics could be combined or at least cross-referenced, which is what I was trying to do.

I suppose the problem is that it bumps the thread and makes it seems current to those who are watching for current forum discussions. I apologize for this side effect. I wish I could post helpful information to an old thread without having the bump effect.

Powered by DjangoBB