Skip to content

Spooky Action at a Distance Games

devlog

  • Blog
  • Game: Stepsons
  • About us

Author: hugh

Re-evaluating dialogue engines

Posted on 2021-08-042022-08-17 By hugh

I want our screenwriters to have a great tools, in order to be able to:

  • Write dialogues/quests in a simple, human-writer-readable-writeable format;
  • Quickly run and test them;
  • Be able to do automated validation: dangling brancehs, branch prices/probabilities

When I searched for a dialogue engine (format + editor/prototyping tool + library) at the beginning of the project, I only paid attention to Ink and Twine.

Ink is mostly suitable for IF (interactive fiction), not CRPGs.

Twine‘s integration into game engines is mostly nonexistent, and its format is a cryptic Javascript embedded into HTML.

So, I wrote my own dialogue engine and language (see the previous post). A prototype of such, but anyway.

What happened next?

I found YarnSpinner!

  • It integrates into Unity (who knows, we might end up there. Everybody uses Unity).
  • The syntax is simple, and there’s a grammar definition, almost ready to be reused in my own parser.
  • It has a rapid prototyping tool, too.
  • It can both integrate the RPG engines’s state into its formulas, and change it by sending “command messages” to the integration API.
  • And it has stuff I didn’t think about, like localization support and the above-mentioned commands.

Sigh.

I’m seriously considering throwing Talk (my dialogue DSL) away and rewriting my dialogue engine in YarnSpinner.

OTTH…

I looked for “nested Stories” tool for a bigger game, because dumping all story nodes on one screen scales pretty horribly.

Only one tool, Articy Draft, can do it. It’s a commercial tool, with an unreasonable monthly subscription cost ($60/month), but luckily, it has a once-purchaseable Steam version for $100. Much better than $60/mo.

The quest continues.

Uncategorized

Project technology

Posted on 2021-07-182022-08-23 By hugh

As the main point is the story, I (@HughHoyland) decided to provide a tool to the screenwriters. What is a good tool, from a programmer’s perspective? A programming language!

A couple basic ideas were borrowed from Ink, a really impressive language to write interactive fiction in. Namely:

  • An idea of a DSL that is as close to normal story text as possible. CRPG, though, is very different from IF, so we cannot take it as is;
  • The idea of a hub that consists of:
    • an NPC’s opening line,
    • and player’s choices (words or actions), which lead to other hubs of the conversation and/or change the state of the world.

Read More “Project technology” »

Uncategorized

Posts pagination

Previous 1 2
  • May 2025 (3)
  • April 2025 (7)
  • March 2025 (8)
  • February 2025 (7)
  • January 2025 (1)
  • December 2024 (6)
  • November 2024 (8)
  • October 2024 (3)
  • September 2024 (4)
  • August 2024 (2)
  • July 2024 (1)
  • March 2024 (1)
  • November 2023 (2)
  • October 2023 (1)
  • August 2022 (1)
  • July 2022 (2)
  • August 2021 (2)
  • July 2021 (1)
Log in
  • Discord
  • Twitter
  • TikTok
  • Reddit
  • Facebook
  • YouTube
  • Instagram

Copyright © 2025 Spooky Action at a Distance Games.

Powered by PressBook Dark WordPress theme