4:04pm - Well I've been at the McDonalds for hours now; not sure how many but at least two, maybe three. Mostly been playing video games. I could've done that at home though, I came out here to work, so I shall try to work.
I'm going to be working on my Roguelike Project again.
My next task is to put player in the world and move them around. Well, that's actually a lot of steps, so let's start with just putting the player in the world. For that, I need a player!
Now, it's been long enough that I've moved apart from this code to a point I'm not sure how it works entirely.
I know that when a tile is created, a callback is assigned to it in the WorldController. A tile gameobject is created and added to a dictionary of all the tiles.
I'll need a dictionary of Actors related to their GameObjects, and a callback for when the Actor changes.
4:34pm - Yeah I think before I go any further I need to analyze what I've got already.
Like, why are the Tiles so different from the InstalledObjects? The Tiles get their types from an Enum and the InstalledObjects get their type from a String. I remember this was explained in the tutorial I followed to get the early bits in place by saying that eventually the InstalledObjects would get their data from a file. I think they should both be like that. And Actors too! And LooseObject when I get to that.
4:50pm - Yeah the more I look at it the more I think I should standardize the codebase before I continue, so that everything works the same way instead of having a system of apples and oranges when either would do alone.
But first more video games. I have the craving!
5:39pm - Damn but Caves of Qud is hard and unforgiving. I even scaled back and tried just grinding levels around Joppa before doing anything, and even that got me killed pretty quickly. I'm not giving up entirely but it's not very relaxing for my break. XD
5:53pm - The more I step into this coding the more it seems like I should just rewrite the whole Tile class. Even the property and method names don't match in style. It's OnChanged here and Update there. And the smell of McDonalds food is making me hungry. I've already spent too much on food today.
Yeah I think I'm gonna go by the grocery store on the way home and pick up a few things, then go home.
I'm going to be working on my Roguelike Project again.
My next task is to put player in the world and move them around. Well, that's actually a lot of steps, so let's start with just putting the player in the world. For that, I need a player!
Now, it's been long enough that I've moved apart from this code to a point I'm not sure how it works entirely.
I know that when a tile is created, a callback is assigned to it in the WorldController. A tile gameobject is created and added to a dictionary of all the tiles.
I'll need a dictionary of Actors related to their GameObjects, and a callback for when the Actor changes.
4:34pm - Yeah I think before I go any further I need to analyze what I've got already.
Like, why are the Tiles so different from the InstalledObjects? The Tiles get their types from an Enum and the InstalledObjects get their type from a String. I remember this was explained in the tutorial I followed to get the early bits in place by saying that eventually the InstalledObjects would get their data from a file. I think they should both be like that. And Actors too! And LooseObject when I get to that.
4:50pm - Yeah the more I look at it the more I think I should standardize the codebase before I continue, so that everything works the same way instead of having a system of apples and oranges when either would do alone.
But first more video games. I have the craving!
5:39pm - Damn but Caves of Qud is hard and unforgiving. I even scaled back and tried just grinding levels around Joppa before doing anything, and even that got me killed pretty quickly. I'm not giving up entirely but it's not very relaxing for my break. XD
5:53pm - The more I step into this coding the more it seems like I should just rewrite the whole Tile class. Even the property and method names don't match in style. It's OnChanged here and Update there. And the smell of McDonalds food is making me hungry. I've already spent too much on food today.
Yeah I think I'm gonna go by the grocery store on the way home and pick up a few things, then go home.