I propose the print[] block. This would be a simple form of output that does not use the say/think blocks. The say/think blacks are great, but they require a sprite that looks like it can talk and add a cartoonish look to more serious projects. The print[] block would print text in the sprite's current position. The sprite could be hidden or shown (like pen). There could also be "change font to[^]," "change font size to[]," and "change font color to []." So what do you think?
Edit: There could also be a "print[] at x() y()." The Scratcher could choose which would work best for the project.
Last edited by scmb1 (2009-11-26 20:34:31)
Offline
Oh yes, I would love this! All "real" programming languages have this, so why not? Even the primitive TI Basic (extinct) has a print feature.
It would also be good for simple applications, such as a printer. No need for a variable, a stamp sprite (urgh), or lists.
We shall bump this up if neccessary! It is a perfectly normal instruction!
....................................
However, the font variations makes me think. It now seems more like an extra feature, rather than a plain instruction that goes in all programming languages. But I won't mind the blocks, and I won't mind their absence either.
What I like most is the print feature!
Offline
Yes, definitely! And you should be able to change font and size and color...
Offline
Cool! Obviously its possible, with all of these text projects people have made, but its too complicated.
Offline
Why at the sprite's position? I'd rather like to see "print [] at x:[] y:[]" so we don't have any limitations ;P
Offline
technoguyx wrote:
Why at the sprite's position? I'd rather like to see "print [] at x:[] y:[]" so we don't have any limitations ;P
You're right. Then we can have a simple, sprite-less application like all the fancy ones out there. Just print!
Offline
technoguyx wrote:
Why at the sprite's position? I'd rather like to see "print [] at x:[] y:[]" so we don't have any limitations ;P
Good point!
Offline
technoguyx wrote:
Why at the sprite's position? I'd rather like to see "print [] at x:[] y:[]" so we don't have any limitations ;P
Yes, good idea. Perhaps the background can have blocks like that and sprites can have blocks that print at their position. That way, the Scratcher can use the one that is easier for the project.
Offline
scmb1 wrote:
technoguyx wrote:
Why at the sprite's position? I'd rather like to see "print [] at x:[] y:[]" so we don't have any limitations ;P
Yes, good idea. Perhaps the background can have blocks like that and sprites can have blocks that print at their position. That way, the Scratcher can use the one that is easier for the project.
Nice one! I agree with that, and others probably will.
Let's see what they think.
Offline
scmb1 wrote:
technoguyx wrote:
Why at the sprite's position? I'd rather like to see "print [] at x:[] y:[]" so we don't have any limitations ;P
Yes, good idea. Perhaps the background can have blocks like that and sprites can have blocks that print at their position. That way, the Scratcher can use the one that is easier for the project.
Great idea!
You should edit your topic post then... the Scratch Team will know exactly what we want.
Offline
fg123 wrote:
But then some early scratchers will get confused.
"I use this print thing and words appear out of nowhere! o.O"
lol
Hmm... I guess it depends on how much the Scratch knows. But it does make sense; "Print" means to print something.
Offline
fg123 wrote:
But then some early scratchers will get confused.
"I use this print thing and words appear out of nowhere! o.O"
lol
Hmm.... Perhaps "Print[] at sprite's position"
Last edited by scmb1 (2009-11-26 20:32:32)
Offline
scmb1 wrote:
Hmm.... Perhaps "Print[] at sprite's position"
Just { print[] at (x) (y) } works fine.
Offline
gershmer wrote:
scmb1 wrote:
Hmm.... Perhaps "Print[] at sprite's position"
http://gershmer.net/print.gif
Just { print[] at (x) (y) } works fine.
Yes, you are right. However, there are many blocks than could be replaced by other blocks and are just there to make it simpler. I would be happy with just the block you showed, but others might like both. Whatever combination, I hope the print block happens!
Offline