How to make a shop for my game

IMG_2095
I need help with making a shop where when you buy it then it subtracts the currency/variable but if the user’s in-game currency is too low then they can’t buy it, so I want help with making a shop.

1 Like

use a checker to check if the player has enough of the required item. if the check passes, then use an item granter to grant (-25) “required” item.

1 Like

Do you want a physical shop or a menu popup shop? I can help you out

Can I ask why are you not using a vending machine device? One of those could save you the effort of having to go through many difficult techincal hurdles.

Edit: Great minds think alike. don’t they?

What about vending machines?

I notice that it says “1st Barrel” so instead of an overlay, you may want to use a button.

1 Like

remember to make the button transparent and put the button inside the barrel

1 Like