From 93e29b6e8942618145d618fdb5960cba01411e19 Mon Sep 17 00:00:00 2001 From: dogboydog Date: Thu, 7 Dec 2023 19:08:07 -0500 Subject: [PATCH] update some instructions for workflow changes in YarnSpinner-Godot 0.2.0 --- .../yarn-spinner-for-godot.md | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/docs/beginners-guide/using-a-game-engine/yarn-spinner-for-godot.md b/docs/beginners-guide/using-a-game-engine/yarn-spinner-for-godot.md index 7852db23..9c5d86de 100644 --- a/docs/beginners-guide/using-a-game-engine/yarn-spinner-for-godot.md +++ b/docs/beginners-guide/using-a-game-engine/yarn-spinner-for-godot.md @@ -75,25 +75,19 @@ Your Scene dock will look like this showing a node hierarchy that's entirely bas You could also instantiate the `DefaultDialogueSystem.tscn` into your scene at a lower part of the hierarchy, instead of the root node, to display dialogue using the provided default UI, instead. {% endhint %} -Next, create a new Yarn Project by right-clicking in the FileSystem dock, and choosing Resource...: +Next, create a new Yarn Project using the menu Tools > YarnSpinner >Create Yarn Project: -

Creating a new Resource in the FileSystem dock.

+

Opening the menu to create a new .yarnproject file.

-Then filter to the `YarnProject` resource type, and click the Create button: +Then choose a directory to save your new YarnProject in. For example, you can save it to the root of your project. Name the new Yarn Project `FirstProject.yarnproject`: -

Creating a new YarnProject resource.

+

Selecting a location to save your .yarnproject file.

-Name the new Yarn Project `FirstProject.tres`. +Next, create a new Yarn script (a file with a `.yarn` extension) by using the menu Tools > YarnSpinner >Create Yarn Script. In the resulting "Create a new Yarn Script" window, set the File name to `MyStory.yarn`, and click the Save button:: -Next, create a new Yarn script (a file with a `.yarn` extension) by right-clicking in the FileSystem dock, and choosing New TextFile: +

Opening the Create Yarn Script window

-

Creating a new TextFile, in order to add a Yarn script.

- -In the resulting New Text File... window, select All Files (\*) from the dropdown in the corner, set the File name to `MyStory.yarn`, and click the Save button: - -

Naming the file for a new Yarn script.

- -It may take a moment, but Godot will import your new `.yarn` file, and it will appear in the FileSystem dock. When it's appeared, double-click on the Yarn Project, `FirstProject.tres` in the FileSystem dock and look to the Inspector, making sure that `res://MyStory.yarn` is in the list of Source Scripts, which are the Yarn scripts that compromise the new project: +It may take a moment, but Godot will import your new `.yarn` file, and it will appear in the FileSystem dock. When it's appeared, double-click on the Yarn Project, `FirstProject.yarnproject` in the FileSystem dock and look to the Inspector, making sure that `res://MyStory.yarn` is in the list of Source Scripts, which are the Yarn scripts that compromise the new project:

The Yarn Project, with the Yarn script identified as a Source Script.

@@ -129,7 +123,7 @@ Narrator: Someone read the Beginner's Guide! -Select the the `DialogueRunner` node in the Scene dock, and look to the Inspector. Assign the Yarn Project you created to the `DialogueRunner` by dragging the `FirstProject.tres` Yarn Project from the FileSystem dock into the Yarn Project slot of the Inspector: +Select the `DialogueRunner` node in the Scene dock, and look to the Inspector. Assign the Yarn Project you created to the `DialogueRunner` by dragging the `FirstProject.tres` Yarn Project from the FileSystem dock into the Yarn Project slot of the Inspector:

The new Yarn Project resource assigned as the Yarn Project for the DialogueRunner.