Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Twine 1.4, Sugarcane Story format, 3 technical questions.

1. I've been searching all over the internet and I still do not know if it's possible to add a button to decrease/increase the font size? Like from 12 to 16 px?
2. Speaking of fonts, can 2 or more be imported in Twine 1.4 + give the user the option to choose which one to use at the start of the story?
3. I'm really interested in adding music to my project, but not without a mute or control volume button. Can it be done?
Thanks.

Comments

  • i don't use too much sound but ill give you the links of the macro, there are a sound category.
    I hope this could help you.
    http://www.motoslave.net/sugarcube/1/docs/macros.html
  • Changing fonts and changing font sizes is pretty much the same problem. You might be able to use <<print>> to print a <div> tag to do it. Output of the print should be something like:
    <div style="color:#0000FF;font-family: Arial Black; font-size: 24px;">
    

    You'll need an exit macro to put a </div> at the bottom of the page.

    Might be able to do it with Sugarcubes PassageHeader and PassageFooter passages. You may find that you'll need to redefine how things like headers work if you want them to work right (may be easier to do with a widget that'll build a <div style=""> rather than by messing with the header tags themselves).

    Buttons can be done quite simply with sugarcubes <<click>> macros.
  • MiaMia
    edited January 2016
    Thanks. I'm a total noob in coding, but I find a way to make this work somehow.
Sign In or Register to comment.