The Blogs

Got comments working! Woo! So let’s talk about that then, shall we! So there’s like 2 or three parts we need to cover. The data/model, like how it’s structured in the DB. The event system for handling the UI. Annnddd maybe we will cover the UI stuff itself.

15 December 2019
Alright! Let’s talk about more than 4 lines of code this time. We have been taking a break from coding and writing for a bit. Slowly easing back into it. Rest time is important, next time we just need to find a better balance. Oh but heads up, next week our mom is coming in for like 2.5 weeks and we will have our child over for like a week and a half this month, probably going to miss a few days here and there :3 Okay so first up, let’s start with the navigation!

<BSPagination Class="paging fixed-top mx-5">
04 December 2019
Alright, it’s code talk time! This last week has been rough. Just with everything going on it’s been stressing us out. But we were able to talk to some people and it helped us feel reconnected. That out of the way :3 let’s get into the code! So the fun part about this is that we can explain code on this very page! We can just go over the blog post page itself. Oh, by the way, we made the repo public!

@page "/blog/{Id:int}"
01 December 2019
Oh hello there o/ had a busy day. Need to get this out quick so can go sleep. Had electrolysis today, it was pretty rough. For some reason, maybe being dehydrated or something, it hurt extra bad today. While there the electrologist invited me to this trans dinner thing she hosts like once a month. At the time wasn’t sure if was a good idea to go or not. Knew that it would be a good thing to get out of the house. While had a good time and got along with some people, it means that didn’t hit 40 hours. Going to have to do 3-4 hours of work this weekend, not that big of a deal though.

22 November 2019
So it's been a while... Sorry about that. Got really burned out on programming between work and trying to do this. Good news though, I'm back! I think I made some good progress today as well. I mostly finished the fog of war system, and got basic Enemy Ship Movement working with some path finding. For the fog of war I'll have to deal with the fact that at some point the bad guys won't be black dots. Oh well, Progress!

04 November 2018
Alright, good news! Finally started streaming game programming again. I only did an hour and half, but it's a start. I also didn't get much done, I spent half of the stream fucking around with Unity trying to remember how it works. There was also a bit of time I was getting pissy with how 0,0 is the center of the screen, but whatever, just need to get used to it. There is this grid and tileset thing in Unity, I tried messing with it, but made no headway. Luckily a viewer on stream linked me a youtube video and after streaming I watched part of the video then looked up some stuff about it.

Anyways, so what did I work on today? I pretty much only worked on the Overworld generation. Just the basics though, adding water and island tiles to the game. I ended up slowly bringing down the amount of land tiles compared to the water ones. I started off at 50/50, then made it so all the edges are water, then made it so land could only have water around it, finally made it to about 1 in 9 or 10 tiles are land. Here's the code:
16 July 2018
Sorry I haven't posted in a few days, I've been pretty busy. Out of no where my ex-wife told me she needed 250 dollars for daycare by Monday, she told me this Thursday night. Anyways, I managed to finish my alarm clock program! If you want to install it, you can find the MSI here just click the download button. Also if it wasn't clear from previous posts, this will only work on window computers. Also I start my new job tomorrow, so that's pretty great. I'm also going out on Tuesday to the a nickle aracde. Looking like this is going to be a good week.

Anyways, let's get into the code. Last time I posted some stuff about making a popup for alarms, well I moved that to a next window like I said I would.
29 April 2018
Sorry it has been awhile, but good news! I got a job! I was dealing with all the onboarding stuff, but things should slightly return to normal for a while. Also because I got a job schedule is going to change somewhat. I will now be getting my kid one night a week, and every other weekend. So on the weekends that I have my son I might not be doing work, and the night I have it, I for sure wont be doing work. I'll be getting him either on Tuesday or Thursday, so only one open source day a week.

Also for my game, I've just been going over tutorials so I haven't been writing any blog posts about that. I'm going to keep going over tutorials for the next few weeks till I feel good to start. Hopefully by that time I have my new computer up and running so I can stream. I would prefer to stream the whole process from start to finish, I think that would be pretty rad.
25 April 2018
So did some more work on UI stuff today for my alarm clock, coolio. Today I built out the windows for adding/editing the three different kinds of alarms. I guess I'm not quite done yet though. After thinking about it I want to have some sort of audio alarm with it too. Not sure how rough that will be. I mean using a file picker wont be that hard, but playing the audio, not sure. Can't be that hard though right?

Like usually, everything I worked on today has been uploaded to my GitHub. That reminds me, I need to look into is it okay to put not text files onto github, like images or audio files, hmmm. Just did some quick googling, still not sure. The image shouldn't be that big of a problem because it will just be a small image that will sit in the system tray. But a default audio alarm noise, not sure. Whatever I'll figure it out later.
12 April 2018
Got some good work in today, despite my son waking up almost two hours early. Little bastard. Anyways, today mostly focused on the UI stuff for the alarm clock. It's not finished yet, but got a good amount done for only working an hour on it. So I guess today we can cover DataGrid in WPF. XAML and WPF is not really my strong suit, I'm more of a backend guy. But luckily my google-fu is good enough to get me by. Although it might look ugly.

Okay, so what is a DataGrid? Well it's basically a table that let's you grammatically change stuff about it. You can add rows or columns in the code if you need to. It also has this really cool thing with data binding. I'll be honestly, I'm not 100% sure how data binding works, but I know how to use it. and in this case I pretty much bind it to a list and anything added to that list will be added to the DataGrid.
10 April 2018