I am delighted to finally release a project that has been cooking for quite a while: [Yarn Spinner for Rust](https://github.com/YarnSpinnerTool/YarnSpinner-Rust) 🎉 .
Some of you might remember this under the name Yarn Slinger, but the kind folks at [Secret Lab](https://secretlab.games/) have allowed me to use their trademark! Yay!
![](https://lemmy.world/pictrs/image/16c63732-7980-4313-a9fc-d8786094c106.png)
### What is Yarn Spinner?
It's a friendly tool that helps you write dialog! See for yourself at the [live demo](https://janhohenheim.itch.io/yarnspinner-rust-demo).
You can also check out [this](https://www.youtube.com/watch?v=549J0eHE88k) or [this](https://www.youtube.com/watch?v=JGZQSFvcQzo) GDC talk about the original C# implementation.
What I have released today is the Rust port for the project, with first-class support for Bevy!
### Quickstart
Writing a dialog with Yarn Spinner is as easy as whipping up a simple screenplay:
```
// assets/dialogue/hello_world.yarn
title: Start
---
Ancient Reptilian Brain: There is nothing. Only warm, primordial blackness. Your conscience ferments in it -- no larger than a single grain of malt. You don't have to do anything anymore.
Ancient Reptilian Brain: Ever.
Ancient Reptilian Brain: Never ever.
-> Never ever ever?
Ancient Reptilian Brain: Never ever ever ever, baby!
-> (Simply keep on non-existing.)
Ancient Reptilian Brain: An inordinate amount of time passes. It is utterly void of struggle. No ex-wives are contained within it.
===
```
Pretty simple file format, right? Check out the [general Yarn Spinner documentation](https://docs.yarnspinner.dev/beginners-guide/welcome) for more or look into the [Bevy examples](https://github.com/YarnSpinnerTool/YarnSpinner-Rust/tree/main/examples/bevy_yarnspinner).
“Thank you, Evrart.” (Take the comically large cheque.)