0 Favourites

behaviour adding to fps decrease?

This forum is currently in read-only mode.
  • 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)

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)