lukezero's Recent Forum Activity

  • It's working!

    I had forgotten to declare one condition and that was the whole cause of the problem! Sorry for the inconvenience!

    It workd with the "In between values" expression! :D

  • you can also do this in one expression (system evaluate), i.e.: (value >= 5 & value <= 10) | (value >= 15 & value <= 20) | (value >= 25 & value <= 30)

    Thanks, dude, but the C2 doesn't have this expression. :(

  • Maybe I understand this wrong, but do you want a three 'between values' condition as an or-block?

    Each condition (value range) of the same variable will get his own result.

    For example:

    If the COUNT variable is between 0 and 5, the HUD expresses X.

    If the COUNT variable is between 6 and 15, the HUD expresses Y.

    And so on.

  • I thought it was, sorry about that. Then you should use the Is Between Values condition, which will do what you are describing. You just need to provide the value you are testing and the lower and upper bounds of the check.

    Add conditions for each range you want to check and you should be good.

    I already tried it. :(

    I really need a project example or something like that to understand how this works.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It should be part of the System.

    Unfortunately, he doesn't appear in C2. :(

    Do you have an alternative?

    (I swear I tried solutions with IA, but it only returned errors this time)

  • Hi guys!

    I'm a game designer with some knowledge of programming logic, but every now and then I come up against my limitations.

    I'm trying to implement a condition that considers three ranges of values ​​of the same variable, to express something visually in the game, but still without success. I've tried the expressions "Compare two value", "Is between values" and even analyzing each state of the variable individually. But also without success.

    What is the best way to do this?

    Thank you once again for your attention and collaboration!

    Tagged:

  • I would try using the Evaluate expression condition.

    In the value of the condition you can do something like:

    > (your_variable > min_value) & (your_variable < max_value)
    

    That translates to your_variable GREATER THAN min_value AND your_variable LOWER THAN max_value. If that that is true then your_variable is within that range.

    If you want to test for different ranges you would have different condition and do different actions for each condition.

    Thanks, dude! Where is this expression in Construct 2?

  • Hi guys!

    I'm a game designer with some knowledge of programming logic, but every now and then I come up against my limitations.

    I'm trying to implement a condition that considers three ranges of values ​​of the same variable, to express something visually in the game, but still without success. I've tried the expressions "Compare two value", "Is between values" and even analyzing each state of the variable individually. But also without success.

    What is the best way to do this?

    Thank you once again for your attention and collaboration!

    Tagged:

  • Hi guys!

    I'm making a 2D platform game and one of the stages has a river at the bottom that reflects the top of the screen (platform + background).

    Example below:

    What's the best way to create this effect?

    Can the ripple effect of the water be applied to it as well?

    Thank you all in advance! :)

  • You do not have permission to view this post

  • Hi, this might help you construct.net/en/make-games/addons/1233/reflecting-water

    Thanks! In truth, I'm looking for a solution for C2. ^^

  • Hi guys!

    I'm making a 2D platform game and one of the stages has a river at the bottom that reflects the top of the screen (platform + background).

    Example below:

    What's the best way to create this effect?

    Can the ripple effect of the water be applied to it as well?

    Thank you all in advance! :)

lukezero's avatar

lukezero

Member since 4 Oct, 2014

None one is following lukezero yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies