RPG Dialogue?

Hi, I am making a 2D RPG, and I was wondering if anyone has a full-length script, or could make one for me, of dialogue somewhat like this:

You can press X To skip the typing of the dialogue, and press Z to go to the next dialogue box. And Audio that you can choose, including the image.

And Sometimes you can choose a choice someone asks you, like this:

And that would effect what the person says.

Any help would be very appreciated.

These videos are from the RPG game, Undertale, by the way, for any Undertale fans :slight_smile:

I’ve made a dialog system in Visual Basic for a school project (which I’ve been meaning to re-create in unity), but here are the basics:

  1. You need the dialog box UI (Probably just an image and text over it)
  2. A static “Is Talking” variable to prevent the player from moving during text
  3. a variable to hold the text (static too)
  4. a custom function for starting/stopping dialog, which if the dialog doesn’t have a “next” set of text, it hides the box and sets “Is Talking” to false.
  5. (EDIT) you also should make it so if it’s loading the same dialog, it advances in the dialog. You’ll also need “dialog” and “Box” variables, both static as well.

If you would like me to try and roughly port over my game’s code into C#, I can do that, although no guarantees it will intermesh into your game perfectly without manipulation. I recommend building it unique to your game because then you’ll understand (for the most part) what each part does and how to modify it and fix it later, as well as the good learning benefit.

Im making a undertale battle engine for unity play it here:
https://gamejolt.com/games/undertale-unity-battle-engine-demo/230707
I also have a unity asset pending review called TypeUnity!, it will have all of the features you require, including the ability to skip text(like undertale) and the ability to change which key to skip.
VIdeos of Undertale Battle Engine for Unity:

** I’ll post the link to the asset here when it’s done. **