Tilt

Is defold-gyro still the best/most up to date way to use tilt in a Defold game?

It looks to be ~2 years since the last update. Is there anything newer I should be using? Does defold-gyro work on newer Android devices?

Thank you for reading my post, and thank you to the entire Defold team for making such an amazing engine available for free.

It should work on Android test and see!

There’s nothing newer afaik, it’s probably feature complete.

What kind of game are you trying to create?

1 Like

Something like Kirby Tilt ‘n’ Tumble. It was my favorite game when I was a kid, because it was so different from all the other Gameboy games.

Basic jist is you would hold the phone flat, like it is laying on a table, and then move your character by tilting the phone.

I have done basic accelerometer support here: https://github.com/britzl/defold-input