I'm already moving an object with keyboard and mouse buttons.
I would like to make the game algo available to Android and iOS. But I need to use accelerometer to move forward and backward.
Is there any good example to do this? I couldn't find it.
Is there any difference on configuration or how to deal with accelerometer input between Android and iOS?