I've created an asteroid game where a user must control spaceships to dodge incoming asteroids. For anyone who's previously helped me with this game, my other errors have been fixed. The last feature I am trying to implement into my program is related to shooting. Currently, when one of my two spaceships on the screen shoots an incoming asteroid, both that bullet and asteroid being hit are removed from the world. My goal is to make asteroids that are bigger have more health (more bullets needed to explode), and I hypothesize that a ratio will be needed. If I say it takes 10 bullets to destroy an asteroid with the size of 100, I suggest I can use that to make a ratio (10 bullets / size100 = ? bullets / getSize of asteroid being shot at), in order to make size and health (of an asteroid) proportional. Not exactly sure how to go about this, any ideas?
