Living World Productions
Video Game Blog

March 20, 2019

I've had to take a couple days away from the project because of work. Since I was going to be away from it, I decided to dig out one of the books I mentioned at the start to browse through it while I'm waiting for an Amazon® load.

When I first read this book, I was still new to the idea of making video games. I made stuff that worked and it those who used my various projects enjoyed them. Years later after getting my formal education and tutoring other people, I now am looking back and seeing little things in the book that I glossed over because I did not understand it back then.

And as I am reading my old code, I realize just how terrible it was (despite it getting the job done). With this better clarity, I'm thinking that I can rewrite the game from the foundation to actually make it "decent" code that will work more efficiently.

Before I even picked up this book again, I was noticing that things were running faster just because I was writing more efficient code already. There's a test that I was not happy with checking where the Cursor was pointed that I can streamline into better a better idea.

Before, the Cursor would do some simple math to help move it according to where the mouse was at. But, because of the scaling nature of the Monitor size detection aspect I was originally using percentage values that would grow and shrink accordingly. This would cause a little jump here and there that just wasn't professional looking.

I'm not going to turn out a piece of crap!

The system I'm migrating to is going to be pixel-specific and its appearance should be seamless!