Tutorials

Video tutorials for NarraLeaf Studio. Each episode covers one task, from creating a project to building and publishing a game.

  1. 2:01

    Episode 1

    Getting started

    Create a project from the Skeleton template and run the sample game. In the workspace, locate the pages, the game UI, the lines, the background and the music, in the order the game showed them. Import your own music into the same place, then press F1 there and open the online documentation from the help.

  2. 1:00

    Episode 2

    Edit and play

    Search for a line, edit it and play from that row. Edits made while the game runs are reloaded automatically. After deleting a scene by mistake, open the row at fault from the Dev Mode error and undo the deletion in the outline. The full list of shortcuts is under the keyboard icon at the right end of the status bar.

  3. 1:52

    Episode 3

    Writing a story

    Create a scene, set its default background and write the narration. Before the character enters, see how a character is created and given sprites, and add a Smile pose to Narra in the Characters panel. Then write Narra's entrance, lines, change of expression and exit, change the background, and play from the first row.

  4. 2:42

    Episode 4

    Branches and endings

    Connect After school, the scene written in episode 3, to the sample story, add a choice at its end and record the player's choice in the saved variable affection. Create two ending scenes and jump to one or the other according to the variable. Then use the Route coverage test to find a condition that can never hold, correct it and run the test again. Finally, play the choice and the ending in Dev Mode. When a project has many scenes, Ctrl+P opens a scene by its name.

  5. 3:28

    Episode 5

    Staging a scene

    Stage After school, the scene written in episode 3. The scene opens with a clip, which fades out into the corridor. Parallel starts Narra's entrance and a camera push-in together, and Wait holds a pause before her line. A change of sprite or background cuts by default: double-click the row and set a kind and a duration under Transition in its properties, such as a fade-in for the sprite and a dissolve for the background. Narra then moves to the left of the stage, and cherry blossom fades in. Effects on the stage remain until they are removed, so after she leaves the petals are hidden and the camera is reset over a second. A text object is always drawn in front of the characters; /front changes the order of characters and pictures.

  6. 2:07

    Episode 6

    Bringing in a script you already have

    Paste a passage of dialogue written in a document into Walk together, the ending scene from episode 4. Paste as Rows splits it by Name: text and lets you choose who each speaker is: an existing character, a new character, or not a speaker. The choices you change are remembered. Then record Narra's variant spelling in the Dictionary, check the whole project, and unify the spelling with Replace all in the project search. Finally, play the scene in Dev Mode to check it. To find and replace in the current scene only, press Ctrl+F.

  7. 2:09

    Episode 7

    Making a character

    Create Mio, a character with a layered sprite, and choose her colour. Import her sprite from a layered PSD: its top-level groups become axes and the layers in them become tags. Preview combinations of expression and outfit in the editor, frame her dialogue avatar, which is made for each combination of expression and outfit. Then, in Walk alone, an ending from episode 4, bring her on, fade in a new expression and a new outfit, and play it in Dev Mode. A character's colour marks the speaker in the story editor; the colour of the name plate in the game is set by the dialogue box's interface. A new character's size and place are set under Entrance defaults in Properties.

  8. 2:25

    Episode 8

    Live2D and Spine

    Create Hiyori, a character drawn by Live2D, using Live2D's official sample model. The editor lists two things still to set up: install the Live2D runtime in this project (read the terms, choose the downloaded Cubism SDK for Web archive, and Studio builds it on your computer), then import the model folder. The choices for motion, expression and skin are read from the model; Hiyori has no expression files. Then bring her on in Walk together, an ending from episode 4, switch her motion, and play it in Dev Mode. Spine characters are chosen under Drawn by a runtime too, but you build the runtime yourself from NarraLeaf's guide. The sample model is used under Live2D's sample data terms.

  9. 2:08

    Episode 10

    Voice-over

    Voice Narra's two lines in After school. Add a voice language in the Voice panel and export a recording script for the voice actor; file names follow the Recording filename pattern, by default scene_number_character. Import the returned takes in one go with Import audio…: they are linked to their lines by file name. A voiced line can be played in the story editor, and has a replay button on Dev Mode's Log page. When a line is rewritten its take is marked outdated; Export pickup script exports only the lines to record again, and the pickup is imported the same way. Voice languages are independent of text languages. No takes are played in this video.

  10. 3:07

    Episode 11

    Changing a page

    The title page is a page, and everything on it is an element: select it in the UI Outline and change it under Properties on the right. Replace the title page's key art and see how Cover and Contain handle a picture of another shape. Change the game's title and a button's words. Make a Credits page with a list of names and a Back button. Then copy a title button to lead to the new page, and try it in Dev Mode.

  11. 2:00

    Episode 12

    Layout

    The title page's buttons were placed one by one by their coordinates, so adding a button or changing the order means working every position out again. Group the seven buttons into a container and make it a stack: the buttons line up in the outline's order, and dragging in the outline changes the order. Then turn the stack horizontal and use its two alignments to make a row along the bottom; duplicate a button and the others make room. Finally, see the result in Dev Mode.

  12. 2:01

    Episode 13

    Change it once, everywhere

    On five of the skeleton's pages, the Back button is an instance of one component, Back button. Replace the Back made by hand in episode 11 with that component, change the component once, and six pages change with it. Link the component's colour to the project colour Primary, change Primary under Project › Design, and everything in the game that uses it changes. Finally, add a font, and the game's text is set in it.

  13. 3:21

    Episode 14

    The in-game interface

    The dialogue box, the name tag, the choices and the quick menu are Game UIs: not full-screen pages, but parts that hold a fixed place while the game plays. This episode changes them in the order a player meets them in a scene: a darker box with larger words, where the name tag's name and colour come from, a hover look for the choices, one button fewer in the quick menu, and finally a passage of narration shown full-screen as NVL, with an NVL interface of your own. Every step is seen at once in Dev Mode.

  14. 1:33

    Episode 15

    Blueprints, the basics

    Let the player press H to hide the dialogue box. A player's gesture is an Input Action: give the skeleton's Hide a keyboard binding H and the box hides without touching a blueprint, but pressing H again does not bring it back. What happens on a press is written in a blueprint: first decide which one (App logic hears it on every page, Dialogue only during the story), then open Dialogue's logic and replace Hide Dialog with Toggle Dialog Display. Finally, find the reference for every node with F1.

  15. 2:49

    Episode 16

    Data in blueprints

    Show on the title page how many times the player has finished the game. The number must outlast every save, so it lives in a persistent variable; each of the two endings gets an /inc row that adds one; a line of text on the title page takes a Blueprint Value, whose blueprint reads the variable, joins it into "Times cleared: N" and hands it to Return Value. The episode also sets Return Value apart from Return: Return Value hands back a value as the result, Return only ends the run.