Discuss Scratch

DaEpikDude
Scratcher
1000+ posts

New Blocks for Displaying Text

fphiladelphia wrote:

Charles12310 wrote:

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)
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
It requires more work than that for a very accurate text engine.

I do think that this should be a pen block instead:

write text [] at x: () y: () with size: () :: pen
Please don’t necropost
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.

And all the world over, each nation's the same,
They've simply no notion of playing the game.
They argue with umpires, they cheer when they've won,
And they practice beforehand, which ruins the fun!
I-Iz-A-Litten
Scratcher
1000+ posts

New Blocks for Displaying Text

no support, just make a sprite for it.

under penalty of law this signature is not to be removed except by the consumer
Charles12310
Scratcher
1000+ posts

New Blocks for Displaying Text

I-Iz-A-Litten wrote:

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.


A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
Wetbikeboy2500
Scratcher
100+ posts

New Blocks for Displaying Text

Charles12310 wrote:

I-Iz-A-Litten wrote:

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.

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.



Scratch Made In JavaScript: https://scratch.mit.edu/discuss/topic/171842
Scratch Browser: https://scratch.mit.edu/discuss/topic/285957/
SB2Downloader: https://scratch.mit.edu/discuss/topic/295425/
Multiple work stations: https://scratch.mit.edu/discuss/topic/122484/
New Blocks for Displaying Text: https://scratch.mit.edu/discuss/topic/171508
Sprite Folders: https://scratch.mit.edu/discuss/topic/171569/
Find code easier: https://scratch.mit.edu/discuss/topic/144748/
A Support Button or No support Button: https://scratch.mit.edu/discuss/topic/181154/
I want Scratch grow and become a better place for everyone to come and use. So Scratch needs to expand and have more options for everyone.Scratch needs to break the boundaries and not be trapped by what is familiar to Scratch community
I-Iz-A-Litten
Scratcher
1000+ posts

New Blocks for Displaying Text

Charles12310 wrote:

I-Iz-A-Litten wrote:

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

under penalty of law this signature is not to be removed except by the consumer
--Waterfall--
Scratcher
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
Scratcher
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)


My Profile

Hi::#11fa12
syenibagci
New to Scratch
1 post

New Blocks for Displaying Text

ok!
AmazingMech2418
Scratcher
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.

I'm a programmer, ethical hacker, and space nerd!

Last edited by Neil Armstrong (July 20, 1969 20:17:00)












sam
venyanwarrior
Scratcher
1000+ posts

New Blocks for Displaying Text

Support for reasons listed above.

If you're seeing this signature, that means I've come out of my social anxiety hole.

Also, I edit the Scratch Wiki. Check it out sometime it's cool I guess.
AFNNetworkK12
Scratcher
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)

Last edited by AFNNetworkK12 (April 18, 2019 16:41:44)


AFN!


| Okay | Hobbyist | Introvert | Active | OK! |


HELLO
Robby_Blue
Scratcher
100+ posts

New Blocks for Displaying Text

Support!

Check out my project showing user's stats
DerpyHead0
Scratcher
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.

when I start as a clone
delete this clone
CoolPenguin10
Scratcher
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

A lot of people are doing this, so I am too.
level (1)\ \ \ \ \ \ \ \ \ \ \ \ \ :: hat :: motion
posts: [27] out of [50] [#4a6cd4] [#4a6cd4] [#4a6cd4] [#4a6cd4] [#4a6cd4] [#FFFFFF] [#FFFFFF] [#FFFFFF] [#FFFFFF] [#FFFFFF]::motion
last updated: [May v] (10) (2019):: cap :: motion

completed levels :: hat :: extension {
none::grey
LuckyLucky7
Scratcher
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.

I have about 3450 posts, 90 shared projects, 180 total created/followed topics, and 425 followers.

-Multinia-
Scratcher
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:
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

LuckyLucky7 wrote:

Support, many Scratchers use text engines in their projects, so this would be convenient to add to the pen extension.
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.
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.

insert epic signature here
imfh
Scratcher
1000+ posts

New Blocks for Displaying Text

-Multinia- wrote:

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
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.

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?

Scratch to Pygame converter: https://scratch.mit.edu/discuss/topic/600562/
coder2045
Scratcher
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

Highlight this text and press Ctrl-Shift-Down to view more of my signature. There's a lot in there.
I FOUND THE POSTIE POSTIE POST LINK THIS
Brainteaser: What comes next? Answer on my profile. First correct answer gets a follow.

[ ]
[ [ ] ]
[ [ [ ] ] [ ] ]
Good projects ⬇️




Luvexina
Scratcher
500+ posts

New Blocks for Displaying Text

Support! I always have to look for a text engine, and some of them don't work.

Support trans youth, in Texas and across the globe!
noogai34
Scratcher
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)


S U C C

Powered by DjangoBB