godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.16k stars 97 forks source link

Dynamically change color of text displayed in ruler mode #2326

Open ghost opened 3 years ago

ghost commented 3 years ago

Describe the project you are working on

Tile-based exploration game

Describe the problem or limitation you are having in your project

I can't read the text the ruler outputs. Annotation 2021-02-20 203748

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Changing the color of the text based on what texture is underneath would let me read the text.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

I dunno, invert the color of the texture underneath? Add a black outline?

If this enhancement will not be used often, can it be worked around with a few lines of script?

No.

Is there a reason why this should be core and not an add-on in the asset library?

I don't want to install an add-on to read text in the editor.

Calinou commented 3 years ago

This was fixed by https://github.com/godotengine/godot/pull/36530 in the master branch, but it should be cherry-picked to (or remade for) the 3.2 branch as well.

ghost commented 3 years ago

Awesome!