Accelerometer?

Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by  Anatol 1 year, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10647

    Anatol
    Participant

    Hi!

    I’m just getting familiar with Monkey2 and Pyro2, after a couple of years break from MonkeyX. I do like it a lot, but one thing …

    Either I couldn’t find it or there is no accelerometer data available. Some form of the good old MonkeyX AccelX(), AccelY() equivalent.

    The core mechanic of the game / first test that I’m working on depends on the accelerometer.

    If it really doesn’t exist, is there any way to get it into Monkey2, either in a future update, or if I have to add it myself, could anyone point me in the direction as to how?

    Thank you!

    #10660

    Playniax
    Participant

    I don’t remember the details but try the joystick stuff…

    #10663

    Mark Sibly
    Keymaster

    Yes, it’s currently implemented via joystick as this is how SDL does. I think this is a bit ugly though and plan to clean it up, but in the meantime try the joystick banana.

    #10666

    Anatol
    Participant

    Ah, great! Thanks for the info. I’ll try that.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.