- Joined
- May 24, 2016
- Messages
- 113
- Reaction score
- 218
- First Language
- Italian
- Primarily Uses
- RMMV
I know there's already a nice plugin for external text reading, but it didn't click with me for a variety of reasons. I'm currently using a different method for handling external text, and while it works, at the same time it feels kinda iffy.
For my dialogues, I just made a JS plugin with an array for every cutscene, like this:
Cutscene1 = ["This is the first message", "This is the second!", "And this is the third"]
I then show the dialogues by cycling through the array with a for loop, assigning each value of the array to a variable and then displaying it with \v[x].
I know JS plugins aren't really supposed to be used like this. Do you think handling text this way instead of using a .JSON file will cause me troubles on the long run? I already made stress tests, loading my JS plugin with a book's worth of text, and loading times were fine.
It works too well to be true. What's the catch?
For my dialogues, I just made a JS plugin with an array for every cutscene, like this:
Cutscene1 = ["This is the first message", "This is the second!", "And this is the third"]
I then show the dialogues by cycling through the array with a for loop, assigning each value of the array to a variable and then displaying it with \v[x].
I know JS plugins aren't really supposed to be used like this. Do you think handling text this way instead of using a .JSON file will cause me troubles on the long run? I already made stress tests, loading my JS plugin with a book's worth of text, and loading times were fine.
It works too well to be true. What's the catch?

