intfiction.org
https://www.intfiction.org/forum/

Twine alternative (for C++)
https://www.intfiction.org/forum/viewtopic.php?f=49&t=21162
Page 1 of 1

Author:  ad8e [ Sat Jan 28, 2017 2:44 am ]
Post subject:  Twine alternative (for C++)

I developed a small engine for writing games. All it does is let C++ output to html, so that you can write a game in C++ rather than javascript or another custom language. This isn't a release post, I'm just looking for your thoughts on design. It is complete though, so you can try it out.

https://interactivetext.github.io/

Author:  ad8e [ Thu Nov 16, 2017 4:13 pm ]
Post subject:  Re: Twine alternative (for C++)

Ok, it's released now, since it's mostly stable. The intended developer audience is people who are already specifically interested in writing text games in C++. Otherwise, if you didn't already have this goal in mind, or if you're not sure if it's appropriate for your usecase, Twine is a better choice. This engine is trivial to use if you already know C++, but if you don't, it will be painful.

Author:  jkj yuio [ Sat Nov 18, 2017 9:09 pm ]
Post subject:  Re: Twine alternative (for C++)

This looks pretty cool. it is possible to build as a standalone binary as well as transpile to web.

Author:  ad8e [ Sun Nov 19, 2017 11:41 pm ]
Post subject:  Re: Twine alternative (for C++)

jkj yuio wrote:
it is possible to build as a standalone binary

No, this doesn't support that. (Although you're right, because I am also doing exactly what you describe, building as a standalone binary without the I/O.)

You could replace operator(r) to get a true console application. But you'd lose some features (formatting, keyboard shortcuts), because they're only possible in HTML. The library would behave like std::cout with links. Doing this is pretty simple.

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/