-Sit back and enjoy the show. -Use this engine in your own project! ~Users~ The General Dialogue Engine (GDE) lets you add natural dialogue for any number of characters, revise that dialogue without any hassle and even instruct your characters to change costume. The engine handles timing and order automatically, pausing when switching characters and between to create the illusion of reaction-time and breaths, respectively. -->To add dialogue, just open the list called Script and add lines, beginning each with the intended character's name followed by a colon. If you want to break-up long lines into shorter ones, then just write another line with the character's name, and they'll know to speak again. -->To revise that dialogue, just edit Script, and on the next run, the GDE will automatically adjust the text, order, and timing accordingly. -->To instruct a character to change costume, just put a space after the colon and write the desired costume number in parentheses. Note that you will need another line for each change. ~Coders~ The GDE is an entirely data-driven list parser that scans each line of dialogue for programmed cues and, having found them or not, concatenates each line's remaining characters into a string that the engine then instructs the character to say. The engine calculates from this string's length the number of seconds to display it, and the GDE pauses when switching characters to simulate reaction time and when advancing lines to simulate breathing.
~Notes~ Credit me when you use the GDE, adding "Dialogue powered by Janwyn's General Dialogue Engine" wherever you have credits. Talk about the GDE on its forum thread at: https://scratch.mit.edu/discuss/topic/175400/?page=1#post-1691356 ~Credits~ This engine is based off MLTI-Conference's list parser, which can be found in his project, "Dialog 4 ways," at https://scratch.mit.edu/projects/1075372/