Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

How Do I change the Font Color Of my Character Status Screen?

I need help, my window skin is dark, thus I need a lighter color than black, perhaps white, so I can actually see the text, but I dont know where in the scripts to change it. Can someone help?
 
The font color is white by default, right? So either you're using a custom status screen which you would need to post in order to get a full solution, or you're using some other script which changes the font color - which you'd also need to post.

If you think you can solve it yourself given the right snippet of code, here it is:
Code:
self.contents.font.color = Color.new(255, 255, 255)

This goes in the status window, before any lines which draw text. Fool around with the color values all you want, they're standard RGB values.


//Nitt :thumbs:
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top