Danwood's Forum Posts

  • Easy way is to create an invisible object that pins to the Fire (make it the size you want for the detection radius) and then have Isolation as the number of stones being touched/overlapped by the invisible object. If it's any more complex than this then we'll need some more details on what the stones are..

    Is that easy, i've already tried creating the invisible pinned object, but im stuck in the " have Isolation as the number of stones being touched/overlapped by the invisible object" part

  • I have the object Fire, witch has the internal variable Isolation

    I want to make isolation = the number of stones the fire is surrounded by

    So i created a line of sight for the fire, but i don't know how to proceed

    Any idea?

  • I've devised a solution, provided that the UI layer is the top-most layer.

    What you need to do is to put an empty layer bellow the UI layer that will act as an Adjustment Layer in After Effects: it will affect every thing bellow. The way it works is to add to it the experimental "water background" effect as the first effect on that layer, and any effect you want to apply to all the layers bellow after that. The water background will force the effects to the layers bellow but it won't apply any watery distortions if the layer is empty.

    I've attached a capx file to see what I mean.

    I missed this reply last month, it worked!! thank you very much!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • My game is a 2d game with top down view, I got an object which represents the fire.

    I want to make it's volume depending on distance to the screen center (which is the player character).

    Is there a way to do that?

  • When will people learn that it's not the tools that matter, it's what you do with them? You can make a great game out of a cardboard box...

    Sacred words.

  • color vibrance, the problem here is the UI which i would like to not be influenced by the effect, but it seems like i'll leave it that way.

  • oh, so i should apply it to every layer singularly, aside those 2 ones i dont need to apply it to. Damn!

  • nobody?

  • bump v2.1 (beta version)

  • bump v2

  • anyone?

  • I got 30+ layers in my game, i want to set an effect parameter change every X seconds depending on some conditions.

    The problem is, i dont want that effect to affect the UI layers.

    I dont want to pick every single layers and tell it to change the effect, it's too tedious to do...

    Is there a way to tell the game to take all the layers except one or few of them?

    Thanks!

  • Ok, i've just solved the mystery, needed to add the layer name after mouse.x, y so it keeps mouse in sync with the scales.

  • I've read about this:

    layer.canvasToLayerX(x)

    layer.canvasToLayerY(y)

    I suppose this can fix the mouse problem, how can i apply them?

  • PS: i use the every tick - set position to mousex, y to keep the object smoothly dragged, otherwise the object is in the correct spot also when layout scale is 1.5