Posts for: #Dev

Adding Seperate Ways to Re4-Pick-A-Gun

Dusting off the RE4 pick-a-gun service

It’s been a while since I’ve touched the pick a gun service. It was a project that started when I was playing Re4 Remake for hours. I wanted to use a random weapon that would only be used for that chapter. It was a nice way to spice up the runs and not use pen and paper to keep track of my runs. Out of sheer laziness, the pick a gun service was born. Built with Go, FyneIO and a lotta love.

[Read more]

Changing the cursor and adding sound effects to Clay-Bang

Adding some feedback mechanisms to the game

Clay bang has been getting pretty fun. I started managing states to pause the game to make it feel more like a game. Something I’ve been wanting to do for a while is changing the cursor to a crosshair and adding a muzzle sound while clicking.

I downloaded an open source muzzle sound and created my crosshair using my ipad. I wanted to make the muzzle modular so I’m loading it in a seperate file.

[Read more]

Expense Tracker Pt. 6

Reading Chase files into a new class

Time to continue the quest of managing bank data and reaching for the dream of good, private and fast budgeting. Following the pattern from earlier we’ll create a Checking class. This data is structured similarly to the previous ones except with a missing category and the amounts for money coming in is positive and money coming out is negative. We defined transactions going on credit cards as positive and payments as negative. This is the other way around and we’ll keep it that way for now as it conceptually makes sense(money is weird). We’ll also establish column mappings to keep it consistent and pave the the way for other banks.

[Read more]

Expense Tracker Pt. 5

Class everything

Continuing from the previous post, we will put the credit card code in it’s own class to follow the pattern for the database interface. I’m excited about this one as one can get creative when refactoring.

Let’s start the class definition. I’ll be taking the codename of the card for the database, the string of the filepath and the company that the credit card belongs to. I currently have chase and amex

[Read more]

Expense Tracker Pt. 4

Putting the database in a class

We’ve made some great progress in making an expense tracker. Now it’s time for some cleanup. Per the last post, I have removed the sub_category column from the database. I can run Group By queries to compile all the different categories and it makes it simpler without needing to regex all of that. For now, we’ll put the database in a class to clean up the file. We hacked a starting project and now need to organize it a bit now that we know it’s working.

[Read more]