fedilink
58
GitHub - YarnSpinnerTool/YarnSpinner-Rust: The friendly tool for writing game dialogue in Rust
lemmy.world
external-link
The friendly tool for writing game dialogue in Rust - GitHub - YarnSpinnerTool/YarnSpinner-Rust: The friendly tool for writing game dialogue in Rust

I am delighted to finally release a project that has been cooking for quite a while: Yarn Spinner for Rust πŸŽ‰ . Some of you might remember this under the name Yarn Slinger, but the kind folks at Secret Lab have allowed me to use their trademark! Yay!

What is Yarn Spinner?

It’s a friendly tool that helps you write dialog! See for yourself at the live demo. You can also check out this or this 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 for more or look into the Bevy examples.

Can’t wait for VNs written in Rust.

Jan Hohenheim
creator
link
fedilink
3β€’1Y

Ferris dating sim when?

Doki Doki Rust Programming Club

@BlanK0@lemmy.ml
link
fedilink
6β€’1Y

Dysco Elysium references, an individual of culture I see 🧐🍷

Jan Hohenheim
creator
link
fedilink
3β€’
edit-2
1Y

β€œThank you, Evrart.” (Take the comically large cheque.)

@PipedLinkBot@feddit.rocks
bot account
link
fedilink
1β€’1Y

Here is an alternative Piped link(s):

this

this

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I’m open-source; check me out at GitHub.

Rust Programming
!rust@lemmy.ml
    • 0 users online
    • 2 users / day
    • 9 users / week
    • 32 users / month
    • 71 users / 6 months
    • 1 subscriber
    • 287 Posts
    • 836 Comments
    • Modlog