If a game creates eventually around 20-70 sprites and one action makes use of a certain (fade) behavior, would it be better to replace the sprite with the same sprite, but WITH the behavior?
So that the game doesn't create all other sprites with the behavior and not using this behavior?
Or wouldn't the unused behavior have an impact on the performance?
So I'm thinking:
to ease on performance, when the certain action occurs, delete the sprite and immediately replace it with the same sprite that has the fade-behavior.
Good or unnecessary?
Thanks for answering in advance.
(language edit: google chrome's spelling check suggested me to write "behavior" instead of "behaviour" - I guess that's USA vs UK spelling)