Hello, I made this account just for this one question, how do I make a upgrade force a layer reset (like respec)? I’m making this so you can’t cheat by going far into the run before you have it.
1 Like
I will be making other games while waiting for a answer
You can give the upgrade an onPurchase method which will be called when you buy it. To force a reset on a specific layer you can use doReset(id, true)
where id is your layer id.
1 Like
Thanks, I will test it