Showing posts with label darners digest. Show all posts
Showing posts with label darners digest. Show all posts

Monday, April 7, 2025

Tryhard dev log - Cutscene and Game Scripting with Yarn Spinner v3.0 beta

In our upcoming game Tryhard, we have cutscenes and dialogue and level scripting like many other RPGs. This dev log is about how we’re implementing some of that stuff in the game. 

(Note that I'm writing this post mostly for fellow Unity game devs, but even if you don't happen to be a dev, maybe you'll appreciate this technical behind-the-scenes look anyway? Just let all the game dev words and lingo wash over you like a summer rain.)

We’re using the free open-source dialogue system plugin Yarn Spinner v3.0 beta 2 as our main scripting and story plugin. I’ve written about Yarn in the past and I'm finding this fresh new version 3 to be a great upgrade with useful features, even while in beta. For more info on these features, see the Yarn Spinner docs "Coming in v3" page.

Here’s how we’re using some new YS3 features for some cutscene and scripting stuff in Tryhard:

Monday, January 17, 2022

Darner's Digest, vol. 3: on the Yarn Spinner v2.0 release + a YS primer

Darner's Digest is a series of blog posts about Yarn Spinner, a free open source Unity dialogue tree plugin.

On December 21st, 2021, the Yarn Spinner project finally made its public YS v2.0 for Unity release

YS 2.0 has gone through six (6!) preview versions / betas over the last few years, with several debates and redesigns that have finally culminated in this version. If you're familiar with Yarn Spinner already, you should go read the changelog for upgrade notes from v1.0 to v2.0.

But a lot about YS and its ecosystem have changed, so it's probably helpful to recap what's going on.

1. What is Yarn Spinner in 2022?
2. When to use Yarn Spinner
3. How to use Yarn Spinner
4. Current Strengths / Weaknesses
5. The Future

Tuesday, November 27, 2018

Notes on "Sparkling Dialogue", a great narrative design / game writing talk by Jon Ingold at AdventureX 2018


My colleague Clara Fernandez-Vara pointed me towards this great game writing talk by Jon Ingold this year at AdventureX, an excellent narrative design conference in London. Unfortunately the Twitch video of the talk is hard to follow and the YouTube version of this talk is still forthcoming, so I thought I'd summarize the talk here because I found it very useful. As of December 1st, the YouTube version is now online!

(NOTE: This post isn't a transcript of Ingold's talk. It's a summary with my interpretations, and I might be wrong or misunderstanding.)

Ingold begins with something that should be obvious and uncontroversial to everyone: generally, most video game dialogue is poorly written. This isn't to say video games are bad, or that they we shouldn't try to do any dialogue at all. There are also many reasons why game writers are forced to write poorly, whether it's because of lack of resources, or last minute changes in the design, or other production constraints, etc.

The point is not to blame writers. The point is to highlight a problem in the craft and to define a better ideal. So, how can we write more competent game dialogue that is slightly less embarrassing?

To demonstrate the problem of typical video game writing, Ingold shows us this conversation from the first hour of Assassins Creed Odyssey in the starting mission "So It Begins":

Wednesday, August 29, 2018

Darner's Digest, vol. 2: Why I made two new Yarn tools


Darner's Digest is a series of occasional posts about the game dialogue system Yarn.

Last time, I talked about some Yarn community news. As I've written before, I've become a sort of community booster for Yarn and Yarn Spinner because I want to see it become a standard in game narrative design -- I think it occupies a nice middle-ground between frameworks that try to do everything for you vs. coding a system yourself.

This time, I'm making the Yarn news myself. I've released two free open source Yarn / Unity tools for people to use, and I reckon they're darn good:
  • Merino, a Yarn script plugin for the Unity Editor, with built-in syntax highlighting and playtest preview. With Merino you can easily test the flow of your interactive stories without leaving the textbox or the Unity Editor.
  • Ropework, a Yarn-powered visual novel template for Unity. With Ropework you can control scene changes, sprite rendering, and sound playback, all from Yarn scripts -- and you can basically make a visual novel without writing C# code.

Thursday, July 19, 2018

Darner's Digest, vol. 1


Darner's Digest is a series of occasional posts about the game dialogue system Yarn.

As I've written before, there are a variety of different narrative system plugins to use with Unity. Fungus is a full visual scripting solution ideal for beginners, Ink is great for text heavy games with huge word counts (like 80 Days), and Yarn / Yarn Spinner is a lightweight extensible Twine-like dialogue system for games about occasionally talking to characters (like Night In The Woods).

I don't know what's going on in the Fungus community, and I loosely follow Ink -- they are running an upcoming Ink Jam to encourage new users, and the maintainer Inkle Studios is doing exciting dynamic narrative research in Inkle with their upcoming game Heaven's Vault.

However, I can definitely speak to more detail about what's happening with Yarn these days though, so here's my attempt to recap: