Procedural Generating Text (PGT)

This group of functions could be used to display text in a procedural generating manner. This can be useful in certain dialogues where you don’t want all the text to load simultaneously. You can modify the code to choose where you want the message displayed on the screen. You can also modify the ‘Generation’ function to select what message you want printed. Though every character has to be put in manually with this code, it is still useful. (If anyone can simplify the ‘Generation’ function with a loop, please let me know.) This was a quick project and I didn’t have the time to implement a loop that makes the ‘Generation’ function shorter.

      https://arcade.makecode.com/S37127-82810-75269-82229
2 Likes

Listen, i’m not the one to usually comment negatively on code, but :sob:

THIS IS A DAMN WARCRIME :sob: :sob:

5 Likes

I agree, it was very rushed.

So I decided to finally fix this code. Was scrolling through the forms and saw this again, I know there is already an extension for this by now but I still decided to make a Class for this to make it more integratable into other projects. I cleaned up the code for better use of resources and more readability & maintainability. There is a lot more customability with the classes with lots of abstraction to the user.

1 Like