Streamlined Dialogue System

The before dialogue was a bloated mess, taking up thousands of lines of code to ultimately reach the same end as what I've come up with today. This opens the door to a better, smoother, and more enjoyable dialogue creating experience.


Before (above): The same function creating a DPanel etc over and over again, taking up massive chunks of code. Also, having to create the close button in the same way. HUGE THING- Creating individualized buttons (massive waste of time and effort).


After (above): This is not a completed set of dialogue by any means, but using functions that simply create global versions of the chatbox/scrollpanel/buttons, I can modify them inside of the actual dialogue menu instead of copy pasting giant blocks of code that look messy and are hard to decipher when inserting "if then" functions.

Comments

Popular Posts