I have not ticked the autorotate in Stencyl game setting, but on Android the game rotates anyway; this is a problem because my game uses the Accelerometer and that make a mess with accelerometer orientation and characters coordinates.
I read this post on stackoverflow http://stackoverflow.com/questions/2730855/prevent-screen-rotation-android
In my Android Manifest is written:
android:screenOrientation="sensorPortrait"
and NOT android:screenOrientation="portrait"
I tried to correct it by myself: I wrote "portrait" instead of "sensorPortrait" in the Manifest in my game generated folder, but when I export the game Stencyl overwrites the Manifest and it writes "sensorPortrait" again...
My game does open on portrait and does not rotate if I rotate +90 or -90 the problem is, if I rotate the device 180°, the game also rotates180°, while I would like the characters remain with feet up and head down.
I reported this problem here: http://community.stencyl.com/index.php/topic,43909.0.html
I read this post on stackoverflow http://stackoverflow.com/questions/2730855/prevent-screen-rotation-android
In my Android Manifest is written:
android:screenOrientation="sensorPortrait"
and NOT android:screenOrientation="portrait"
I tried to correct it by myself: I wrote "portrait" instead of "sensorPortrait" in the Manifest in my game generated folder, but when I export the game Stencyl overwrites the Manifest and it writes "sensorPortrait" again...
My game does open on portrait and does not rotate if I rotate +90 or -90 the problem is, if I rotate the device 180°, the game also rotates180°, while I would like the characters remain with feet up and head down.
I reported this problem here: http://community.stencyl.com/index.php/topic,43909.0.html