News for hackers. Stuff that matters.
Re:The Interactive Fiction Archive (2019) by tjpnz on Thursday November 25, 2021 @01:17AM (#29338695)
Fascinating. How does one go about writing one of these in 2021? Do analogs to Unity/Unreal Engine exist for interactive fiction, or are people rolling their own?
Re:The Interactive Fiction Archive (2019) by Zanni on Thursday November 25, 2021 @02:59AM (#29339218)
There are a lot of options.

Inform 6/7 is the most popular of the parser-based languages, with v6 being closer to a traditional programming language and v7 being a fascinating, natural-language based programming language that is powerful but can be difficult for those steeped in traditional programming languages to wrap their head around. Twine is the most popular choice-based system, supporting three languages that range from basically Javascript to no-code.

Honorable mention to both 1) Ink which is my personal favorite choice-based IF language and integrates well with Unity but doesn't have a great default presentation and 2) ChoiceScript, which is frustratingly limited (by design) but supports an incredible ecosystem of pro, semi-pro and amateur game writers (at ChoiceOfGames.com).

Re:The Interactive Fiction Archive (2019) by Kinrany on Thursday November 25, 2021 @05:33AM (#29340070)
Ink is amazing: it's modular and is getting close to modern programming languages in terms of tooling. AFAIK all the others are still distributed as monolithic applications.

Ink has an IDE that exports to web, but there are also libraries for C# and JS that can be embedded in other programs, a Unity plugin and a VSCode language server.

inkJam 2021 happened recently: https://itch.io/jam/inkjam-2021

Re:The Interactive Fiction Archive (2019) by jkmatila on Thursday November 25, 2021 @01:29AM (#29338748)
Inform7 is a natural language based system for programming interactive fiction. http://inform7.com/
Re:The Interactive Fiction Archive (2019) by Jupe on Thursday November 25, 2021 @01:28AM (#29338740)
https://www.makeuseof.com/tag/3-tools-to-create-your-own-tex...

Writing your own is, of course, an option, but don't underestimate the task. A "simple" POC is usually very easy (my son and I did one in an afternoon). But building an engine with block-able exists, recursive containment, item interaction (eg. "turn bolt with wrench" and the custom functions they need), can be a much larger effort.

Re:The Interactive Fiction Archive (2019) by ScottAdams on Thursday November 25, 2021 @06:40AM (#29340484)
It can end up being a lifetime of work :)
Re:The Interactive Fiction Archive (2019) by spencerflem on Thursday November 25, 2021 @02:59AM (#29339217)
For the choose-your-own-adventute type of story Inkle's Ink language & editor is really nice
Re:The Interactive Fiction Archive (2019) by shmerl on Thursday November 25, 2021 @01:19AM (#29338703)
You can probably start with simple text console program that doesn't need any graphics.

Second step can be ASCII style graphics added to it.

Then you can do already something like The Hobbit with 2D graphical backgrounds.

I don't think you need Unity or the like for any of it.

It would probably be akin to writing a shell interpreter for the input at least.

Re:The Interactive Fiction Archive (2019) by anthk on Thursday November 25, 2021 @09:56AM (#29341851)
>It would probably be akin to writing a shell interpreter for the input at least.

Nah, Inform6 and the library gives you all: the parser, interpreter, prompt, verbos and objects. And it's free as in freedom.

Re:The Interactive Fiction Archive (2019) by ZeroGravitas on Thursday November 25, 2021 @04:59AM (#29339880)
The makers of the recent Netflix "Bandersnatch" interactive black Mirror used Twine to prototype.
Re:The Interactive Fiction Archive (2019) by bobbytuck on Thursday November 25, 2021 @09:59AM (#29341887)
There's also zilf/z-machine -- the language/virtual machine used to write the Infocom games.

A relatively recent 'awesome' repo for z-machine is here:

https://github.com/cschweda/awesome-z-machine

And the current implementation of zilf is here:

https://foss.heptapod.net/zilf/zilf/-/wikis/home