intfiction.org

The Interactive Fiction Community Forum
It is currently Thu Dec 14, 2017 10:03 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Jan 28, 2017 2:44 am 
Offline

Joined: Sat Jan 28, 2017 2:03 am
Posts: 9
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/


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Nov 16, 2017 4:13 pm 
Offline

Joined: Sat Jan 28, 2017 2:03 am
Posts: 9
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.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Nov 18, 2017 9:09 pm 
Offline
User avatar

Joined: Sat Jun 25, 2016 12:13 pm
Posts: 159
This looks pretty cool. it is possible to build as a standalone binary as well as transpile to web.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Nov 19, 2017 11:41 pm 
Offline

Joined: Sat Jan 28, 2017 2:03 am
Posts: 9
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.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group