7:51pm - Late start today but I had things to do earlier. <3
Today I'll start working on making the dialogue for NPCs.
8:19pm - Okay so I've got a basic dialogue window. Right now I've got it attached to the NPC but it just kind of sticks out in the corner.
I'm not 100% sure how I want to make the dialogues work, but at this stage I'll just do it roughlike. I'll probably center the dialogue in the screen...
9:12pm - Okay now I've got the dialogue popping up and hiding when the X button is pressed, but there's a bug where the player will walk to where the X button was. I want the X button to consume the input.
Oh that was easier than expected. I fixed it by switching the input event handler in the camera to an unhandled input event handler. Now when something else handles the input, it won't do the raycast.
Oh! Trouble. I did a test, and when the dialogue is on the screen, the player can't move! I wanted to make it so that the player could walk away from an NPC and the dialogue would be closed. But this is acceptable. Bug becomes a feature!
9:19pm - Well I think that's enough for now. Next time I make the NPCs do their things.
Today I'll start working on making the dialogue for NPCs.
8:19pm - Okay so I've got a basic dialogue window. Right now I've got it attached to the NPC but it just kind of sticks out in the corner.
I'm not 100% sure how I want to make the dialogues work, but at this stage I'll just do it roughlike. I'll probably center the dialogue in the screen...
9:12pm - Okay now I've got the dialogue popping up and hiding when the X button is pressed, but there's a bug where the player will walk to where the X button was. I want the X button to consume the input.
Oh that was easier than expected. I fixed it by switching the input event handler in the camera to an unhandled input event handler. Now when something else handles the input, it won't do the raycast.
Oh! Trouble. I did a test, and when the dialogue is on the screen, the player can't move! I wanted to make it so that the player could walk away from an NPC and the dialogue would be closed. But this is acceptable. Bug becomes a feature!
9:19pm - Well I think that's enough for now. Next time I make the NPCs do their things.