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

Shoobies leave a sticky trail of mucus in their wake, which can impede movement for any creature that steps in it.

Shadow The Hedgehog X pixel art

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

Microsoft Windows XP Unprofessional (windows logo prototype)

Demonstration of the spells and their effects :)!

Made my first ever animation.

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

Who's is this little cutey👸 here? Thanks🙏 for a gorgeous fanart @WheNa! Feel free to share your arts, screenshots, or videos with #playzelter or #zelter hashtags! #pixelart #animating #unity3d #animated #indiegames #unrealengine #animate #conceptart

I did this on my 3DS ^^ #Kirby