Animation that changes when a key is held down

Order by:
Duplicate Topic
Posts
Views
Last Post
0 favourites
  • 9 posts
From the Asset Store
Customize the animation of character when item changed
  • my question is

    ⑴ A key down

    ⑵ play animation1

    ⑶ keep A key pressing..

    ⑷ 2 seconds have passed while pressing the A key.then play animation2.

    (If i don't release the key, Animation 2 doesn't stop.)

    I am a beginner.

    To be honest, I think I can understand it by looking at the event sheet screenshots..

  • Put the timer behaviour on the object

    Then say on A key pressed : object start timer, set animation 1

    Then say system compare two values, object.timer.duration greater than 2 : set animation 2

    Also on A key released : stop timer

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • lionz That's what I suggested in their first post. OP apparently didn't like my answers.

  • dop2000 lol nice, same solution. Well we can't help any more than that...

  • I don't know coding.

    May I ask for a screenshot of the event sheet?

  • what does lol mean ?

  • Next try you should try to make an effort and post your code (even if it's not working) before asking for help. See this post:

    construct.net/en/forum/construct-3/how-do-i-8/best-help-tips-forum-139528

  • (I used a translator.)

    I couldn't even make this, so I couldn't take a screenshot.

    I made a video of the part I was curious about, but I couldn't because I couldn't upload the video here.

    (This is not a lie.I believe in God.)

    ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

    This is not a program in my language, and it is really hard to find anyone who speaks my language who knows about it.please understand me.

    (I write well and speak better than else. But only in my language.)

    ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

    I am an animator, I used flash. I'm not a programmer, but I know my question is easy. That's why I requested a screenshot.

    (I hope there is no misunderstanding about this fact)

    ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

    I chose this program related to JavaScript.

    ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

    For almost 30 years, I hardly watched TV.

    From the time I started to believe in God.

    ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

    There is a good and no good ui here, so I clicked no good because it was not helpful.for someone like me. please understand me.

    Don't get me wrong,Im not hate you.Even if I clicked No Good.

    ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

    I also know that if I make a great game, the value of the construct program goes up.

    ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

    Helping someone is not an easy task. But you are doing it and with your help I am happy to increase the chances of making a good game.

    ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

    The problem I was wondering about has been solved.

    ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

    thank you.

  • what is lol ?

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