Dialogue - Pico8430/PsychEngineScriptsIUse GitHub Wiki

Dialogue its usefull for those mods with lore and stuff. This is more easy to do than me trying to do a mod on source code lol

File directory

File info

  1. dialogue.lua

This is usefull for the dialogue to run correctly, works as if it were a normal script.

  1. dialogue.json

This file works for the dialogue text and what the characters are saying. We are going to teach you how to do this.

Setting up the dialogue.json file

Open your game and press 7 on the main menu and choose "Dialogue editor"

In there you will see a lot of things that you can do with the dialogue editor, but we are going to be talking about the text and characters.

You can customize it how you want it to be, and also change the character. Remember, if you want to put your custom characters, try making a spritesheet with the .xml and put it in mods\images\dialogue.

This is what it looks like when a text its customized.

Now you can save your dialogue by clicking the "Save dialogue" button and going into the file directory.

Result

Do not

  1. Modify the files

  2. Put scripts that will stop the dialogue from working, the game will just be frozen.