Let enemy blink when hit - how?

Hi folks,

I would like to know what’s the best deal when I want the enemies blink when hitting them with a shot?

I mean - is it better to pre-render colored enemies into an array for a better performance or is it just okay coloring them during gameplay?

E.g. you can use the colorMatrixFilter- or colorTransform-methods for accomplishing this. Pre-rendering it (mentioned before) and storing the colored enemies inside of an array is an option also.

I ask because I’m not sure how those mentioned methods influence gameplay…especially for action games. What is faster - what slower? What should I avoid? TIA!:slight_smile: