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

Path of Kami: The Evolution of the Lore

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

I was bored, so... ManutKat.

The Darkside Detective: A Fumble in the Dark is out TODAY! 🖱️Advanced pointing, clicking action 🖨️Very funny words! Loads of them! 👻6 sarcastic, spectral cases to solve

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

A house I've built a while ago. :)

It nicely separates the snowy biome from the grassy one.

It's built with painted Ebonstone.

Showing off player 2 😎

What do you think?

If you have more of an acquired taste, the restaurants in Niravasi have you covered! Maybe skip the salad bar, though.