text in colour

Hi. I'm trying to have a message in the "look at" object description text box, appear in colour. e.g. red

{colour:red:The lift is out of order. Do NOT use}

But it's not working. I'm following the text processor helpsheet. http://docs.textadventures.co.uk/quest/text_processor.html
Also {I:italic} and {b:bold} don't appear to work either. Am I missing something.


For bold or italics, in the GUI, try <i> and </i> instead. As well as <b> and </b>

As for my own stuff, I used span tags, which work here too. Here is a nice dark violet .

As for my own stuff, I used span tags, which work here too. <span style="color:darkviolet"> Here is a nice dark violet . </span>

I'm not sure if it's the most effective way to colour, but it works for me.

The lift is out of order. Do NOT use.
The lift is out of order. Do NOT use.
The lift is out of order. Do NOT use.

The lift is out of order. <b><span style="color:darkred"> Do NOT use </span></b>.
<b><span style="color:red">The lift is out of order. Do NOT use </span></b>.
The lift is <b><span style="color:crimson">out of order. </span></b> Do NOT use.

Edit: sounds like you were following a part of the guide for Quest 5.7 features, which as far as I know, we're still on Quest 5.6.3


Hopefully Quest 5.7 will get uploaded soon. But I have been hoping that since late March.


Thanks Jennifer & Pixie, That helps a lot. Great


quest's 'aslx' is similar to 'html/xml' (web programming languages), and a lot of this stuff is from them, which you can take a look at here for doc on html (hyper-text markup language), css (cascading style sheets), and JS (JavaScript):

ht.tps://www.w3schools.com/

I've just been learning the basics of html and css, and it's pretty simple, as it uses the same code tab blocks that I've learned from quest, as I never learned html until now (after I already learned quest). Quest's 'aslx' (the non-scripting code stuff) is similar to 'html'


web design (hopefully I got this correct - still totally new to the basics/beginnings of web designing):

'html' is used for the various things that give the look/design of a website/webpage
'css' is used for the formating of the various things of the look/design of a website/webpage
'JS' is used for the actions/features/capabilities that you want for a website/webpage


Quest's aslx is XML. What Quest displays is HTML (and HTML uses a slightly modified version of XML).

HTML and CSS are indeed pretty simple to learn. You can use HTML (and therefore CSS) to modify output, which is exactly what JenniferKline is doing in the second post.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums