Reflextions's Forum Posts

  • That just looks like you have something set up wrong (if it works everywhere else, it should work anywhere). Put an event in that sets your flashlight object to the back of the layer just to make sure it's never anywhere else no matter what you do in C2. I mean, I can get light show "show through" further on up if the light object overlaps the shadow boundary, but that shouldn't matter in your game's case.

    If you're looking for an alternative, I wouldn't jump things around layers--that sounds like it'll come back to haunt you later. I suppose you could always place a black tiled background on the floor above (and below depending) that stays locked there until you switch levels to hide anything.

    It's definitely staying behind them, I'm using other invisible objects to control lighting. Maybe it is overlapping the shadow boundary is there a way to control that?

  • C-7's example is awesome - but it might be more advanced than what you need (and more cpu costly than you want). (or maybe it is just my very slow work computer, lol)

    You may be able to do it the way you started above, but just isolate the light and fog area of the current room on a separate layer. Then that wont affect fog outside the current room (on a different layer)...

    Nice thing about C2 is you can have LOTS of layers!

    I kinda had a system like that but it would be clunky when you move from each room, one goes dark and the other whole room appears. Though, now I'm getting a weird glitch where if you shine up at the roof, it will go through like halfway in some places.

    https://dl.dropboxusercontent.com/u/441 ... index.html

  • C-7 Awesome, thanks so much! I didn't know shadowlight would work with destination out systems.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    This is really odd. I exported an empty project to steam with the plugin and didn't have the issue. But even when I took out the plugin and put it back into my project without calling any events with it, the overlay glitch comes back. This is really crippling my project and it makes absolutely no sense.

    Edit: Never mind, it happened with an empty project. Seriously can't believe I'm the only one having this issue.

    Edit 2: Here's the issue: https://github.com/greenheartgames/greenworks/issues/31 As far as I know you need steam ID to use achievments, and everything else though. So for now I guess the plugin is useless. <img src="{SMILIES_PATH}/icon_neutral.gif" alt=":|" title="Neutral">

  • I'm exploring lighting systems in construct 2, which are a little less than I would hope for. But right now I've got a fog layer with black square as the darkness, and a destination out gradient acting as the gun light. The problem is it shines through everything, So I want to know if there is a way to block this light or another method of doing this entirely. Thanks!

    I don't understand how no one else is having this problem. Are you guys using older versions of C2? I also have an issue where if I try to use any overlay event, the game crashes.

    Hey everyone, thanks for all the useful information in this thread. I've got a kind of weird problem where when I run my game, it start with the overlay open and the store page open.

    The game doesn't respond for like 15 seconds either. After that, I can interact with it and it works fine, as long as I use the --in-process-GPU fix.

    The problem is, even if I don't use that fix the overlay comes up when I start the game. And using the fix, it's really annoying to have to close the overlay every-time and wait for it to respond again.

    Has anyone else had this issue or found a solution? Thanks!

    Edit: If I run from big picture mode it disables the api entirely but also the mouse in game. Interesting

  • looks nice, made me dizzy just by watching the images...

    Thanks! Yeah a part of me wants to see someone play the game after drinking a bit lol

  • I finally got my game, Protoshift on steam greenlight. I've been working on this for way too long.

    Here's the page for the game: http://reflextionsdev.com/protoshift/ and the trailer:

    If it looks interesting to you, please consider taking a few seconds out of your day to vote for it on steam greenlight. http://steamcommunity.com/sharedfiles/filedetails/?id=486865976

    Thanks for checking out!

  • Is this the kind of thing your looking for?

    https://www.dropbox.com/s/r93yk7anwcwi3g3/tileinfo.capx

    Reviving the thread, does anyone have this downloaded? The link is dead <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

  • Bump.

    Any ideas Ashley ?

    I'll re-post this to the bugs section if no one is able to figure it out, because I can't see I'm doing anything wrong.

  • lennaert Yeah there definitely is, maybe it's a bug? Hopefully someone can figure this out.

  • Well, could be I'm missing something with Scale inner.

    I generally apply that with scale outer, not really a fan of scale inner, as you can miss pieces of the layout

    Scale inner was giving me a headache, so I'm willing to switch to scale outer. However, even after doing that something is off. I keep double checking everything and I can't imagine why it won't work.

    http://puu.sh/iOd3U/47e431f673.png

    http://puu.sh/iOd4u/fed5394878.png

    Here's the .capx: https://dl.dropboxusercontent.com/u/441 ... redUI.capx

  • >

    > > every tick

    > >

    > > Object set position

    > > X: (ViewportRight("UI") - ViewportLeft("UI")) / 2

    > > Y: (ViewportBottom("UI") - ViewportTop("UI")) / 2

    > >

    >

    > Thanks for the suggestion, but it looks like that didn't work either. I should note the element is on a 0,0 parallax layer, without an anchor, but I tried in a 100,100 as well. The element I'm trying to center is the White UI box.

    >

    > Here's screenshots from both of my monitors, at neither resolution did it center. <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad">

    >

    > http://puu.sh/iNGL8/15fbf6bf0c.png

    > http://puu.sh/iNGM0/afb5b1afd0.png

    >

    Does the image have its origin point in the center ?

    It does, I just double checked.

  • every tick

    Object set position

    X: (ViewportRight("UI") - ViewportLeft("UI")) / 2

    Y: (ViewportBottom("UI") - ViewportTop("UI")) / 2

    Thanks for the suggestion, but it looks like that didn't work either. I should note the element is on a 0,0 parallax layer, without an anchor, but I tried in a 100,100 as well. The element I'm trying to center is the White UI box.

    Here's screenshots from both of my monitors, at neither resolution did it center. <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad">

    http://puu.sh/iNGL8/15fbf6bf0c.png

    http://puu.sh/iNGM0/afb5b1afd0.png