How To Build Branching Narrative And Dialogue | GameMaker

20,396
0
Published 2023-02-16
Coding a system to store dialogue and structure your game's narrative can seem difficult. Still, with the help of JuJu Adams' Chatterbox library, we can develop an entire visual novel demo in under 15 minutes.

In this tutorial, we'll learn to: use a node-based dialogue editor to create branching conversations, use libraries in GameMaker, and create a visual novel-style display.

Big thank you to Jordan Guillou for making this tutorial for us :) youtube.com/@jordanguillou

All the assets (GameMaker project, character and background sprites) can be downloaded here:

💾 www.mediafire.com/folder/lf644fi7axyck/Chatterbox_…

Links to download the library and access the dialogue editor:

👉 github.com/JujuAdams/Chatterbox
👉 faultyfunctions.github.io/Crochet/

Timestamps:

00:00 Introduction
00:29 What is Chatterbox?
01:29 Editing dialogue
03:11 Importing Chatterbox
04:14 Helper functions
05:39 Create event
06:37 Step event
08:19 Draw event
11:40 Conclusion and result

Download GameMaker today: opr.as/DownloadGM-YT

Everything you need to take your idea from concept to finished game. With no barriers to entry and powerful functionality, GameMaker is the ultimate 2D development environme

All Comments (21)
  • @hell2864
    I just love the quality of these tutorials increasing every day. <3
  • Woud love to see more on this such as character animations and application in genres.
  • @naelpontes8444
    You have no idea how this saved us in a Game Jam! As always, ty JuJu Adams <3
  • Jujuadams is an amazing human being and his contributions to the gamemaker community really can't be overstated, and he's really doing it all just out of generosity and passion, what a guy!!!
  • @ollie5470
    Can you please make a tutorial on how to create an interactive visual novel like Ace Attorney in Gamemaker studio? And thank you so much for this wonderful tutorial.
  • Good evening GameMaker, could you make a tutorial teaching how to make a player Transformation system, for example... the player chooses a transformation, he activates the transformation that will last temporarily, and then return to normal. During the transformation the player could gain different powers, just a suggestion.
  • @maky40
    Great tutorial! What would be a good way to add other characters and thus make the sprites change depending on which characters are in the Node/were the last to speak?
  • beautiful tutorial but can you explain how the if statement works in crochet?
  • @ruikklol
    how i like, end the dialogue? there's some function like <>??
  • @gryffgraff4802
    is there a way to make longer text wrap? I did the tutorial and tried to add my own script but some of the lines push off the page. Thanks for the tutorial!
  • @PauloArthur1998
    Thank you very much, friend! Just ask me one question, please. I did everything as explained in the video but the dialogue options are not appearing, although you can select them. What could be the possible problem for this to happen? Thank you one more time!
  • @Tramon81
    How do i adjust the size and position of the character sprites?
  • @jonfriedl4786
    Can this be used for something other than a graphic novel? say an rpg game? or platformer?
  • @GamePule
    I can't register, it just gives an error if I'm from Russia, please help
  • @Mk2kRaven
    lol more complicated than my own dialogue branching system. I just put all my dialogue and branching in a script asset and in function(s).
  • @cdatoc5234
    help. ERROR in action number 1 of Create Event for object obj_control: Variable .background_set_index(100471, -2147483648) not set before reading it. at gml_Object_obj_control_Create_0 (line 4) - ChatterboxAddFunction("bg", background_set_index); //Add function to change background index ################################################## ########################################## gml_Object_obj_control_Create_0 (line 4). I already checked that line and I have it written exactly the same.