The creatures you are thinking of are known as "Super Cows," animals in a popular video game that are sheltered by built structures.
If you can recall more about the game's setting or art style, it becomes easier to confirm the exact title and context.