I am writing a text message box tool. The program takes a string and wraps it onto a colored rectangle. I am trying to understand how to program a game later. I need some sort of idea that keeps track of the conversation when there can also be more than two members in the conversation. A member of the conversation is a 2D image of a character at a particular x and y location that displays text depending on if the other interacting characters have been visited. I am running into problems because any member of the conversation can also display a yes or no question. The yes or no question can be answered so it can create two new paths for each character. If there was only one character to use a "yes or no" question than I was thinking a tree would work nicely that would also hold the text for the other character text conversations. However, there are more than one of these and I am trying to keep track of all the interactive conversations.
Best Regards,
Josheir
↧