Hello everyone!
I have some problems with rotating sprite and I hope someone can help me)
To control current direction (left/right) of the weapon I have used a private variable and looks like it worked fine. But when weapon angle is 270 or 90 degrees and you hold down arrow key of opposite direction it rotates counter-clockwise (270) no matter which direction you are facing. How to set up rotating direction from 270 and 90 degrees according to direction you are facing?
Here is my .cap file: dl.dropbox.com/u/49819507/Control.cap
Thanks.