I asked questions about this, and a Scratch Team member recommended I post it as a suggestion.
Scratch should provide a way to display strings (with or without a textbox background) with some basic options like resizing text. Expanding Scratch to support string output would be useful in many ways, from println()-like output to displaying dynamic messages to users. As a Computer Science teacher, having text output makes Scratch MUCH more appealing to use in the classroom, particularly for CS0 classes.
Offline
This needs to be implemented - pretty much every decent language I've seen let's your print strings.
To simplify it since Scratch is meant to be for kids, maybe something like [write [] at x: () y: ()] would be good enough. Also maybe [set writing size to ()] and [set writing color to ()] like with the Pen.
Last edited by technoguyx (2011-01-06 23:18:36)
Offline
technoguyx wrote:
This needs to be implemented - pretty much every decent language I've seen let's your print strings.
To simplify it since Scratch is meant to be for kids, maybe something like [write [] at x: () y: ()] would be good enough. Also maybe [set writing size to ()] and [set writing color to ()] like with the Pen.
Or maybe it would use the pen color...
Offline
Ooh, every programming language lets you print - after all, how else will you do a Hello World thing?
I so support
Offline
Have you seen how my Adventure game prints strings to the screen?
http://scratch.mit.edu/projects/BoltBait/1516358
That might work for you... at least as a hack.
Offline