Foreground/background colours not working? solved

dragon1234
30 Mar 2018, 08:44

Hello! I set the text and background colours in quest 5.7.2, however the text colour remains black and the background colour seems to only affect the textbox background, with the majority of the page remaining white.
I attempted to use SetForegroundColour script, that did not work either.
Both features seem to work in the web version - is this a known bug with 5.7.2 desktop, or is something wrong with my installation? Thanks in advance.

SOLVED, looks like I had to change the default colours option on the game player itself.


XanMag
30 Mar 2018, 17:13

Not sure but, I changed my colors for the new game I am making and things were fine. Hopefully, someone can help you. You might want to post code because someone will probably ask for it. Good luck.


dragon1234
30 Mar 2018, 23:24

Thanks for the reply. Here's the code on my aslx all generated by the GUI

<game name="test">
<gameid>5b45c73f-eac3-42ef-9f62-270df1f34cd4</gameid>
<version>1.0</version>
<firstpublished>2018</firstpublished>
<showhealth />
<showmoney />
<defaultbackground>Tan</defaultbackground>
<defaultforeground>Blue</defaultforeground>
<start type="script">
  SetForegroundColour ("Blue")
</start>

I've reinstalled twice and the problem remains. It's not a big deal, since I've found that I can change the colour using setCss, but if there is a simpler workaround I would love to know. Thanks again.