- {l Code}: {l Select All Code}
- Name: Decrepit shop
MandatoryActors:
- Name: Goblin
Dialogue:
Next: 9d07cdba-f7bf-47c3-9039-04df8102bd63
MandatoryItems:
- Name: Tattered Pamphlet
Dialogue:
Verb: Examine
Next: 58baccad-f794-497b-9674-ae7d4d1005cb
- {l Code}: {l Select All Code}
- Identifier: 9d07cdba-f7bf-47c3-9039-04df8102bd63
Body:
- Text: Have you heard the good news?
Options:
- Text: No, and I don't want to either
Destination: 260d85d8-5924-44fc-9b33-c9114fca29a5
- Text: '*sigh* go on then'
Destination: b16df095-43b5-4664-9ba5-f11fd4f9b677
- Identifier: 260d85d8-5924-44fc-9b33-c9114fca29a5
Body:
- Text: But... but... this game engine is to die for!
Options:
- Text: No I'm not interested at all
- Text: '... fine, but this had better be good'
Destination: b16df095-43b5-4664-9ba5-f11fd4f9b677
- Identifier: b16df095-43b5-4664-9ba5-f11fd4f9b677
Body:
- Text: Yes! well... its a game engine you can program entirely in YAML! In fact the code your reading makes a valid world, good eh?... with autocomplete schemas and systems for everything and and and!!! its just so exciting!!
Options:
- Text: Yes!!!! I've alway wanted to program in the most whitespace aware and annoying markup language ever!
Effect:
- Apply:
Name: Interest
Intensity: 9999
- Text: No.... just No!
Attitude: -20
- {l Code}: {l Select All Code}
Name: Interest
FatalThreshold: 40
FatalVerb: excitement
Injuries:
- Name: Interested
Severity: 10
- Name: Excited
Severity: 20
- Name: Mind Blown
Region: Head
Severity: 30
The engine has been excised from Starship Wanderer and is now available as a nuget package. You can now write a game in nothing but YAML
- https://github.com/tznind/Wanderer
- https://www.nuget.org/packages/Wanderer/
I'm trying to create a game engine with as low a barrier to entry as possible. There is an online dialogue builder tool too which simplifies the dialogue YAML writing even further to the point where you are just entering indented text with no markup at all.
- https://tznind.github.io/WandererTools/
The engine is designed to create a more open world 'choose your own adventure' style of game where the player is free to explore rooms and enter dialogue at will (or just start murdering people) rather than follow a scripted path through the story (like in a classic choose your own adventure game).
I've been coding it since January last year and would like to get feedback on anything I can do to improve the user experience especially from a new user / inexperienced coders perspective. Also I would love collaborators on this project / suggestions of improvements etc.
Heres the test that the code in this post does make a valid world!
- https://github.com/tznind/Wanderer/blob ... eVendor.cs
In terms of UI there is an example command line text only UI, A richer console terminal GUI available as a nuget package and there is the test harness UI (FixedChoiceUI) but the engine is designed to slot into any UI you want to build in any dotnet standard compatible language with minimal work. The main README on the GitHub describes how to add a reference to the nuget package or begin writing your own UI.