hamodi's Forum Posts

  • 3 posts
  • keyboard D key is down >> simulate platform pressing right

    on d pressed >> player set animation "walk"[looping]

    on mouse click >> player set animation "attack"[not looping]

    player on animation "attack" finished >> player set animation "walk"

    if you want the player to stop moving when the attack substitute:

    keyboard D key is down >> simulate platform pressing right

    with:

    keyboard D key is down, and animation "walk" is playing[or animation "attack" is not playing] >> simulate platform pressing right

    Its look god way thank U dear

  • after making both animations and adding a mouse object:

    go to event sheet

    add new event : on any mouse click

    add action : playersprite set animation "whatever you named your running animation"

    No, I mean when I press a key like "D" the player will walk .

    But if the player is walking or running( "D" key is down ) and I press mouse click i want to stop the running animation and play the shoot animation

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello I'm new here !!

    I want to make a war game but I want to play animation while other is playing

    Example : player is running and when I press mouse click I want to stop run animation and run shooting animation ?? how to do that plz. !! and thanks

  • 3 posts