Would This Help to Reduce Every Tick Strain on Performance?

0 favourites
  • 4 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • The amount of every tick actions I am using is starting to pile up. I doubt I am anywhere near a noticeable amount yet, but down the road who know. So I was hoping to start fixing it now before it's a big problem.

    As of now I have a few layers, while one is visible the other layers are invisible.

    Would it be helpful if I put an every tick for each layer instead of one that is overarching.

    Example

    Every Tick

    Layer 1 is Visible -> (Do X Actions)

    Every Tick

    Layer 2 is Visible -> (Do Y Actions)

    Would this save the program from reading each X action if layer 1 is invisible? Would it help?

  • It may never be a problem. Use the profiler to make measurements about what's actually performance intensive in your game, rather than guessing. Otherwise you're likely just wasting your time.

  • The amount of every tick actions I am using is starting to pile up. I doubt I am anywhere near a noticeable amount yet, but down the road who know. So I was hoping to start fixing it now before it's a big problem.

    As of now I have a few layers, while one is visible the other layers are invisible.

    Would it be helpful if I put an every tick for each layer instead of one that is overarching.

    Example

    Every Tick

    Layer 1 is Visible -> (Do X Actions)

    Every Tick

    Layer 2 is Visible -> (Do Y Actions)

    Would this save the program from reading each X action if layer 1 is invisible? Would it help?

    it will not

    but if i was in your place i will do :

    Every Tick

    > if Layer 1 is Visible -> (Do X Actions)

    > if Layer 2 is Visible -> (Do Y Actions)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Then I wont waste time on it! :)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)