Font size/colour?


#1

Oddly enough, I couldn’t seem to find a discussion on this already. Maybe my search terms were poor. In any case, would anyone know if it is possible to alter font size or colour with the vanilla choicescript (that is, choicescript without any changes made to the javascript behind it)?

Much appreciated.


#2

@_jl Unfortunately no.


#3

@fantom Thank you for the speedy response. I shall have to find another way around my dilemma then.


#4

@_jl if you don’t mind my asking, what dilemma is that?


#5

@fantom Just a typographical thing. I’d prefer to be able to manipulate the text I’m coding so that it doesn’t look so out of place, which I feel it does at the moment. Perhaps dilemma was a little too dramatic haha.


#6

Well, you can edit the style.css file. Font is at the very top of the page. For font, just change the Georgia to something else, size is obvious. Havent figured out color yet, though.


#7

@Babisko Yes, this is fine but the CSS would change the font size for the entire tree of documents, not a specific line unfortunately. I’m guessing you’d probably need to code in a work-around to enable some kind of function in choicescript that lets you alter font properties.


#8

@_jl
At present, yeah, you’d need to define your own set of [tags][/tags] to do it like that.


#9

I canged color and font and such for last game I have no clue how tod o it again but I did it according to the mods choicescript dev wiki.