Discuss Scratch
- DaEpikDude
-
1000+ posts
New Blocks for Displaying Text
Necroposting is OK if it adds to the conversation. Generally you can't necro on Suggestions because you can always discuss the suggestion more, unless it's been added or has since been rejected.Please don’t necropost Support for text displaying. The workaround is very complicated and difficult, and it's not just something like this:define write (string) at x:(x):y(y) with size: (s)It requires more work than that for a very accurate text engine.
hide
set size to (s)%
go to x:(x)y:(y)
set [letter v] to [0]
repeat (length of (string))
change [letter v] by (1)
change x by (5)
switch costume to (letter (letter) of (string))
stamp
end
I do think that this should be a pen block instead:write text [] at x: () y: () with size: () :: pen
- I-Iz-A-Litten
-
1000+ posts
New Blocks for Displaying Text
no support, just make a sprite for it.
- Charles12310
-
1000+ posts
New Blocks for Displaying Text
If you are talking about creating a sprite and then putting text, then I agree. no support, just make a sprite for it.
If it's about writing text by block, or whatever other users say, then it would require a lot of scripting.
- Wetbikeboy2500
-
100+ posts
New Blocks for Displaying Text
If you are talking about creating a sprite and then putting text, then I agree. no support, just make a sprite for it.
If it's about writing text by block, or whatever other users say, then it would require a lot of scripting.
This block would be for displaying dynamically made text on the screen. It could be used to add captions to the bottom of your project instead of just having speech bubbles pop-up out of sprites.
- I-Iz-A-Litten
-
1000+ posts
New Blocks for Displaying Text
no support, just make a sprite for it.If you are talking about creating a sprite and then putting text, then I agree.
If it's about writing text by block, or whatever other users say, then it would require a lot of scripting.
I'm talking about the bolded one
- --Waterfall--
-
500+ posts
New Blocks for Displaying Text
Support. For beginners, this would be a lot easier to use rather than having to make a text engine.
- TurtleCoder10901
-
11 posts
New Blocks for Displaying Text
must be pen
write[text] at [x] [y] [size] [color] [font]::stack pen
Last edited by TurtleCoder10901 (Nov. 14, 2018 03:11:25)
- AmazingMech2418
-
1000+ posts
New Blocks for Displaying Text
Support, but instead of overflowing to invisible space, it should increase the height and width of the textbox to fill visible space.
- venyanwarrior
-
1000+ posts
New Blocks for Displaying Text
Support for reasons listed above.
- AFNNetworkK12
-
1000+ posts
New Blocks for Displaying Text
semi–support. you can use workarounds, but i would like it to be simple, but it just seems troublesome to me.
(oops, i'm sorry for necroposting)
(oops, i'm sorry for necroposting)
Last edited by AFNNetworkK12 (April 18, 2019 16:41:44)
- DerpyHead0
-
1000+ posts
New Blocks for Displaying Text
the blocks as they are have too many inputs compared to every other block, it might not even fit in the block list.
it's a good idea on paper, but it's not a good solution. no support.
it's a good idea on paper, but it's not a good solution. no support.
- CoolPenguin10
-
30 posts
New Blocks for Displaying Text
I support that. Here, I made some blocks that could be used for the sprite.
set text to [Hello world!]::looks
set color to [#FF0000]::looks
set font to [Arial v]::looks
set background color to [#FF0000]::looks
set font size to [18]::looks
- LuckyLucky7
-
1000+ posts
New Blocks for Displaying Text
Support, many Scratchers use text engines in their projects, so this would be convenient to add to the pen extension.
- -Multinia-
-
38 posts
New Blocks for Displaying Text
Since I posted a topic that turned out to be a duplicate of this one, I'll just post my suggestion here again:
As I said in my original post, Scratch 3.0 runs on HTML, so I'm sure it wouldn't be too hard to add this feature.
set text style [sans-serif v] :: pen
set text size (12) pt :: pen
set text color [#ABCDEF] :: pen
set text alignment [left v] :: pen
draw text [hello world] at x: () y: () :: pen
This is exactly why I made a topic about the suggestion in the first place. Having blocks made specifically for rendering text would be incredibly useful for many types of projects, especially ones that involve constantly changing numbers, such as clicker games. Support, many Scratchers use text engines in their projects, so this would be convenient to add to the pen extension.
As I said in my original post, Scratch 3.0 runs on HTML, so I'm sure it wouldn't be too hard to add this feature.
- imfh
-
1000+ posts
New Blocks for Displaying Text
What would the text alignment do? Would it make the draw text start at a different point? If so, it seems kind of confusing to word it like that. It could be replaced by a text width block which would allow more possibilities than the text alignment block. It would be harder to make right/center alignment, but it would add better word wrapping potential too. Since I posted a topic that turned out to be a duplicate of this one, I'll just post my suggestion here again:set text style [sans-serif v] :: pen
set text size (12) pt :: pen
set text color [#ABCDEF] :: pen
set text alignment [left v] :: pen
draw text [hello world] at x: () y: () :: pen
Also, if this is part of the pen extension, there is no need for the text color block as it would be a duplicate of set pen color. Text size could also be replaced by set pen size, but that would probably be confusing. I would suggest the pen size not effect the text weight either.
set text style [sans-serif v] :: pen
set text size (12) pt :: pen
draw text [hello world] at x: () y: () :: pen
width of [] ::pen ring
There would be problems with this and bitmap as the rendered text would be pixelated. What if this was implemented as a new extension, but it added a new svg pen layer for text?
- coder2045
-
1000+ posts
New Blocks for Displaying Text
Support. I have to have an orange background behind the main variable in my clicker games. Also I would love this to be possible:
when green flag clicked
forever
draw text (Points)::pen
erase all::pen
end
- Luvexina
-
500+ posts
New Blocks for Displaying Text
Support! I always have to look for a text engine, and some of them don't work.
- noogai34
-
46 posts
New Blocks for Displaying Text
Now more messages are conveyed.
Speak [Text]:: pen stack
Last edited by noogai34 (April 28, 2019 14:23:27)