Discuss Scratch

StrangeMagic32
Scratcher
1000+ posts

Variable Transparency

I thought of an idea while I was messing around with one of my projects, and that idea was variable transparency.

I would like it if you could change the transparency of a variable, because it would make seeing behind variables possible.

Let's say you have a pen drawer type thing and you would want to see all of the drawing, so you could just make the variable transparent.
Why should you have to hide them to see your drawing?

What do you think?

Possible Implementations

Flipped_ wrote:









Last edited by StrangeMagic32 (May 16, 2019 00:03:21)



“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10


I have since moved to @JollyWinter
dogeiscut
Scratcher
500+ posts

Variable Transparency

transparency exists, the ghost effect, or pen transparency in the
change pen [color v] by ()::pen

peanut
StrangeMagic32
Scratcher
1000+ posts

Variable Transparency

dogeiscut wrote:

transparency exists, the ghost effect, or pen transparency in the
change pen [color v] by ()::pen
I know that that exists, I think you missed the point… I'm suggesting transparency for variables that way if you had a pen drawing you could see it from behind the variable

Last edited by StrangeMagic32 (May 15, 2019 21:18:03)



“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10


I have since moved to @JollyWinter
dogeiscut
Scratcher
500+ posts

Variable Transparency

oh!

peanut
StrangeMagic32
Scratcher
1000+ posts

Variable Transparency

dogeiscut wrote:

oh!
due to you I have successfully rephrase my post, thank you

Last edited by StrangeMagic32 (May 15, 2019 22:22:16)



“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10


I have since moved to @JollyWinter
Flipped_
Scratcher
500+ posts

Variable Transparency

Support. I'd find it useful for projects that I need to display variables without covering up a part of the stage. Perhaps you could use blocks and have a right-click option?










Note: The images wouldn't show up, so I edited the post and it seems to be fixed.

Last edited by Flipped_ (May 16, 2019 00:45:57)


☄️ Hey! I'm Flipped_. ☄️

Here, you can sit down in that chair over there. No no, that one. The other
one is reserved for my pet coelacanth.
I guess we wait now. Feel free to drink some orange juice
in the meantime.
———————————————
StrangeMagic32
Scratcher
1000+ posts

Variable Transparency

Flipped_ wrote:

Support. I'd find it useful for projects that I need to display variables without covering up a part of the stage. Perhaps you could use blocks and have a right-click option?
-snip-
yeah, I like it

Last edited by StrangeMagic32 (May 16, 2019 00:03:56)



“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10


I have since moved to @JollyWinter
awesome5185
Scratcher
1000+ posts

Variable Transparency

I'd say support; it'll be a lot easier than making number sprites for a variable then making it transparent.

set [ v] transparency to []

^ Sorry I forgot how to change block colours

Last edited by awesome5185 (May 16, 2019 00:43:50)


Regards,
awesome5185

Featured Studio!
Ask Ouija!
Ask a question and get your answers one. letter. at. a. time. Join now!

; Santa Claus and Mrs Claus wanted to get a devorce. However, being in the north pole, there was no one there to help them do that. So they used a semi colon instead; they are great for seperating two independent clauses.
StrangeMagic32
Scratcher
1000+ posts

Variable Transparency

awesome5185 wrote:

I'd say support; it'll be a lot easier than making number sprites for a variable then making it transparent.

set [ v] transparency to []

^ Sorry I forgot how to change block colours
::variables
like so
set [ v] transparency to []::variables

Last edited by StrangeMagic32 (May 16, 2019 00:47:28)



“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10


I have since moved to @JollyWinter
StrangeMagic32
Scratcher
1000+ posts

Variable Transparency

send thy post to the top


“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10


I have since moved to @JollyWinter
StrangeMagic32
Scratcher
1000+ posts

Variable Transparency

bump


“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10


I have since moved to @JollyWinter
StrangeMagic32
Scratcher
1000+ posts

Variable Transparency

bump


“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10


I have since moved to @JollyWinter
Troyer_Kem
Scratcher
1000+ posts

Variable Transparency

Support.This would add effects to projects and make them cooler!
We can use it like this:
when I receive [shop v]
set [ghost v] effect to (100)
set [coins v] transparent to (100) :: variables
show
show variable [coins v]
repeat (25) // The variable and menu will appear!
change [ghost v] effect by (-4)
change [coins v] transparent by (-4) :: variables
end

If you're seeing this account, I'm Morimop and the reason that I use this account is:

**I'm too lazy to switch accounts**
**I forget my password**
**I got a forum message while drawing something**
CatsUnited
Scratcher
1000+ posts

Variable Transparency

I think that the primary purpose of a variable (along with lists too) is to store information, with displaying that information being only a secondary priority. I say this because if variables were more focused on displaying information nicely, you'd think there would be other features such as changing the color of the background or the color of the variable text, or having any size available for that variable to take up.

The reason that the small, large and slider layouts for variables exist is just to give a bit more customisation options for Scratchers who aren't yet skilled enough to create or use a costume or pen based text engine to display custom shaped text themselves and because it's useful for debugging purposes. Having transparency for variables has no practical purpose - it would just make your projects look cool, and I think that goes against the ST's intentions for the use of variables. If you want to make your variable displays look super cool, I would suggest just using a costume/pen based text engine, since those are specially designed to display text in all sorts of ways, and it would give you a lot more options than just having a transparency effect.

bottom text
StrangeMagic32
Scratcher
1000+ posts

Variable Transparency

CatsUnited wrote:

I think that the primary purpose of a variable (along with lists too) is to store information, with displaying that information being only a secondary priority. I say this because if variables were more focused on displaying information nicely, you'd think there would be other features such as changing the color of the background or the color of the variable text, or having any size available for that variable to take up.

The reason that the small, large and slider layouts for variables exist is just to give a bit more customisation options for Scratchers who aren't yet skilled enough to create or use a costume or pen based text engine to display custom shaped text themselves and because it's useful for debugging purposes. Having transparency for variables has no practical purpose - it would just make your projects look cool, and I think that goes against the ST's intentions for the use of variables. If you want to make your variable displays look super cool, I would suggest just using a costume/pen based text engine, since those are specially designed to display text in all sorts of ways, and it would give you a lot more options than just having a transparency effect.
Yes I understand that they are mainly for storing information, but as I've done a lot of projects that just use variable sliders to change things just for demonstration purposes, I've noticed that they tend to get in the way sometimes, and I do know I could use keys to hide and show, but fair points


“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10


I have since moved to @JollyWinter

Powered by DjangoBB