Hello, everyone! The last two weeks have passed quickly. And I’m proud of my small achievements! It’s not just that I made more progress than before. I also feel more fluent in Godot now! That feels really good.
First, I decided to give the player and an enemy health bars. They are dynamic, changing color from green to yellow to red depending on how much health is remaining. To do that, I had to learn a bit about Themes. They’re something like visual templates for UI elements. Like progress (health) bars.
Then, I grew tired of the massive main character script and divided it into seven pieces. Movement, attacks, interactions, and everything else. Now it’s super comfortable, and I’m happy about that!
Remember the inventory? Two weeks ago, I was stuck on moving the items inside it. Now it works properly, you can freely drag and drop any items. As it turns out, Godot has an API for this specific feature — Drag&Drop. I had to learn how to use it, too.
Then, I modified the coins slightly. Now, you don’t have to press anything near them – they are picked up instantly. The coins counter was also removed from the pause menu. It now appears when a coin is picked up and when the inventory is open.
Oh, I almost forgot about the platforms! Well, they were really easy to add. Old-school platforms that you can jump on and then fall through by pressing the “crouch”+”jump” buttons.
Finally, I’m starting to have more fun while working. I make fewer mistakes and find them much faster. The learning pays off! [No more abandoned projects]
P.S.: This post has no image because nothing changed visually… Sorry.