Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Bitsy Game Maker

Make little games, worlds, and stories! · By Adam Le Doux

A way to remove an item from the inventory?

A topic by wych(witch) created Dec 28, 2017 Views: 674 Replies: 3
Viewing posts 1 to 3
(1 edit)

I've been trying this out and I love it so far! However, I can't figure out how to remove an item from the inventory. I can freely change other variables but for some reason item management is the one thing that escapes me. Thank you so much in advance!


I dont know if this is the proper way to do it, but you can tie the items to a variable and have the game handle the latter instead. So say you have a frog and its going to be assigned to variable "a",  you can set the dialogue when you pick it up to "You just picked up a slimy boy {a = a + 1}." When you  hand the frog over to a witch who needs it for a spell the conditional dialogue will be set to variable a instead of inventory frog. In the dialogue string for when variable a == 1 , append {a = a -1} to the end of it to "remove" the frog from the inventory.

its a bit of a workaround since the items still stay in the inventory, but it achieves the same effect!

ah i've never considered doing that! Thank you so much!! I'll leave this post up in case there's a way to directly interact with with items that we're somehow both missing


Oh my goodness thank you for this! It was just enough for my tiny brain to understand.