C
Chupiperasaurio Studios
Guest
I am making a system that displays my game's conversations on a textbox and I think the only way to make it elegant and efficient is to stream all the needed text from a file every time a dialogue object is created so that each time a conversation happens I just have a not-so-long text array and display each element on a single screen. I plan to have a global variable that knows on which line of the file did the previous conversation end and use it to read the next chuck chunk on the next conversation.
My main doubt is wether to use an ini file or a txt and with what functions.
Additionally I'd want to know how do I keep people from just opening the file and transform my script into an adults movie or something.
My main doubt is wether to use an ini file or a txt and with what functions.
Additionally I'd want to know how do I keep people from just opening the file and transform my script into an adults movie or something.