Would it be possible to have different fonts or styles of text? Not globally, but for certain lines. Say, if I want monospace text to represent chat messages, or different colored text to represent different characters’ dialogue?
I’ve never seen this before so I’m guessing it’s not possible in choicescript?
Within the confines of code, pretty much anything is possible. To accomplish what you’re asking about would require you to directly alter–expand in this case–the “style” info programmed into the basis of choice script.
I don’t know what goes into that sort of thing with any specifics, but it should be reasonably possible.
Do you mean edit the choicescript code itself? Or using *script? Because I don’t really see how to do this using *script, as there aren’t html tags for individual chunks of text (maybe with like… convoluted hacks).
I actually do have a fork of the CS repo on github, but it makes publishing via hosted games or even dashingdon not really possible. At that point I’m not sure if there’s any reason to use CS over Twine or another open source engine. Or probably I’ll just abandon this idea.
but this means no homestuck fangames in choicescript
Publishing through the house with an edited css is an a ok, although you might want to discuss it with CoG (preferably Dan) if you intend to do it with modified CS. On the other hand, it’s possible to host a game compiled by modded CS on dashingdon: just use the “upload as HTML” option when uploading.
But yes, right now, no way to apply separate font-styles, although I imagine it should be easy to create a modded CS that accommodates it.