itch.io is community of indie game creators and players

Devlogs

Day #9 Item Functionalities

Forbidden Entry
A browser game made in HTML5

After introducing simple non-interactible items I worked on the actual functionality. They can change their data based on the parent node's name so I just have to give a name on spawning an item and it'll change accordingly. I also added stack sizes, which only render on screen if it's larger than 1. And a little animation for the items waiting to be picked.

I also want the player to choose which item to pick up so I'm changing the item pick up function to have to be on top of the item and then press the "Interact" key. I want to start adding more functionality to that key since it's not much of what the name implies now.

After all this, the inventory now gets the item's id from the name it's been given, and adds it to its data so it updates and appears on the first slot available it encounters.

I'm planning to move on to NPCs and a dialogue system of my own (though I could use Dialogic 1.0 for Godot, I want to have the experience). Then I'll focus on updating the art for the game.

Files

  • Day9.zip 4 MB
    Apr 09, 2021
  • Day9Executable.zip 13 MB
    Apr 09, 2021
Download Forbidden Entry
Leave a comment