this is my code please help me make a rebirth system (rebirth is like restart game but with 2x or 1.3 depending on your income or money)
Develop games in your browser. Powerful, performant & highly capable.
I just did this the other day...there's a reset event if I remember correctly. So be like on upgrade action reset such and such. I didn't explore it enough to figure out how to reset specific things.