How do I continue to add value to an effect parameter while key is down?

From the Asset Store
Random Maze Generator with Door & Key System - tutorial capx
  • Apologies for the noob question.

    I am a skilled artist/animator with 0 skills scripting or coding but construct has opened my eyes to making the games I've always wanted to create. Now I'm stuck on a sandbox project and could use a point in the right direction.

    How do I continue to add value to an effect parameter while key is down?

    I appreciate any help or walkthrough.

  • Add the keyboard object.

    There is a condition 'key is down', use this.

    For the action on the right you can select the particle object and adjust the params

  • i have the keyboard object and condition in place.

    I'm stuck at figuring out the best way to make the parameter continuously increase the value number of the effect while the key is down.

  • i have the keyboard object and condition in place.

    I'm stuck at figuring out the best way to make the parameter continuously increase the value number of the effect while the key is down.

    Use a subevent parent from key is down

    Every 1 second set effect AdjustHSL to +1

  • The "+" brings up a Syntax error.

    without the + it just sets the value to 1.

    Am i missing a step? 🤔

  • The "+" brings up a Syntax error.

    without the + it just sets the value to 1.

    Am i missing a step? 🤔

    Im not sure if its possible to get the current value using Self and increase it.. maybe using an aux variable would be better. Create a variable and on every second set the variable value to Self+1 and set the HSL to the variable value.

  • Just tried it here..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Blessings!

    You just saved my day.

    I knew this forum had the masters around. You guys are awesome digital heroes!

    I appreciate your help my friends.

    thanks again.

    If I get the game completed, I'll be sure to give a special thanks to you both in my game credits.👊💯

  • You're welcome, go for it, finish it :)

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