Hello,
I’ve never coded before and am mostly useless. I read the Chapbook how-to, and am now looking for a story to learn from. I’ve found a few stories download-able as .tws, which sounds like a Twine file, but haven’t been able to open them in Twine. It’s possible I’m missing something very obvious. Thanks for any help! Andy
Please specify version and format if asking for help, or apply optional tags above:
Twine Version: 2.3.7
Story Format: Chapbook
The main Chapbook page includes a link to “Cloak of Darkness”. You could simply download that HTML file and import it into Twine to take a look at the code.
The .TWS files are “Twee” source files. Basically, text files written in Twee notation to make them able to be converted into Twine HTML file using tools like Tweego (a command line Twine compiler). However, if you have the HTML version of a Twine/Chapbook game, then you can just import that directly into the Twine 2 editor.
The older Twine 1.x application assigned a tws file extension to its project files (1), so those files may not be TWEE Notation based.
(1) This project file is actually a Python pickle file, which is a binary like serialisation format, and as such can’t be loaded by the new Twine 2.x application.
The comment field’s toolbar includes a </> option which you can use to include code examples in your comments.
eg. Your first code example… (with a couple of HTML end-tags added)
<style>
h1 {
color: green;
}
p {
color: blue;
}
</style>
<h1>green bigger words</h1>
<p>blue smaller ones</p>
[continue]
<style>
b {
color: red;
}
</style>
<b>some other small/normal and red.</b>
[continue]
And for ending the kick-off I searched for a web editor who would be light and simple.
This one, a gold edition from 2007, complied with the above requirements:
It is not needed for Twine, but useful for having an index and presentation page.