Dialogue in GDevelop with Yarn 2022 step by step
Описание
I’ll show you how to make a simple dialogue system in GDevelop with Yarn. This is a detailed step-by-step beginner’s tutorial that shows how to create a simple dialogue system from scratch. I cover the following topics:
- How to write dialogue in the Yarn editor
- Use a Yarn command to change a graphic, based on who is speaking
- Allow the player to choose responses during dialogue
- How to set up a custom graphical pointer for options lists
- A way of checking if the player has already spoken to an NPC so that new dialogue can be launched when they speak again
- All events explained, not just shown
- Follow the twists and turns of Trevor and Frodo’s friendship. There’s drama! There’s sadness! There are dinosaurs!
- and general GDevelop tips
I hope it helps someone.
GDevelop
https://gdevelop.io/
GDevelop dialogue tree extension wiki page
https://wiki.gdevelop.io/gdevelop5/all-features/dialogue-tree
GDevelop dialogue example. It will open in GDevelop directly in your browser
https://editor.gdevelop-app.com/?project=example://dialogue-tree-with-yarn
Music from Uppbeat (free for Creators!):
https://uppbeat.io/t/kevin-macleod/itty-bitty-8-bit
License code: MJTDFZHOAPCKSQEW
________________________________________
Timestamps
00:00 - What we’re going to make
00:33 - Introduction
01:39 - What you need for this tutorial
03:16 - Let's go! Global variables
04:39 - Creating objects
07:52 - Placing objects on the scene
13:07 - Events: At the beginning of the scene
14:17 - Writing dialogue with the Yarn editor
23:52 - Events: dialogue is/isn’t running
28:17 - Events: Yarn command
29:29 - Events: create timer and begin dialogue branch
35:57 - Events: dialogue type ‘text’ and typewriter effect scrolling
42:38 - Events: dialogue type ‘options’ and custom pointer
49:30 - Testing
51:46 - Events: alternative dialogue end behaviour
53:29 - Events improvement: Delete the timer
54:10 - Events improvement: Trigger once
55:34 - Outro
Рекомендуемые видео


















