relee: Picture of Relee Starbreeze, Wizard (Default)
2017-05-15 07:13 pm

Work Post

7:13pm - Well I'm down at the McDonald's again for another work session. I had to come out to get my medicine and the library was closed so here I am.

Today I'm taking a break from my project to read a book and work along with it. I got the book Unity AI Game Programming free from Packt and I'm eager to try it out, maybe pad my portfolio with a few simple projects.

7:22pm - Well that's a good start. I knew this book was written barely at the start of Unity 5 but when I opened the first example it said that some of the code uses obsolete APIs and that it would try to bring them up to code. I have no idea if this will even still work, but maybe I can learn something by fixing it!

9:20pm - I'm getting sleepy, very sleepy, and I just finished chapter 2 of the book. I think I'll pack up a bit early and head home. Maybe make it an early night.
relee: Picture of Relee Starbreeze, Wizard (Default)
2017-05-14 07:54 pm

Work Post

7:57pm - Geez time flies. It's already been an hour since I left the apartment and I'm only now settling in to work.

Well, it's my first work post on the new journal, so I'll say that if you want to read my previous work posts, you can check my previous journals, linked in the previous post.

Last time I was working on a random map generator for a test. It'll make a randomized map of three types of tiles (but mostly the first one) that I can view in the Tiled editor. After that comes the tricky part of making a tile loading program to move the map data from file to memory, but that's future squirrel's problem.

Now, Tiled uses the .tmx format, which is basically just an XML file structured for Tiled. I'm writing the map generation tool in C# for Windows. I've used a lot of C# since I've been working in Unity, but I haven't used a lot for application development, so a lot of this is new or a refresher. Particularly new is the XmlWriter class. New to me at least.

10:30pm - It took a while but not as long as I expected, and the map generating tool is complete. I've got some nice random maps.

My next step is to make a tool to load these maps into memory in Unity. That'll be the tricky part.

For now I'm shutting down for the night. It's been more than two hours so I'm due a break, and it's late enough that I don't want to work more after my break.