Noob question about layer effects

0 favourites
  • 4 posts
From the Asset Store
4K Hand Painting, 300 dpi and layer layer, psd and png files. 3200 x 4200
  • I'm quite seasoned with C2, so i'll be a surprise for you this is coming from me but...

    We have 2 layers, layer A has 1 object, layer B has 1000. Both gave "Vibrance" effect applied.

    Does the engine use the same amount of resources to apply the effect to both layers? or layer B drains more?

    Yes, i'm a nawb, but vote our game anyways if you happen to like it <img src="{SMILIES_PATH}/icon_cool.gif" alt="8-)" title="Cool">

    http://steamcommunity.com/sharedfiles/f ... =331479068

  • it applys effects per layer so having it only on one should be better for performance. i believe there is a manual, blog entry or forum post by Ashley that covers this

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In the manual it says this:

    [quote:3m4pwoqi]Effects are visually impressive, but can slow down the game's performance considerably if over-used, especially on mobile. Using an effect on objects with many instances is especially slow - often it is much more efficient to place all the objects with the effect on their own layer, then apply the effect to that layer instead. This allows the effect to process everything in one go, rather than having to inefficiently re-run the effect for a small object over and over again.

    So, if you put the effect on the layer and not on the object, i think it doesn't matter how many objects are on the layer.

  • In the manual it says this:

    [quote:2obwj1fa]Effects are visually impressive, but can slow down the game's performance considerably if over-used, especially on mobile. Using an effect on objects with many instances is especially slow - often it is much more efficient to place all the objects with the effect on their own layer, then apply the effect to that layer instead. This allows the effect to process everything in one go, rather than having to inefficiently re-run the effect for a small object over and over again.

    So, if you put the effect on the layer and not on the object, i think it doesn't matter how many objects are on the layer.

    Thanks!

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