Calibrating Gyroscope

cartercarter Member Posts: 133
edited November -1 in Working with GS (Mac)
I am makin a balancing game and it is all done except for one flaw. If the person stays complete still but he or she holds the ipod tilted forward or backwards by natural tendency the the person has a hard time getting a good score. Is the any way to re calibrate the gyroscope and make a ne center lick in some of the games that i see on the app store or is that not possible in game salad. Thanks. I will submit the game the moment I get this fixed so please help

Comments

  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    I did'nt think you could use the Gyroscope in an iphone 4 (I may be wrong).

    You can use the accelerometre.

    A way to reset it might be to either have a timer, or a button pressed by the user,

    that resets the x, y, accelerometer amount to 0.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    I made a demo of how to do this a year ago. Lemmeseeif i can find this
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    ok here we go:
    http://gamesalad.com/game/play/30319

    only the survival and settings buttons work.

    Click on survival to see the game work without calibration. then click pause to exit back to the main screen to go into settings and calibration.

    then go back to survival to see the updated settings.

    you can poke around the settings, I also included how i turn off and on accelerometer control, as well as sound / music (but there are better ways of doing this, it was my first attempt)

    let me know if you have any questions!
Sign In or Register to comment.