Game
Rogue Cadet
8 years ago

Day 79


Day 79: Today the cat I’m keeping kept sitting on my desk, right between the keyboard and the screens. That little bastard is just too damn fluffy and cute fro me to force it to leave. So I spend a significant amount of time petting it. I’d like to think that I used this time to think about my code. But I’m not really sure.

Daily interesting stuff:

Tasks done:

  • The upgrades can be unequipped now. I had to use a custom Input. The problem is in Unity the basic Input System isn’t event-based. So you have to check for it in a runloop. So I did that. It fucked up my whole class relations since I didn’t want every item to check every frame for the same thing. So I had to put it in the shop. But then I needed to know which item was selected. And you know stuff like that. But I made it before lunch.

  • Corrected some trivial text bugs. Stuff like rounding numbers and adding “$”.

  • Added feedbacks when the upgrades are locked or you can’t buy it. This was also a mess to do. At first I thought I just had to change the “intractable” bool of the button. But that didn’t worked well. So I did showed a red cross sprite in the top left instead.

  • Did the unlockable upgrades. It’s upgrades that can unlock other upgrades. This broke the locked feedback, and I had to change it. This was actually hard to make. I spent a lot of time on it. It’s just that I’m currently having a laziness crisis and that I really can’t remember all I did to make all theses feature work. Or maybe I just don’t want to remember because I know it’s not great.

  • Did the unlock ship upgrades. This was easier than the rest. Mainly because It looks a lot like the upgrade unlock. Except I had to implement the lock feedback in the ship selection. In retrospective, I realize that all the tasks I did today were painful to do. Every time there was surprise complications. I guess it’s just proof that this part of the code base is too tangled. But at least the upgrades are starting to work and that’s all I need right now.



0 comments

Loading...

Next up

art comission.

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^

Have a good Boi

Updated the chest in the maze, adding sound, particles and better animation. But what's in the chest?

Finished work on the emotions of a new character for the tank universe

Spaaaace~

These are background sprites I've created for a game I'm working on at school ^w^ Click on the post to see how the sprites connect. You won't regret it! (personally, I think it's pretty heheh)

Drawn in Piskel using my mouse. Whaddya think?

I worked so hard to get all four of them to the end safely, but then...

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)

Levels' maps.

blender animation experimentation, getting the hang of things fast. arms, rig, & gun models by me ofc