Oct. 18th, 2017

Work Post

Oct. 18th, 2017 04:14 am
relee: Picture of Relee Starbreeze, Wizard (Default)
4:16am - Workin' in my bedroom again. Or trying to anyways. It's really tempting to just crawl into bed again or play video games. I miss being able to go to the McDonalds at night and work.

Anyways last time I made an input manager that instantiates a window when you press the submit button, bound to x. I'm going to change that a bit in preparation for integrating this dialogue system into a live game. The input manager will have a gameMode parameter that switches from some nothing state (at present) to the dialogue state. In the future this will swap control from gameplay to dialogue or menu as needed.

In my demo the x key will switch from the nothing state into the dialogue state, and then the x key will progress through dialogue windows until they end. Then it'll switch back to the nothing state and wait to do it again.

5:13am - Okay I've got it loading the dialogue from the file and putting it in an instantiated textbox. The next step would be deleting the prior textbox on key press and making another with the next dialogue portion, but I've realized a couple of problems that are swiftly coming up.

The first problem is that I'm rapidly growing the amount of the UI code in the Input Manager. I'm thinking I should move it all to a seperate Dialogue Manager that will accept input events from the Input Manager when the game is in Dialogue Mode.

The second problem is that at present, with the current font and point size, the text box can handle three lines of text. That's okay, except that when I have options to choose from, I won't know which line they're on.

I'm thinking that for now I'll make it so that the selector switches between lines 2 and 3 with the expectation that line 1 explains the choice. But I'll probably have to modify this system later.

5:28am - I'll have to do all of that later though because right now I'm drained, and I think I'm going to go play a video game. I've got a little work done and some important problems figured out. I'm making progress.

Work Post

Oct. 18th, 2017 11:00 pm
relee: Picture of Relee Starbreeze, Wizard (Default)
11:00pm - I slept all day after playing Atelier Rorona until 8am. Feeling kind of rotten now. Want to work but don't want to work. Gonna try and work and see what happens.

Gonna start with making the DialogueManager and making my DialogueManager and InputManager into singletons so they're easy to grab. There should be only one anyways.

11:15pm - Okay I've got a DialogueManager class now and both of those classes I mentioned are singletons now.

Next up is moving from window to window with a press of the button.

11:19pm - Naw. I think fifteen minutes was all I had in me. I'm amazed I made a little progress in that time.

Profile

relee: Picture of Relee Starbreeze, Wizard (Default)
Relee Squirrel

July 2023

S M T W T F S
      1
23456 78
9101112131415
16171819202122
23242526272829
3031     

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 9th, 2025 05:43 am
Powered by Dreamwidth Studios