Skip to main content

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

First of all what engine (if any) are you using to make your game? Unity? Unreal?

Also if it happens to be Unity (or something similar) then I would create a game manager script that detects when the player is out of cards then makes a call to your card reloader script to refill the player's inventory. 

(2 edits)

Im using unity and i have no idea how to do that.  I tried making a thing that counts how many cards the player has left, but when the player uses a card, it stays the same