Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Môsi

A tiny game editor you can use on your phone or in your browser · By sg

how to set something to where you need a specific number of item to pass something.

A topic by OdiniusTheGreat created Jul 18, 2021 Views: 161 Replies: 2
Viewing posts 1 to 2

how do you set a thing to where you need a certain number of item to get past something

Developer

You could add one to a variable every time you pick up an item, then for the sprite you're using as a wall, use an {if} conditional to check the number of items and use {set-sprite-wall false} to make the sprite passable.

thanks