7:50pm - Well I'm trying working from home tonight, since my spine is feeling less weird, and I don't know what else to do anyway. XD
Today I'm going to try to make the dialogue system's code elements. Or at least some of them, I have a feeling this will be a multi-day stage.
8:02pm - Okay I put up an instruction text that says Press X to Chat. That's going to be my control for opening and advancing the text. The arrow keys will let you choose between options when they come up, but then you press X to continue. I'll need to modify my test xml to have proper text examples, right now it's mostly choice based, but RPG text comes in one window at a time.
8:20pm - While making the alternative text for my dialogue test I noticed a problem with the way the dialogue data structures is designed. The guy I was cribbing off of was designing for text windows that don't automatically follow up with one another. He was using dialogue options for all progression. Mine is clasic RPG style so each window should automatically have an option, but a dialogue branch should be special and different. So I'll have to modify the data structure to reflect that by having each dialogue entry have a built-in connection, and if the connection is -1 it's the end of the conversation.
8:30pm - After finagling with the data structure a bit I realized it would work better the way it is. I'll just make it so that if there's only one option the selection arrow doesn't come up, so you're automatically selecting the next option. That should work better. This data structure is pretty slick.
8:36pm - Okay I've got my dialogue file updated. Now to do the code. First an input manager to handle the keyboard input...
9:19pm - I've kinda fallen off the horse. I got the window to pop up when I press X so that's nice. I'll try to work more later. For now I'm going to get some food.
Today I'm going to try to make the dialogue system's code elements. Or at least some of them, I have a feeling this will be a multi-day stage.
8:02pm - Okay I put up an instruction text that says Press X to Chat. That's going to be my control for opening and advancing the text. The arrow keys will let you choose between options when they come up, but then you press X to continue. I'll need to modify my test xml to have proper text examples, right now it's mostly choice based, but RPG text comes in one window at a time.
8:20pm - While making the alternative text for my dialogue test I noticed a problem with the way the dialogue data structures is designed. The guy I was cribbing off of was designing for text windows that don't automatically follow up with one another. He was using dialogue options for all progression. Mine is clasic RPG style so each window should automatically have an option, but a dialogue branch should be special and different. So I'll have to modify the data structure to reflect that by having each dialogue entry have a built-in connection, and if the connection is -1 it's the end of the conversation.
8:30pm - After finagling with the data structure a bit I realized it would work better the way it is. I'll just make it so that if there's only one option the selection arrow doesn't come up, so you're automatically selecting the next option. That should work better. This data structure is pretty slick.
8:36pm - Okay I've got my dialogue file updated. Now to do the code. First an input manager to handle the keyboard input...
9:19pm - I've kinda fallen off the horse. I got the window to pop up when I press X so that's nice. I'll try to work more later. For now I'm going to get some food.