Oruzee's Forum Posts

  • Thanks for the modified capx, the original link is dead.

  • The canvas plugin isn't a shortcut with no learning, it's roughly the same as using canvas in html5 .

    Allows some really nice possibilites.

  • Looks like this is a problem with the canvas plugin... It's not needed for what you are asking

  • I'm guessing it can save a lot of memory if you're only masking sprites instead of casting rays or calculating shadows in real time.

    Just moving/resizing/changing angle of the mask already makes a pretty controllable shadow mask system without using too much CPU

  • Figured it out.

    In case someone needs the trick, I just had to turn the black rectangle into a totally empty sprite then put it in destination atop mode, on a superior z-order than the light, same layer.

    See the attached .capx

  • You could use the canvas plugin by R0j0 to progressively expand the viewing zone and set its layer to "Destination in" blend mode

  • You should read the beginner's guide, it contains all the info you need for this particular issue (and will help solve future ones :p)

    (Search for "How to make a Platform game" in the Tutorials section, can't post links yet)

    (But in short, create an object, import all your image parts into it as frames, set its animation speed to 0 and change the initial frame on each object to match the part you want.

    Also for the background yeah, use a different layer and maybe change the parallax to match what you want.)

  • Here's a .capx which will show the layers I have, the black shape on the layer LightMask corresponds to the zone the light is supposed to be invisible...

    I'm trying to hide only the layer "Light" where the light sprite overlaps the black one.

    Thank you by advance

  • Howdy fellow Constructeers !

    I'm having some trouble with blend modes...

    On my picture attached, the light sprite is in additive blend mode.

    Is there a way to hide only the light sprite with the black rectangle using blend modes ? I just want the part of the light that is overlapping the black shape to disappear while the rest stays the same... I have tried many things but I mostly end up with either only a black shape, or nothing at all (light sprite still visible).

    Thank you kindly for any clue !

  • Blessed be thou, O great savior !

    Thank you very much (and sorry for being slow to understand) !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for that but I'm in r168 and I can't open your file ^^".

    Sorry

    (And of course I have it on Steam so I can't switch between versions easily...)

  • Uhm well the problem isn't really in the resetting of the values, construct seems to not completely recognize the robot once the layout restarts :

    The red particles on top of his head vanish and come up only when I jump, same for the red line,

    and the FallState instance variable in PixBot seems to uh... Increment forever without resetting to 0 when Pixbot hits the ground.

    I think I broke the Matrix.

  • Hey guys .

    This is my first post so hello everyone !

    I have an issue with my proto :

    The objects RobotParticles, MouseParticlesRed and LightsLine seem to uh... act in a weird way once the player dies and the layout is reset (Fall from the 2nd floor or more to die). Is there something I'm missing here ?

    Thanks by advance !

    Ps: The part that I think is concerned is the one that is not in a group, with the comments.