Discuss Scratch
- -PoisonIvy-
- Scratcher
30 posts
Custom Text Blocks
I had some ideas about text and fonts blocks because as of now the default fonts in the sprite selection are quite bad and some projects have inconsistent font sizes. A different way would be to make the text in a different program then import the .png file but that is very time consuming. I made these blocks here and i will explain what they each do.
The blocks:
I hope the scratch team consider this as it will be a good addition and speed up production of projects, specifically text based stories and we would no longer have to deal with the standard speech bubbles which might ruin the theme for some projects.
Thank you!
The blocks:
print [] size () at x:() y:() for () secs^^^ Pretty self-explanatory, prints out a string of text at a certain size at the location (x) and (y) and will display for n seconds.
print [] size () at x:() y:()^^^ Same as above but stays forever.
font ()^^^ This defines the font that the text will be printed out. Fonts can be created in a scratch font editor or you can import a .ttf file with your font. you could also choose what characters you want to have, eg: Capital letters only, Lowercase, Numbers, Special characters etc.
change text opacity by ()^^^ Fairly simple, changes text opacity.
change text color by ()^^^ Also simple, changes text color.
change text brightness by ()^^^ Straight-forward, 100 is white, 0 is black.
clear text effects^^^ Resets text effects.
delete all text^^^ Deletes all text on screen
delete all text by this sprite^^^ Deletes all text on screen which was displayed by a single sprite.
I hope the scratch team consider this as it will be a good addition and speed up production of projects, specifically text based stories and we would no longer have to deal with the standard speech bubbles which might ruin the theme for some projects.
Thank you!
Hello, I make Operating Systems and stuff like that, check out MonochromeOS:
MonochromeOS 0.96-rc1 Beta: (Code name: Cinnamon)
- Littledoggygirl45
- Scratcher
100+ posts
Custom Text Blocks
No support. There are workarounds.
Urgent Message!http://huggle.jdf2.org/hug/MoonyTheLoony
Everybody needs to go onto youtube and view the Stressed Out music video so we can get it to one billion views by our deadline!|-/
also while your at it can I have a huggle?
- jokebookservice1
- Scratcher
1000+ posts
Custom Text Blocks
Hi! Great to see you showing your opinion, but when posting, please remember to add something to the discussion. You could, for example, explain the workarounds, and then say whether you think that the workarounds are easy or difficult, and then state an opinion on whether the blcoks (maybe in a new, separate, category) should be added to Scratch. No support. There are workarounds.
Not liking a suggestion because there are workarounds is like disliking the
<[ v] contains [thing] ?>block because it has a workaround: it is just less efficient when Scratch does it vs when Scratch's Interpreter does it. My point is that loads of blocks in Scratch are workaroundable, so that isn't really a reason to “No Support”.
Last edited by jokebookservice1 (Nov. 5, 2016 11:56:08)
- -PoisonIvy-
- Scratcher
30 posts
Custom Text Blocks
I support this! Can I also add:-Delete all text by Stage // Just incase people didn't realise that this would be there as well.andDelete all text by [Sprite1 v] // To delete text made by one sprite (Sprite1) in a script on another sprite (Sprite2)Do you like these?
Thanks for supporting!
Your two blocks would also fit in there with the other ones i mentioned above.
Hello, I make Operating Systems and stuff like that, check out MonochromeOS:
MonochromeOS 0.96-rc1 Beta: (Code name: Cinnamon)
- Thelnvoker
- Scratcher
100+ posts
Custom Text Blocks
I semi-support. This is a good idea, but, as stated above,
Some of these workarounds include making your own fonts (in the vector editor), downloading fonts, or using fonts downloaded by other scratchers (Ex: @FontGod, @-Fontify-).
However, like you said, this is time consuming, so it would be nice if this were a thing.
Thanks for reading,
~lnvokey
No support. There are workarounds.
Some of these workarounds include making your own fonts (in the vector editor), downloading fonts, or using fonts downloaded by other scratchers (Ex: @FontGod, @-Fontify-).
However, like you said, this is time consuming, so it would be nice if this were a thing.
Thanks for reading,
~lnvokey
I'm a basically a potato or cat or something with a very dark sense of humor who likes steampunk, traditional art, Skyrim, etc.
Anyone wanna RP with me?
- WolfCat67
- Scratcher
1000+ posts
Custom Text Blocks
I changed your blocks to a different colour as I feel as though they would be added as it's own section. Hope this helps you in some way or another…?
print [] size () at x:() y:() for () secs :: #888888
print [] size () at x:() y:() :: #888888
font () :: #888888
change text opacity by () :: #888888
change text color by () :: #888888
change text brightness by () :: #888888
clear text effects :: #888888
delete all text :: #888888
delete all text by this sprite :: #888888
- MathlyCat
- Scratcher
1000+ posts
Custom Text Blocks
I don't see how this can't just be put in the editors?
Think before you act.
Actions speek louder than words.
hi there fella
Actions speek louder than words.
hi there fella
- shd02
- Scratcher
100+ posts
Custom Text Blocks
I support this idea because it is much easier to use these blocks. The workarounds are mostly based on making a new sprite or costume. I think those workarounds don't really take much programming skill; they just take a lot of work. Also, other languages have text blocks.
- -PoisonIvy-
- Scratcher
30 posts
Custom Text Blocks
Also it would lower project loading and upload times and the editor will be more organised because you wouldnt need to make new sprites for text. I support this idea because it is much easier to use these blocks. The workarounds are mostly based on making a new sprite or costume. I think those workarounds don't really take much programming skill; they just take a lot of work. Also, other languages have text blocks.
Hello, I make Operating Systems and stuff like that, check out MonochromeOS:
MonochromeOS 0.96-rc1 Beta: (Code name: Cinnamon)
- -PoisonIvy-
- Scratcher
30 posts
Custom Text Blocks
I didnt know how to change the color of blocks until i saw this post, thank you! I changed your blocks to a different colour as I feel as though they would be added as it's own section. Hope this helps you in some way or another…?print [] size () at x:() y:() for () secs :: #888888print [] size () at x:() y:() :: #888888font () :: #888888change text opacity by () :: #888888change text color by () :: #888888change text brightness by () :: #888888clear text effects :: #888888delete all text :: #888888delete all text by this sprite :: #888888
Also i would change the font block to this:
font (comic sans v) :: #888888
Hello, I make Operating Systems and stuff like that, check out MonochromeOS:
MonochromeOS 0.96-rc1 Beta: (Code name: Cinnamon)
- shd02
- Scratcher
100+ posts
Custom Text Blocks
I think
print [] size () at x:() y:() for () secs :: #888888is a very long block. I think there should be a block like this:
set size to () pts. :: #888888This would make the text block similar to pen blocks with separate blocks to adjust size.
Last edited by shd02 (Nov. 6, 2016 15:15:41)
- -PoisonIvy-
- Scratcher
30 posts
Custom Text Blocks
I didnt know how to change the color of blocks until i saw this post, thank you! I changed your blocks to a different colour as I feel as though they would be added as it's own section. Hope this helps you in some way or another…?print [] size () at x:() y:() for () secs :: #888888print [] size () at x:() y:() :: #888888font () :: #888888change text opacity by () :: #888888change text color by () :: #888888change text brightness by () :: #888888clear text effects :: #888888delete all text :: #888888delete all text by this sprite :: #888888
Also i would change the font block to this:font (comic sans v) :: #888888print [] size () at x:() y:() for () secs :: #888888is a very long block. I think there should be a block like this:set size to () pts. :: #888888This would make the text block similar to pen blocks with separate blocks to adjust size.
That would work but that would change the size for all text. I would keep the long block in case they want to make a specific piece of text different to other ones as opposed to making all of them the same size. Good suggestion though and i would definately add it!
Hello, I make Operating Systems and stuff like that, check out MonochromeOS:
MonochromeOS 0.96-rc1 Beta: (Code name: Cinnamon)
- jokebookservice1
- Scratcher
1000+ posts
Custom Text Blocks
Actually, it wouldn't be a problem:
set size ()
CODE
set size()
UNIQUE TEXT
So if this is going to be implemented, the blocks can and should be concise.
set size ()
CODE
set size()
UNIQUE TEXT
So if this is going to be implemented, the blocks can and should be concise.
- shd02
- Scratcher
100+ posts
Custom Text Blocks
I think the text should be similar to the pen. If you change the size for the pen, it only changes size for lines that will be drawn. I don't think size should be able to be adjusted. If size could be adjusted, text would be similar to clones. There is a limit of 301 clones. Text will slow down the computer if there is a lot of it.I thinkprint [] size () at x:() y:() for () secs :: #888888is a very long block. I think there should be a block like this:set size to () pts. :: #888888This would make the text block similar to pen blocks with separate blocks to adjust size.
That would work but that would change the size for all text. I would keep the long block in case they want to make a specific piece of text different to other ones as opposed to making all of them the same size. Good suggestion though and i would definately add it!
Sorry if that is not what you meant, but this is how to use my block:
print [abc] size (11) at x:(0) y:(0) for (5) secs :: #888888can turn to
set size to (11) pts. :: #888888
print [abc] at x:(0) y:(0) for (5) secs :: #888888
- -PoisonIvy-
- Scratcher
30 posts
Custom Text Blocks
Oh that makes more sense now! I agree with your idea nowI think the text should be similar to the pen. If you change the size for the pen, it only changes size for lines that will be drawn. I don't think size should be able to be adjusted. If size could be adjusted, text would be similar to clones. There is a limit of 301 clones. Text will slow down the computer if there is a lot of it.I thinkprint [] size () at x:() y:() for () secs :: #888888is a very long block. I think there should be a block like this:set size to () pts. :: #888888This would make the text block similar to pen blocks with separate blocks to adjust size.
That would work but that would change the size for all text. I would keep the long block in case they want to make a specific piece of text different to other ones as opposed to making all of them the same size. Good suggestion though and i would definately add it!
Sorry if that is not what you meant, but this is how to use my block:print [abc] size (11) at x:(0) y:(0) for (5) secs :: #888888can turn toset size to (11) pts. :: #888888
print [abc] at x:(0) y:(0) for (5) secs :: #888888
Hello, I make Operating Systems and stuff like that, check out MonochromeOS:
MonochromeOS 0.96-rc1 Beta: (Code name: Cinnamon)
- WolfCat67
- Scratcher
1000+ posts
Custom Text Blocks
Oh, also, support! I would love this. You don't know how often I want to add text generators but don't want to use
a) Custom Blocks
b) Variables
c) Millions of Costumes on one Sprite
to do it. This would help a LOT!
a) Custom Blocks
b) Variables
c) Millions of Costumes on one Sprite
to do it. This would help a LOT!
- -PoisonIvy-
- Scratcher
30 posts
Custom Text Blocks
Bump!
Hello, I make Operating Systems and stuff like that, check out MonochromeOS:
MonochromeOS 0.96-rc1 Beta: (Code name: Cinnamon)
- Solmux
- Scratcher
100+ posts
Custom Text Blocks
You could just… you know, make each letter of the alphabet into a costume, clone each costume for the words you want to make…
That takes so long… Because of that, I support.
That takes so long… Because of that, I support.
v i s i t m y p r o f i l e o r e l s e y o u w i l l b e b a n i s h e d f r o m t h e l a n d o f e x i s t e n c e . f o l l o w t o o .
this is very sad. can we hit 50 likes pls?
- 1004587
- Scratcher
1000+ posts
Custom Text Blocks
You could just… you know, make each letter of the alphabet into a costume, clone each costume for the words you want to make…
That takes so long… Because of that, I support.
Solmux, ever heard someone say that just because something may take long or be hard doesn't mean it should be made simple?
Also, to the idea of these text blocks, I say no support. There are numerous text generators out there, and if you don't like those, try to make one.