Aug. 31st, 2018

Work Post

Aug. 31st, 2018 02:12 pm
relee: Picture of Relee Starbreeze, Wizard (Default)
2:16pm - Down at the McDonalds again. Had a nice lunch and my belly has settled down again. I hope it's just the antibiotics causing this and not something else.

Anyways, last time I was wiring up the buttons on the menu to do their thing, so I'll do that some more.

I'm a bit concerned about a couple things I'll have to do later, but I'll try to worry about them when I get to them.

2:44pm - Okay I've got the basic buttons working, the ones I actually intend to implement for now.

Next up is the message pump that moves the commands from the WorldController to the MenuController, for the MenuController to pretty up and put in the MessagesLog and the MessagePanel, when pertinent.

Whoo this is gonna be rough. ^.^;;

3:07pm - Okay I've decided to have the WorldController do a method call on the MenuController directly in order to facilitate the message pump. There's two methods, LogMessage and DisplayAndLogMessage. The first one will log the message in the Messages log, which will be put in the Messages panel. The second one will call the first but also put the message in the Message panel and display it, and set up an input block so that the player has to close the Message panel to continue.

3:40pm - The Ibuprofen I took with breakfast is wearing off, and my ears are starting to hurt and swell again. I might have to go home soon.

3:58pm - How has it been less than two hours since I started? It feels like I've done a lot more and been working hard for a long time. ;.;

4:05pm - Okay the more I think about it, the more I'm unsure how to do this. I've hit one of those problems I was worrying about earlier. I've got to make sure that the text box scales with the text it contains so that it can be scrolled but not overscrolled, but I'm not sure how to tell how big the contents are. :/

I was thinking of doing something to calculate the number of lines and the font size but I don't think that would be feasable. It might work, but I don't think I can do it reasonably.

4:39pm - Aha! I fixed it! Apparently there's some builtin components to handle this kind of thing. Specifically LayoutElement and ContentSizeFitter. It took a bit to figure out how they worked but now they do just fine.

5:17pm - Well I'm spent. It's frustrating that I've only been working for three hours, but there you go. I managed to make the message pump go to the messages view. I haven't been able to test the message panel yet since I don't have any messages that would go in there yet.

But yeah my body is nolonger ready. I need to go home and relax.

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 Aug. 28th, 2025 10:24 pm
Powered by Dreamwidth Studios