calminthenight thanks!
mOOnpunk Hey that's pretty cool looking.
After trying out a few ideas I think the first step would be to decide on what data format you will be using first. Whether Array, Dictionary, json or even some contrived text format you make a parser for.
The next step would be to manually make passages with the data format you chose.
Then you'd have something kind of game that uses the data.
Anyways, I like custom text formats so I wrote a parser. I wanted to be able to put the text links anywhere inside the text so a parser was useful.
Had to do manual word wrapping since I made it so you can put clickable text anywhere. Also had to use some js because the .textWidth expression is delayed a tick so it's basically worthless.
uc12be91c135585d1e6881a8e95b.dl.dropboxusercontent.com/cd/0/get/Ch8Td0aKdzI81bWNByu5u2ciYYpiQpSS849fcSBn8NyRII7uPgWyCV5M9XpKLrCIegwwGw6-FQW-hiSWZGgDXNzs8ml-nsTpxliiYVz5KYdVav2zuRriIGNVSeIxnI2MQPi_ogbs_0DnmxKlRH6Ij626/file
I probably got carried away with the parsing. There may be simpler ways, but a least by parsing it's possible to extend it to have some scripting more like twine.
Anyways, I never got to the visual editor portion. Maybe i'll try that later.