"Press to Continue" Question. [SOLVED]

Anonynn
21 Jul 2016, 21:59

I was wondering if there was a way to change the color of the "Continue" message. I tried looking it up in the extended tree of stuff, but I didn't see anything regarding the color of the "Continue" message itself, which is dark blue. As you may know, dark blue looks horrible against black!

:D


XanMag
21 Jul 2016, 23:52

Let me check X3. I did something that worked. The question is, can I find it?!


Anonynn
21 Jul 2016, 23:56

waits in anticipation!


XanMag
22 Jul 2016, 00:31

Even when I have it done, I cannot find it to pass on the info correctly.

But, what I do know is this. I have a black background with dark green font. Whenever there is a 'wait' situation, the in-game automated text is printed in black. I create my own green text by simply printing a message to press a key. So, the 'Continue' shows up in black, but the player never actually sees it, as it blends in with a black background. So, I add a green font so the player can see it and it matches my normal font color.

Jay and OurJud (I think) helped me set up a bunch of JS stuff in the User Interface and I'm sure it is in there, but because my code interpretation is total garbage... all I can offer is above. Sorry.


XanMag
22 Jul 2016, 00:37

EDIT: See Pertex's post below.

Couple years old, but I think your answer is here. Best of luck.

http://textadventures.co.uk/forum/quest/topic/3682/editing-wait-for-key-press-display-text

EDIT: I do have that bit of code in my game, but of course, I couldn't recognize it! lol


Anonynn
22 Jul 2016, 03:57

Hmm. I checked out the Modifying the UI page but there doesn't seem to be a way to change the color --- just changing what it says. I appreciate you trying to help though, Xan! I may have to bother you about pictures one day!

Anyone else know a quick way of changing the blue continue and/or the font for "Wait for..."


Pertex
22 Jul 2016, 05:18

Have a look here: http://textadventures.co.uk/forum/samples/topic/5111/how-to-modify-the-user-interface#35347

 JS.eval ("$('#txtCommandDiv a').css('color', 'orange');")

Anonynn
22 Jul 2016, 17:33

Oh! Great :D saved the link. Appreciate it, Pertex!

Would HTML color codes work in the "orange" bit?