ℹ️ For Yop2D Next, the new 2D + 3D version of Yop2D (coming soon). Button and node names are those of Yop2D Next.
🔍 How do I…? All short recipes, with a search
Do you want to tell a story where the player makes choices (a "visual novel")? Here are the answers to the most common questions. Names in bold are the ones you see on the screen.
👉 A word you don't understand? See Yop2D words.
How do I create the characters of a story?
- Object button → Tools → Story characters, then New character.
- Take Hana, ready to use with her emotions, or tap Create my own: write the name, choose the color, the voice (little beeps) and the size.
- Tap Add an emotion: one picture per emotion (happy, sad, angry…). The first one is used when no emotion is chosen.
- Tip: a picture "happy_cligne" (eyes closed) and a picture "happy_parle" (mouth open) make the character blink and talk.
How do I make a character say a line?
- Say a line node: choose Who speaks (a character, or Narrator (nobody speaks)), the Emotion, then write The line.
- The line is written letter by letter in the dialogue box; the player taps the screen to go on (output Then). Next comes setting: the next part can also come by itself after a few seconds.
- Write
{score}in the line to show the value of the "score" variable. Step by step: Make a character talk.
How do I give the player a choice?
- Ask a choice node: a question (optional) and 2 to 4 answers as big buttons.
- Each answer has its own output (Answer 1, Answer 2…): connect a different part of the story to each one, and the story splits like a tree.
- An answer can require a condition (otherwise it is greyed out or hidden), and a timer can limit the time to answer. Step by step: Ask a question with 2 answers.
How do I change the background of the story?
- Change the background node: the chosen picture fills the whole screen, behind the characters. Empty picture = no more background.
- Transition setting: fade, at once, circle, star, curtain… Slow background movement setting: a very slow zoom or pan, like in a movie.
- The picture must be in your project: Object button → Files → Import images or Yop2D library.
How do I make several endings?
- On Start → Story title screen (the title and a picture). Your first line connects to its New game output.
- At the end of each branch of the story, put End the story and give this ending a name ("The happy ending", "The sad ending"…).
- At the end, the game goes back to the title screen by itself. The Endings and gallery button shows the endings already found (for example 1 / 3); the others stay hidden.
- Bonus: the story saves itself; the Continue button picks up the game where the player left it.
How do I change the look of the dialogue bubbles?
- Object button → Tools → Dialogue style. You can also open it from the Who speaks list of a node: Dialogue style….
- Choose a ready-made style: Romance, Modern, Hologram, Manga, Horror, Medieval or Pixel.
- Also set the Box position (Bottom, Top, on one side or Full-page story), the speed of the letters, the little voice beeps… then tap Apply.
How do I make a conversation that looks like text messages?
- SMS mode (phone conversation) node: choose "Turn text messages on (chat)" and the person who writes to you (their name and photo appear at the top of the phone).
- After that, each Say a line becomes a text bubble, and the answers of Ask a choice are picked at the bottom of the phone. The Narrator (nobody speaks) writes a small caption in the middle ("Last night, 22:14").
- To go back to the usual dialogue box: the same node with "Back to the dialogue box".
How do I write my story in several languages?
- The easiest way: in The line, add one line per language, with its code in square brackets (
[en] Hello!). See Write a text in several languages. - For a long story: Object button → Tools → Texts and dialogues. Tap New sentence, give it a name and write it in each language (Languages button to add more).
- Then, in Say a line or Ask a choice, tap Take from the game texts and choose the sentence: The sentence will follow the player's language.
How do I count friendship with a character?
- Friendship (hearts) node after a kind answer: choose the character and the number of hearts to add (−1 to remove one). A "+1 ❤" flies up and the hearts show at the top left.
- Later, If the friendship… node: for example "Hana at least 4 hearts". Output True to the happy ending, output False to another one.
- The hearts are kept with the saved game. To hide them: untick Friendship hearts at the top left in Dialogue style.
How do I unlock an achievement?
- Unlock an achievement node: write the name of the achievement and choose a picture (empty = a star). A Achievement unlocked! banner slides in at the top of the screen.
- The banner shows every time the node runs: put it where the player goes only once (the end of a secret branch, after End the story…).
- Yop2D Next does not show the list of all the achievements won yet: for now, the player sees the banner.
👉 All these nodes are in the Blueprint, category Story and dialogues. To try a ready-made story, open the "My first story" guide in Yop2D Next.