I was wondering if there was a way to get transparency in Gdevelop. I do know about the tint action.
(:
I’m not aware of a transparent color. There are times when that might be nice.
You can change opacity or use the object masking extension. If you have a specific need, maybe we can help or you could create a feature request.
George
November 11, 2024, 2:00pm
3
Hi,
this is only possible if you have RGBa available.
RGB alone only represents the colors (normally with 100% coverage).
In GDevelop you can only change 3 parameters for the color. Parameter 4 (alpha for the degree of transparency) can only be changed via Opacity.
Transparency via the HEX code is also possible, but as far as I know not with GDevelop.
ZeroX4
November 11, 2024, 4:39pm
4
Not via tint by like Keith said via opacity change
Where idk if it is now condition or i saw it as extension to check tint of something
I think it was extension
Where opacity was always condition you could check as i remember
@George
As for hex there is color picker extension
opened 05:19AM - 28 Sep 24 UTC
✨ New extension
### Description
This is a color picker to change the color of an object based… on the user's selection
https://github.com/user-attachments/assets/311f7c68-0fae-4ea6-abf7-8e7672f3597e
### How to use the extension
to get RGB : `ColorPicker::RGB()`
![Screenshot 2024-10-04 111802](https://github.com/user-attachments/assets/4112d283-fc10-4807-b646-808efb8c80f1)
### Checklist
- [X] I've followed all of [the best practices](http://wiki.compilgames.net/doku.php/gdevelop5/extensions/best-practices).
- [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
- [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.
### What tier of review do you aim for your extension?
Community (Unreviewed)
### Example file
[ExampleFile.zip](https://github.com/user-attachments/files/17254164/ExampleFile.zip)
### Extension file
[ColorPicker.zip](https://github.com/user-attachments/files/17254268/ColorPicker.zip)
Allows you to convert RGB to whatever
While i am using color conversion extension right now and going with RGB to HSL
I could add opacity with 4th slider
To fake RGBA or in this case HSLA
Since it does not matter if any color is part of tint or is it separate value
It only matters are you able to check it and adjust it independently
Ow and i found that compare tint extension
GDevelopApp:main
← GDevelopApp:extension/RebornOfc/1160
opened 07:25PM - 06 Feb 24 UTC
### Description
Allows to get and compare the tint of objects.
### How to use … the extension
Allows to get and compare the tint of objects. (Sprite/Tiled sprite/Panel sprite/BBCode text)
- Use the expression `TintR` to get the red tint value of the object.
- Use the expression `TintG` to get the green tint value of the object.
- Use the expression `TintB` to get the blue tint value of the object.
- Use the expression `TintRGB` to get the tint color of the object.
- Every expression has an equivalent condition.
### Checklist
- [X] I've followed all of [the best practices](http://wiki.compilgames.net/doku.php/gdevelop5/extensions/best-practices).
- [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
- [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.
### What tier of review do you aim for your extension?
Community (Unreviewed)
### Example file
[CompareTintExample.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/14185146/CompareTintExample.zip)
### Extension file
[CompareTint.json.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/14185135/CompareTint.json.zip)