Help me :(

  • Hello.

    I know I'm using a translator for the English language.

    My problem is:

    Whether X events when a key is pressed.

    When the same button is pressed again to get another event.

    A button as you can see in the picture without the pressure of opacity is 50 going on 80.

    Waiting for your answer. Sorry for bad english.

  • It happens because you tell it, when A is down set opacity to 50 - then immediately to 80 - so the opacity will always be 80.

    If you want to change between 50 and 80 with each press you have to do it a little differently.

    [Keyboard A is down]

    [Opacity is 50]

    --- Set opacity to 80

    [ELSE]

    --- Set opacity to 50

    That will make it change between 50 and 80 with each time you press A.

    ~Sol

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Also you may want to use "On A pressed" instead "A is down", otherwise it will switch between the two every tick as long as you have A held down.

  • Also you may want to use "On A pressed" instead "A is down", otherwise it will switch between the two every tick as long as you have A held down.

    Quoted for truth. I failed to mention that!

    ~Sol

  • I actually wanted to ask me: If two of an event is always running at the bottom. I would get the upper run the following after start. Running at the bottom of the upper run. I hope I can tell

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