behaviour adding to fps decrease?

For questions about using Classic.

Post » Wed Nov 16, 2011 6:43 pm

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)rogerty2011-11-16 18:52:27
One of my recent games: Plants
Posts: 729
Reputation: 6,494

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest