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.

Pirate: The cannons be ready, captain!
Captain: are*

If my post is in QaS or Suggestions I'm probably serious, but if it's in R&P or M/C then I'm probably not
I-Iz-A-Litten
Scratcher
1000+ posts

New Blocks for Displaying Text

no support, just make a sprite for it.

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


Click This Link For Some Secrets About Me!
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/ (25 Supporters)
New Blocks for Displaying Text: https://scratch.mit.edu/discuss/topic/171508 (7 Supporters)
Sprite Folders: https://scratch.mit.edu/discuss/topic/171569/ (7 Supporters)
Find code easier: https://scratch.mit.edu/discuss/topic/144748/ (5 Supporters)
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

gravel
--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
500+ 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.

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
venyanwarrior
Scratcher
500+ posts

New Blocks for Displaying Text

Support for reasons listed above.


Also check this out.

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)

Robby_Blue
Scratcher
100+ posts

New Blocks for Displaying Text

Support!

Check out my Youtube channel

I make weekly Scratch Tutorials
DerpyHead0
Scratcher
500+ 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 2750 posts, 65 shared projects, 150 total created/followed topics, and 120 followers.
-Multinia-
Scratcher
35 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?

when signature read:: events hat
say [Not much here...] for (2) secs
coder2045
Scratcher
100+ 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

Thank you for reading this post. Your view to this topic has been submitted.
VFDan
Scratcher
100+ posts

New Blocks for Displaying Text

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

My signature will never be eaten by an evi -This signature was eaten by an evil kumquat.
noogai34
Scratcher
44 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)


when I receive [KUMQUAT INBOUND!! v]
[yeet v] all [inbound kumquats v] [out of this arena v]:: motion
SENTENCE BUILDER TIME!!!!!
([Hello! v] [Wait... v] [WHY ISN'T THIS 3.0!?!?!?!??! v] [WHY IS THIS STILL 2.0!?!?!?!? v] [WE'VE WAITED LONG ENOUGH! v] :: operators)
Not a hate letter.

Powered by DjangoBB

Standard | Mobile