How to design any color that will shine circle or rect or line.
I currently think of the first layer alpha = .3 the second layer alpha = 1
But it doesn’t feel bright
How to design any color that will shine circle or rect or line.
I currently think of the first layer alpha = .3 the second layer alpha = 1
But it doesn’t feel bright
What do you mean by shine? Can provide an image or a link to an image with this effect?
If it is a big image, be clear on what part of image ‘shines’.
Similar to this effect
for line, rect, circle
My method is to stack two Display Objects, anthor a object of alpha .3 but the effect is not very good
Have a nice day
Thank you
That looks like a blur effect.
The best I can come up with is to:
https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2021/04/blur.zip
@roaminggamer’s advice and sample code will get you far. My suggestion is that if you wish to create the glow effect, that you swap the colours a bit. You should have the centre of the image be white (as in, it is shining bright) and the blur around the object is set to the actual colour of the object.
You can also get by a bit easier by creating a “blurry circle” image that you use for stroke effect. That way you don’t need to handle snapshots and blur during runtime.
@roaminggamer
HI
Thank you for your DEMO
Your code is very artistic
Easy to read
@XeduR
HI
Thanks for your advice
Combine
Suggestions from your two pro
I get the following result
As shown
line
Thank you
Have a nice day