Day #8 Item Splitting and Items
With today's work I'll say the inventory core functionality is done. It may change in the future though. I worked on item splitting, with a popup in which you'd input the amount to be split. I also added loot table data for when I want to spawn items from objects into the world, and finally, on items themselves, which you can see bouncing on screen.
The items you see change because I coded the texture to be changed when I change the name on the editor (it can be done with code as well) so when I want to spawn X item I just instanciate it, and change its name dinamically so it'll appear as item X. Though it's only a sprite that gets deleted on contact with the player (not yet added), it could then be placed on the inventory as easily as updating the database with code.
The item sprites had a background to hide the slot sprite and has been removed. Though I'll think of how to hide that on the future.
Files
Get Forbidden Entry
Forbidden Entry
Stealth, rob 'em up
Status | In development |
Author | GameDev_byHobby |
Genre | Role Playing |
Tags | Crime, Singleplayer, Stealth |
More posts
- Day #30 End of JamApr 30, 2021
- Day #27 House stuffApr 27, 2021
- Day #26 House exterior and cameraApr 26, 2021
- Day #25 Inventory re-textureApr 25, 2021
- Day #24 Minor updatesApr 24, 2021
- Day #21 Finishing touches to dialogueApr 21, 2021
- Day #20 Dialogue SystemApr 20, 2021
- Day #19 House InteriorApr 19, 2021
- Day #18 Starting Level DesignApr 18, 2021
- Day #16 Owner basic animationsApr 16, 2021
Leave a comment
Log in with itch.io to leave a comment.