Creeper World is sort of like this. Basically the enemy is a self replicating liquid that destroys everything it touches and you have to fight it off and secure each map. It was originally a flash game so go with those expectations but it’s pretty fun regardless. I recommend CW3 as the best one.