jobel's Forum Posts

  • ah that makes sense... so its using the blend or how much of the blend white to black for the "bump" or height... interesting...I guess its that way because the original shader was just for light reflections.

  • newt wow that is super cool!

    I don't quite understand what that addon is doing. Looks like its putting a light at the back of the layer? and it outlining sprites?

    I've played around with normal height maps in unity and with a graphics editor, but that was a range of colors.

  • oosyrag

    The quickest most effective way would be to use an animated sprite with a blend mode.

    are you thinking about a particular blend mode? like additive for a glowing light effect?

  • just make a string and have the choose function populate the string, then in Audio play just use the string (instead of the whole choose function), that way you will always know which one you chose.

  • hi all, I'm trying to create a look similar to a Stargate, but not exactly the same - just some sort of dimensional portal.

    youtu.be/3Ds0DRCNXN4

    I'm trying to do a combination of blend layers, Force Own Texture, and using the water effect, but it's not working out too well.

    Any ideas?

    dropbox.com/s/ozos5srsosctetp/DimensionalPortal.c3p

  • if all you want to do is not repeat the previous one, then you could save the previous choice and make a While Loop keep generating a new one until its not equal to the previous.

    just make sure to save the one you pick as the "new" previous one

    something like this

  • GeorgeZaharia I'm working on an open alpha! I should have it soon, my goal was to have by the end of the month, but it's not quite ready yet. I will have a few maps to play and custom mode. I will post it here when ready thanks!

  • I was using screen shake (I used the Shake action from ScrollTo behav), so I wonder if I can seamlessly transition to that for the screen shake. I've made my own manual screen shake in the past but was never crazy about it - it just feels nice to have it in a behavior action.

    I'm surprised there are not more camera behavior options (like this spring cam) for ScrollTo. Right now ScrollTo behavior is so bare bones!

  • R0J0hound this is really nice...beautiful movement effect! like you said its like a cinematic camera.

    doesn't seem to be accel that changes camera "look" dist from the player. I assume accel is just how "snappy" the cam is?

    the stiffness variable I assume is the easing when changing directions?

    and damping variable also for easing?

    d var is for how far the mouse goes before applying accel? but if the mouse is close what happens?

  • R0J0hound wow, I really like the whole camera version! I notice you use LayoutHeight and Width, I don't totally understand that... does it have something to do with going to the edge of the layout? I noticed you used the hardcoded numbers for the viewport mid points: 320 & 240 (I think that is what you are saying at the end of your last post?)

    also, there is no "range" or maxdist from the center, so is it just the acceleration number I use to control how far the look goes? (playing around with it now)

  • Oh, my proposal wasn't even the correct one. Use System > Pick by evaluate instead.

    birdboy yeah I figured out what you meant, thanks!

    in the first problem I don't use a function just because it doesn't feel like it needs one. the only reason would be to allow different controls.

    tarek2 wow that is not very intuitive, I thought the variable would reset to false at the top of each sheet. so this means I have to turn it back to false in the event - which is fine.

    but now I am worried about using the mouseclick bool many other places and in #includes etc.. so I am worried about the order. I can't really see it in my head right now, but maybe it works out? is this the standard way to add mouseclicks/keyboard keys/gamepad buttons to the same condition?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • birdboy o_O

    that works! thanks!

    but I can't do that with the first mouse-click-object issue. unless I can do picking with expressions somwhow?

  • Here's a different issue, but its the same problem...as my game starts to get closer to being finished, adding lots of options for different controls and I start programming more complex AI I've been running into this issue a lot. How to add an OR to a string of ANDs? I know it can't be done, but shy of duplicating code what are the expert Construct users doing?

    like here, how do I add an OR to this? or rather how do I work around this? if I create a subevent then it won't bounce out to the else. (I have a few else's with the final else being an error sound)

  • I have some OR block code. but when I use the mouse I have to pick which object I clicked so I need to add ANDs but you can't mix AND and ORs

    so I did it with 2 different events, but its not working. how is this done without repeating the code for a mouse specific event?

    dropbox.com/s/zq5lp8zpl91cuuv/mouseCapClick.c3p

  • closing the tab and reopening a new tab seemed to reset it and fix the issue.

    it may seem obvious, but when the problem started I closed all projects, then closed chrome, reopened chrome and it was still happening. My Chrome is set to restore any open tabs, so somehow the TAB settings were saved, it wasn't until I closed and started a new TAB that it worked again.