Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Saturation block works fine, but brightness comes in and breaks everything.
- griefercube
- Scratcher
500+ posts
Saturation block works fine, but brightness comes in and breaks everything.
So I have this project, and saturation works fine. But once I change the brightness variable, it malfunctions and the saturation is back. But if I change the costume’s brightness in the editor, it doesn’t break.
Any ideas on how to fix this?
Any ideas on how to fix this?
sometimes, you just have to change a way of thinking to solve a problem. -griefercube
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
Last edited by griefercube (32th Undecimber, XXXX)
https://turbowarp.org/563693837/editor (something i did a while back don’t worry it’s for the banner)
list of working bbcodes:
[color=]
[scratchblocks]
[url=]
[img]
[center]
[code]
[code=]
[list]
[quote]
[b]
[i]
[u]
[s]
[big]
[small]
[p]
[wiki]
[google]
- han614698
- Scratcher
1000+ posts
Saturation block works fine, but brightness comes in and breaks everything.
I don't see a problem, except that if `brightness` is 100> it is a white silhouette…
<Scratch Wikian // 2000+ Edits | Forum Helper // 7000+ Posts | Scratcher // 530+ Followers>
banner coming soon…
- griefercube
- Scratcher
500+ posts
Saturation block works fine, but brightness comes in and breaks everything.
Try setting saturation to 0 and brightness to 50
sometimes, you just have to change a way of thinking to solve a problem. -griefercube
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
Last edited by griefercube (32th Undecimber, XXXX)
https://turbowarp.org/563693837/editor (something i did a while back don’t worry it’s for the banner)
list of working bbcodes:
[color=]
[scratchblocks]
[url=]
[img]
[center]
[code]
[code=]
[list]
[quote]
[b]
[i]
[u]
[s]
[big]
[small]
[p]
[wiki]
[google]
- griefercube
- Scratcher
500+ posts
Saturation block works fine, but brightness comes in and breaks everything.
still couldn’t figure out the answer.
sometimes, you just have to change a way of thinking to solve a problem. -griefercube
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
Last edited by griefercube (32th Undecimber, XXXX)
https://turbowarp.org/563693837/editor (something i did a while back don’t worry it’s for the banner)
list of working bbcodes:
[color=]
[scratchblocks]
[url=]
[img]
[center]
[code]
[code=]
[list]
[quote]
[b]
[i]
[u]
[s]
[big]
[small]
[p]
[wiki]
[google]
- Just_Iakov
- Scratcher
100+ posts
Saturation block works fine, but brightness comes in and breaks everything.
To make this work you would have to change clone's brightness in the opposite way.
We need to turn our brightness value into a negative value (for the clone.)
The clone shouldn't gain brightness during the saturation process, as the higher the situation is, the more ghost effect is given to the original sprite.
This should fix the strange saturation issue you are facing. However, I am not sure what the final results are you expecting.
Hope this helps.
We need to turn our brightness value into a negative value (for the clone.)
((brightness) * (-1))
The clone shouldn't gain brightness during the saturation process, as the higher the situation is, the more ghost effect is given to the original sprite.
This should fix the strange saturation issue you are facing. However, I am not sure what the final results are you expecting.
Hope this helps.
Last edited by Just_Iakov (Aug. 28, 2021 03:10:37)
My projects: A pen trail project || Omori Tag system || Undertale Soul modes || Pixel explosion || Undertale text system || Cloud Name Leaderboard || Planning to make more.
- griefercube
- Scratcher
500+ posts
Saturation block works fine, but brightness comes in and breaks everything.
Great, now when the brightness is 100 the whole sprite just greys out
What I want is the saturation kept but the grey parts getting brighter/darker like brightness
What I want is the saturation kept but the grey parts getting brighter/darker like brightness
sometimes, you just have to change a way of thinking to solve a problem. -griefercube
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
Last edited by griefercube (32th Undecimber, XXXX)
https://turbowarp.org/563693837/editor (something i did a while back don’t worry it’s for the banner)
list of working bbcodes:
[color=]
[scratchblocks]
[url=]
[img]
[center]
[code]
[code=]
[list]
[quote]
[b]
[i]
[u]
[s]
[big]
[small]
[p]
[wiki]
[google]
- griefercube
- Scratcher
500+ posts
Saturation block works fine, but brightness comes in and breaks everything.
Uhh
sometimes, you just have to change a way of thinking to solve a problem. -griefercube
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
Last edited by griefercube (32th Undecimber, XXXX)
https://turbowarp.org/563693837/editor (something i did a while back don’t worry it’s for the banner)
list of working bbcodes:
[color=]
[scratchblocks]
[url=]
[img]
[center]
[code]
[code=]
[list]
[quote]
[b]
[i]
[u]
[s]
[big]
[small]
[p]
[wiki]
[google]
- Just_Iakov
- Scratcher
100+ posts
Saturation block works fine, but brightness comes in and breaks everything.
Great, now when the brightness is 100 the whole sprite just greys out
What I want is the saturation kept but the grey parts getting brighter/darker like brightness
I see.
You have better odds of making a new custom that's all gray, that way you can control its brightness.
However I think it is possible to create such a script by using several clones, but it won't look very neat. I couldn't seem to find an effective method to make a neat outcome. I have done more digging and such block existed in the past, however it was removed due to being buggy.
Having a layer of black overlapping white won't affect the colors on the sprite themselves, it would just make the sprite either darker or lighter.
My suggestion would be for you to just make a gray sprite and from there control it, as there is no option to control saturation value at all.
Although using pens and stamps is possible to achieve, I don't think it's possible to achieve this for a sprite or a clone by just using ghost, and brightness.
Last edited by Just_Iakov (Aug. 28, 2021 03:45:36)
My projects: A pen trail project || Omori Tag system || Undertale Soul modes || Pixel explosion || Undertale text system || Cloud Name Leaderboard || Planning to make more.
- griefercube
- Scratcher
500+ posts
Saturation block works fine, but brightness comes in and breaks everything.
Interesting…
edit: trying to use white and black to achieve my goal
edit: trying to use white and black to achieve my goal
sometimes, you just have to change a way of thinking to solve a problem. -griefercube
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
Last edited by griefercube (32th Undecimber, XXXX)
https://turbowarp.org/563693837/editor (something i did a while back don’t worry it’s for the banner)
list of working bbcodes:
[color=]
[scratchblocks]
[url=]
[img]
[center]
[code]
[code=]
[list]
[quote]
[b]
[i]
[u]
[s]
[big]
[small]
[p]
[wiki]
[google]
- griefercube
- Scratcher
500+ posts
Saturation block works fine, but brightness comes in and breaks everything.
Edit: partially gains what I need, now the only problem is making it functionable with 2 clones
sometimes, you just have to change a way of thinking to solve a problem. -griefercube
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
|other projects■how I made the banner■animated thumbnails?■i’m on wiki!■Cubey Mines|
Last edited by griefercube (32th Undecimber, XXXX)
https://turbowarp.org/563693837/editor (something i did a while back don’t worry it’s for the banner)
list of working bbcodes:
[color=]
[scratchblocks]
[url=]
[img]
[center]
[code]
[code=]
[list]
[quote]
[b]
[i]
[u]
[s]
[big]
[small]
[p]
[wiki]
[google]
- Discussion Forums
- » Help with Scripts
- » Saturation block works fine, but brightness comes in and breaks everything.