Game
Rogue Cadet
9 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

Fan art for Foolish I'm feeling kinda better so I drew this

Here's a peaceful little forest scene for this #screenshotsaturday, from the beginning of the game.

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

What you all think

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

Microsoft Windows XP Unprofessional (windows logo prototype)

Regular exercise is key for healthy wings.

Try it out!

https://gamejolt.com/games/AeonNightmares/605184

Regional Bulbasaur. #Pokemon

Auto-chess meets Clash Royale in an intense strategic battle. Outsmart your opponent, hide your play and crush their armies! Empire Builder just got another major update, check it out! https://gamejolt.com/games/EmpireBuilder/558901

Explosive domino effect