dyonn's Recent Forum Activity

  • Aye, it does indeed. But it falls a bit flat I'm afraid. What I need is to be able to light both the background and foreground separately IE the background needs to show up and the foreground needs lighting. With this system currently that cannot happen. I've seen the code where the change needs to be made unfortunately I cannot modify the layers list of properties as they seem to be on the 'tool' side of things. Seems a small change, any chance of r70 including it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So answered my own question. Layers cannot currently have effects

    For Reference here is the offending code.

    :

              // If rendered to texture, paste to main display now

              if (render_offscreen)

              {

                   // Drawing at layer opacity

                   ctx.globalAlpha = this.opacity;

                   ctx.drawImage(layer_canvas, 0, 0);

                   // Restore 100% alpha

                   ctx.globalAlpha = 1.0;

              }

    I'm about to install r69 and if I'm still not able to add layer effects I'll add in the code myself and post it here for all.

  • I see when I change a layer to "Force own Texture" that there should be an option to set effects for a layer. But I've looked all over and cannot find them. I'm trying to create an effect similar to the lighting demo on Scirra Arcade but can currently only use 1 'light' at a time.

    Any thoughts?

dyonn's avatar

dyonn

Member since 23 Nov, 2011

None one is following dyonn yet!

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies