Showing damage on sprite - how to?

Is there any other way to show damage on sprite (ex. on bricks) than creating damaged sprite and changing it after hit? Maybe some material magic or so?

Edit:
Basicly i want to recreate space invaders game and i wonder if i must create shiled from “bricks” or is there any other way to make gameobject that behave like this.
Link: SPACE INVADERS, play the original old school arcade game

@czater Do you want to show same sprite as damaged form or just change the correct sprite with damaged one ?? public Image yourImage; public Sprite damagedSprite; // for changing sprite yourImage.sprite == damagedSprite;

best for me would be if i can use same sprite for normal and damaged. I mean damaged= normal sprite + some magic staff (shader or sth?) and I wonder if it is possible to do this this way.

1 Answer

1

For loop with inner loop and generate the shield from small bricks and destroy as they are shot…

Check out mine.