I would like to know how can I go about with an approach, that lets the enemies blink after they are hit with a shot/particle?
Is it better to pre-render colored enemies into an array for a better performance or is it just okay coloring them during gameplay?
For example, you can use the
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.
Which method is usually faster / the accepted norm? Are there any approaches I should avoid that will impact the gameplay?