Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

To answer your question, I'm not entirely sure how to fix that issue. In my experiences, by default rooms reset everything that's in them when they're initialized or when a game is re-opened and run from the start. I'm not too familiar with saving game/item/room states myself as I haven't properly made a game that relies on it yet, and I'm assuming that's what's going on here. If there's some kind of check that determines whether an item is picked up or not, I'd look into resetting that when the player gets reset to it's initial state at the beginning of the game. Or if it's being kept in a sort of save file, erasing that file when "Play" is clicked to make sure the game opens at its begging state if you're not intending to have a proper save system yet. Those would be my immediate thoughts.

Thank you for that. I will look into implementing what i can.