The flash game you are thinking of is likely Sluginator 2. It features a slug-like creature that consumes people.