← Yop2D

How to make a choice story (visual novel)?

Beginner guide · no code

Français · English · Español · Deutsch · Italiano · Português · Русский · 中文 · 日本語

A visual novel is an illustrated story where the player reads dialogues and makes choices that change what happens next. With Yop2D, everything is done with your finger, without writing a script, and without importing anything: the library already has a ready-made character (Hana, with several emotions) and watercolor backgrounds. You don't even need to place anything in the scene: the nodes show the background, the characters and the text box by themselves.

You need:
👉 In Yop2D, the built-in guide “My first story” (home screen, guides card) does steps 1 and 2 with you in 5 minutes: a yellow frame shows where to tap, even inside windows. To see everything you can do, download the Firefly Night example in the Examples tab.
Video: a choice story made with Yop2D, without a single line of code.

Step 1: a background and a first line

  1. Open the scene's Blueprint.
  2. Add the “On Start” event.
  3. Add “Change the background” and pick an image, for example the meadow.
  4. Add “Say a line”. Tap Who speaks, then + New character…, then ⭐ Ready-made character, and pick Hana. Next time, Hana will be right in the list.
  5. Tap The line and write what she says, for example: “Hello! Did you just arrive here?”. You can also pick her Emotion.
  6. Link the three nodes in order, then play: the background appears, Hana comes in and talks, letter by letter.
On Start
→
Change the backgroundmeadow
→
Say a lineHana · “Hello!”

Step 2: ask a choice

  1. Add “Ask a choice” and link it after Hana's line.
  2. Write Answer 1: “Yes!” and Answer 2: “No thanks”. You can have up to 4 answers.
  3. The node has one output per answer. Link the “Answer 1” output to a new “Say a line” (happy Hana: “Great! Come, I'll show you the village.”), and the “Answer 2” output to another one (sad Hana: “Oh… too bad.”).
  4. Play and try both answers: the story branches like a tree.
Say a line“Hello!”
→
Ask a choiceYes! · No thanks
Answer 1 →
Say a line“Great!”

While playing, the player can tap ◀ Back to go back to the previous line, even before a choice, to try the other answer. The History, Auto, Skip, saves and settings buttons fold into a single ☰ menu.

Step 3: endings and a title screen

  1. At the end of each branch, add “End the story”. Give it an ending name, for example “The village tour” or “Alone on the road”.
  2. Add “Story title screen” right after “On Start”, write your story's title, and link its “New game” output to “Change the background”.
  3. Link each “End the story” to “Story title screen”: after an ending, the player goes back to the title screen.
  4. Play: the title screen offers “New game”, then “Continue” (the story saves itself at every line) and “Endings and gallery” (the endings found, with a souvenir picture, and the backgrounds already seen).
On Start
→
Story title screen“The village”
New game →
Change the background
→
…
→
End the story“The village tour”

Step 4: friendship hearts that change the ending

  1. After a kind answer, add “Friendship (hearts)”: Who? Hana, Hearts to add (−1 to remove) 1. Hearts appear at the top left and a “+1 ❤” floats up.
  2. Before the ending, add “If the friendship…”: Hana, at least 2 hearts.
  3. Link the “True” output to the happy ending, and the “False” output to a sadder one. The hearts are kept in the save, and ◀ Back puts them back as they were.
Friendship (hearts)Hana +1
→
…
→
If the friendship…Hana ≥ 2
True →
End the story“Friends forever”

Going further

If it doesn't work