Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | TheJollyReaper |
Using the suggestion in a previous question, I’m using .add_color_override() to change the color of my text through code. The issue is the method also seems to make the text bold and a bit hard to read. I’m wondering why it’s not just changing the color, and if something can be done about it.
In the attached video, look at the top left label that says “ready” before and after the text changes.
func p1_laser_fired():
p1_laser.text = "Charging"
p1_laser.add_color_override("default_color", Color(255,0,0,255))
func p1_laser_ready():
p1_laser.text = " Ready"
p1_laser.add_color_override("default_color", Color(0,255,0,255))