I want to display accelerometer angle in a text box then have a button to hold that coordinate.

bajashbajash Member, PRO Posts: 215
edited February 2012 in Working with GS (Mac)
Hi All,
I tried sample from mega template (accelerometer template), but I want the angle like a carpenters level, not separate x, y output. I also would like to lock it a text box like shown in the sample on mega template.
Thank you.

Comments

  • old_kipperold_kipper Member Posts: 1,420
    edited February 2012
    not seen the mega template so I dont know what you want as a locked box round the text, but you can display the angle with text display with vectorToAngle( game.Accelerometer.X , game.Accelerometer.Y )+180 The -180 is to avoid negative numbers. If you pm me your email I can send you demo with custom fonts that only displays the whole numbers.
Sign In or Register to comment.