Since I am new at this, this question is probably out of my league. I'm thinking it will require some programming skills (which I don't have). But here it goes anyway,
When my player collides with a door, and if he has 5 coins. He will be asked if he really wants to continue, then, when the player clicks on a "Continue" button, he can
go to the next level and 5 coins will be removed from his collection of coins.
I have looked at tutorials and on this forum but can't find anything like this.