Changing animation while dragging?

  • Hi guys.. This is my first question here, on this forum.. <img src="smileys/smiley1.gif" border="0" align="middle" />

    I want to do this:

    1. when I start the game, the sprite has default (middle) animation...

    2. and also the sprite has hidden animations for all directions (up/down, left,right...)

    3. but when i start dragging (for example north-east side), the sprite need to change its animation to north-east animation (that I mentioned in the second point^)

    I hope you got my point <img src="smileys/smiley1.gif" border="0" align="middle" />

  • *sorry for the double post

    this is my project:

    mediafire.com /

    ?0wlekt2hrph4bxd

    *I dont designed the sprite. Ive downloaded from this forum, several days before.

    Or with picture:

    s27.postimg.org

    /u77se5vfn/1_copy.png

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you can get the touch movements angle with the expression touch.angleAt

    add a system compare condition to an is dragging event and you should be ready to go..

  • I got it.. Thanks for the help! <img src="smileys/smiley1.gif" border="0" align="middle" />

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