looking to implement a character selection system where you can also unlock other characters by coins earned in game... something simple.
Thanks.
Develop games in your browser. Powerful, performant & highly capable.
With coins as a global variable you should be able to add and subtract for spending. When you buy a character subtract the coins, to say whether the character is unlocked you could use another global variable changing it from 0 to 1.
Okay thanks I will try it out