Change image animation while flying around with touch controls
Am trying to get a little space shooter running. I'd like to change the animations rolling sideways when moving the finger left and right on the screen. Right now I am just moving the spaceship sprite around using constrain x and y:
I have a notion that one could simply try a rule saying something like if touch 1 x is > 1 (or < -1 if right) do changeimage, but it is not working... any ideas?