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" />
Develop games in your browser. Powerful, performant & highly capable.
*sorry for the double post
this is my project:
*I dont designed the sprite. Ive downloaded from this forum, several days before.
Or with picture:
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" />