I want to add my game a rotate sign, but I can't find a way to compare with degrees. I want to create this sign when player rotate his device right.
Right is 0 degrees
Down is 90 degrees (bottom)
Left is 180 degrees
Up is 270 degrees (top)
Are these rotation degrees true? Should I say that 'If Alpha orientation is not equal to 270, create the sprite' ? I'm really confused. Could you help??<img src="smileys/smiley5.gif" border="0" align="middle" /> <img src="smileys/smiley5.gif" border="0" align="middle" />
Develop games in your browser. Powerful, performant & highly capable.
Did you figure this out in the end? How did you do it?
I 've used 'if it's landscape or portrait'. You do not need degrees actually.
Thank you, good to know.