I'm making a cookie clicker type game and as the numbers of cookies hits a certain milestone (ie every 50 cookies a person appears), I want to add a image on screen of a person and remove a person randomly in space as the cookie count increases/decreases.
Right now, I'm thinking about limiting to the amount of people that disappear/appear on screen to 7, but I don't know how to make them appear/disappear depending on how many cookies are earned. Help?