Im trying to get my ship to move with the tilt of the phone. Im using the commands below.
My ship only moves to the left and up nothing else. any ideas on how to fix this?
[attachment=0:2r5dvu61][/attachment:2r5dvu61]
IIRC, they range 0-360 so "less than 0" will never be true. Try displaying the values in text objects to show what they're really reporting.
Develop games in your browser. Powerful, performant & highly capable.
Good idea. Thanks Ashley.