Can't fix invisible text

● ARCHIVED · READ-ONLY
Started by level2janitor 3 posts View original ↗
  1. I was trying to change the default font of my game using this script I found on a tutorial: upload_2018-3-31_19-55-26.png
    I was able to get it to work with a few fonts, but after some messing around I somehow made all the text in my game invisible.
    upload_2018-3-31_19-57-0.png
    There's supposed to be text there. For some reason, it's gone completely. I have no idea how to fix it.

    The tutorial did explain that the invisibility glitch may happen with some fonts, but the solution provided -- switch to a font that's compatible -- doesn't seem to be fixing it at all. As far as I can tell, the only thing I can think of that may be causing this is that I'm formatting the script wrong somehow, but everything I've tried yields no results.

    I also accidentally saved after making this mistake, so my entire game is unusable now.

    Please help if possible.
  2. Well there's nothing wrong with what you posted - is that the way it looks now or the way it looked when it worked?

    Can you show the whole script where you've got that, so we can see context and any other code that might be affecting it?

    If all else fails, remove those lines so it returns to the default, save and confirm that it's working, and then start again.
  3. That code is the only code I've changed in the script at all. Even removing the lines to return it to default does nothing.