How do I Make a Spot / Surch Light,

0 favourites
  • 5 posts
From the Asset Store
Immerse your quiz games with our 6 unique music loops, ranging from acoustic chill guitar to cute and upbeat style.
  • Hi,

    I am building a garage and would like to be able to look around it with a flash light,

    Am I right in thinking this will use 3 layers ?

    The background, with a car/sprite on it / Layer 0

    A lights off layer {all black} / Layer 1

    The Flash light as a sprite with a transparent middle / Layer 2

    how do I set it that I can see the car though the hole in the flash light sprite ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have got this down to setting the opacity to 100 when overlapping ,

    However the whole of the sprite image is set to 100,

    How do I set it so just the overlapping pixels are set to opacity 100 ?

    thanks.

  • So many ways to do this, all depends on how dark you want the room that is not lit, so on and so forth.

    What if you just had 2 layers? One for the background with items you see and a layer on top of that with a hole you can see through and move that whole layer? Of course the canvas for the top layer would extend beyond your window in all views. There are certainly other tricks along this line with just 2 layers, again, it all depends on the exact type of look you are going for.

    Maybe you are going for an effect like in this game?

    http://www.scirra.com/arcade/addicting- ... 688/switch

  • So many ways to do this, all depends on how dark you want the room that is not lit, so on and so forth.

    What if you just had 2 layers? One for the background with items you see and a layer on top of that with a hole you can see through and move that whole layer? Of course the canvas for the top layer would extend beyond your window in all views. There are certainly other tricks along this line with just 2 layers, again, it all depends on the exact type of look you are going for.

    Maybe you are going for an effect like in this game?

    http://www.scirra.com/arcade/addicting- ... 688/switch

    thanks,

    I am a bit lost in how to do this <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad" />

  • Here's an effect you can use:

    http://www.scirra.com/arcade/addicting- ... 5-lighting

    just below it is the capx

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