Discuss Scratch

SBJ1943
Scratcher
52 posts

Inserting line break in 'Say' block

Is it possible to insert a line break in ‘Say’ block?
e.g.

How to make a Sprite tell something like this

Data 1 =
40
Data 2 =
35


Presently the entire message comes as a single message.

Live life powerfully
Bright-Idea
Scratcher
1000+ posts

Inserting line break in 'Say' block

Try pressing space a million times? I haven't tested it, but that might work.

Last edited by Bright-Idea (Nov. 7, 2016 23:36:53)


I’m Back!
SBJ1943
Scratcher
52 posts

Inserting line break in 'Say' block

I have tried spaces. But output is unpredictable. An eye dropper for text color may also be added !
A fancy suggestion !

https://scratch.mit.edu/projects/129616823/

Last edited by SBJ1943 (Nov. 7, 2016 23:59:00)


Live life powerfully
amylaser
Scratcher
500+ posts

Inserting line break in 'Say' block

Well, the maximum width of the text box is about 16 characters, so if you use enough spaces to fill up that range, then you should be able to mimic line breaks…? Maybe?

To be more exact, the maximum width is the length of the following text block:

say [abcdefghijklm]

So you can try using that block as a template / “ruler” to measure how long you should make the series of spaces.

Last edited by amylaser (Nov. 8, 2016 04:50:02)


Art, Animations, and Games!


~click one to check it out~
SBJ1943
Scratcher
52 posts

Inserting line break in 'Say' block

Thank you very much - ‘amylaser’. Now I know that the measurement is 16 characters. I was also thinking on these lines as a solution for the ‘Say’ block as it is now.

But let us jointly try to convince Scratch team to give us this !

https://scratch.mit.edu/projects/129616823/

I am proud and immensely grateful to Scratch team for giving such a wonderful Creative tool. I am confident that they WILL be able to bring this change - a sort of mini - rich text editor !!!!

Live life powerfully
wargreymon321
Scratcher
22 posts

Inserting line break in 'Say' block

My browser / operating system: ChromeOS 13020.87.0, Chrome 83.0.4103.119, Flash 32.0 (release 0)

Signature Cool Signature

if <> then
read next post
end
Wyan100
Scratcher
1000+ posts

Inserting line break in 'Say' block

wargreymon321 wrote:

My browser / operating system: ChromeOS 13020.87.0, Chrome 83.0.4103.119, Flash 32.0 (release 0)

Please do not post random stuff on old topics, it bumps them back up to the top of the Forums.

"But don't quote me on it!" - Wyan100, 2020

Powered by DjangoBB

Standard | Mobile