Discuss Scratch

TheBrainTumorCharity
Scratcher
19 posts

Transparent colour

My idea is that another colour could be introduce when making sprites which would appear in the sprite editor as maybe a glassy colour? but in the actual game/project it would be invisible, but there, meaning you could create things like hit boxes and games could benefit a lot from this.
Wahsp
Scratcher
1000+ posts

Transparent colour

Do you mean
change [ghost v] effect by (--) // at 100% this effect makes the sprite invisible

Thefrenchpeople wrote:

Read the stickies; they're good for your brain; if you do, we won't go insane
stickfiregames
Scratcher
1000+ posts

Transparent colour

Wahsp wrote:

Do you mean
change [ghost v] effect by (--) // at 100% this effect makes the sprite invisible
No, it would be a colour in the paint editor.

That said, it is possible to get a 99% ghosted colour using just the paint editor but it isn't easy, and it is probably still visible against certain backgrounds. The best way to do what the OP is trying to do is to have a separate costume or sprite for the hitbox.










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
wWSunPandaWw
Scratcher
1000+ posts

Transparent colour

stickfiregames
Scratcher
1000+ posts

Transparent colour

wWSunPandaWw wrote:

Duplicate.
Not the same thing. This is asking for a completely invisible colour that still triggers touching tests, and that is asking for semitransparent colours.










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
DaEpikDude
Scratcher
1000+ posts

Transparent colour

For hitboxes you can just create a costume that has the hitbox, switch to it at the start of the script, do whatever needs the hitbox then switch back at the end.
This feels really specific and doesn't seem like it'd actually be all that useful.

“You can buy everything except love, friendship and experience points.”
- Topolla Theatre Manager
wWSunPandaWw
Scratcher
1000+ posts

Transparent colour

stickfiregames wrote:

wWSunPandaWw wrote:

Duplicate.
Not the same thing. This is asking for a completely invisible colour that still triggers touching tests, and that is asking for semitransparent colours.
I don't get it. Don't we already have a transparency color?

I moved to BelieverGirlSun
Botcho_Otkho
Scratcher
1000+ posts

Transparent colour

I can't undertand at all. What are you trying to say?

IMPORTANT! READ:
Don't write things someone already said. It's useless.
If you want to point a duplicate, please don't write just “Duplicate” when you don't have the link. At least say that you can't do it because -reasons-. Writing it and then going away does not help.
Don't write “I agree”, “this” or just quote without adding something constructive. It doesn't help.
No supporting because “you can do this elsewhere” is not a valid reason. If it was, the suggestion forum wouldn't exist because you can do everything elsewhere.
A simple workaround is not, never was and will never be a reason to no-support a suggestion. There are plenty of blocks with simple workarounds in Scratch right now, and there's a reason if the ST still added them.
No supporting because “it can turn into a competition” is not a reason, since it can happen everywhere (such as follows). Post count: 1900+
paws48
Scratcher
100+ posts

Transparent colour

You could always just get the little white square with the red line through it and and another color, do a gradient, and there you go! Specific areas of the sprite are transparent.
stickfiregames
Scratcher
1000+ posts

Transparent colour

wWSunPandaWw wrote:

I don't get it. Don't we already have a transparency color?

Botcho_Otkho wrote:

I can't undertand at all. What are you trying to say?
The normal transparent colour isn't detected by the
<touching [ v] ?>
block, but this suggestion would be.

To be honest I don't really think this would be useful enough to be worth adding, since the workarounds are fairly easy and give you more control.










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;

Powered by DjangoBB

Standard | Mobile