Twine 2.0 - How to Align Text / Tutorial #2

Поділитися
Вставка
  • Опубліковано 27 жов 2017
  • How to align text in Twine 2 - Tutorial
    The code used in this tutorial is as follows, please copy and paste exactly as instructed for it to work, Please bare in mind if you paste this into any text documents the document will change the type of speech marks in the code and it will no longer work, it needs to be exact.
    Code to align all text to centre:
    tw-passage {
    text-align: center;
    }
    Code to align single passages, remember to add a tag to your passage, this code as the tag of "middle" change yours to your desired word. Warning - this code only works with Story format Harlowe 2.0.1:
    tw-passage[tags~="middle"] {
    text-align: center;
    }
    This twine 2 tutorial is using twine 2.1, more specifically twine 2.1.3, this is a beginners guide to help you with the basics of twine 2 software using css code, html, JavaScript, story stylesheet, default Harlowe 2.0.1, Harlowe 1.2.4, twine 2.0 variables, codes, text input.
    Twine is a free online software tool that allows you to create non linear text based stories/ games.
  • Ігри

КОМЕНТАРІ •