Changing animation while dragging?

0 favourites
  • 4 posts
From the Asset Store
Simplistic hyper-casual game with nature elements. Tap to switch between the 4 elements and reach a better score.
  • 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" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • *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

  • 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)