Hello everyone,
while working on my android game i have come across a problem with supporting both landscape and portrait mode, if enabling both through project.xml the game does rotate but the game scaling isn't reset as being landscape but still holds it's portrait state while just getting rotated and scaled to the defined scalemode.
After some reasearch here and on issues on Github, apparently that is a problem occuring because of flixel being a single big Sprite.
my workaround was to fix it to a base orientation and retrieve the orientation data from the Android activity with the Sensor and the accelerometer and rotate/reposition each element (flxsprite, flxtext, groups, etc) according to that, it worked fine (lots of additional work) except that i just noticed the flaw, while having the device sideways (landscape) the devices UI (top menu, home/back button when no physical buttons) are still being fixed to the base orientation (Portrait) and that is a quite important issue with this.
I'm here today to ask you if you can give me any sort of help, a fix, suggestion, advice, different approach. this is quite the deal breaker and supporting both orientation is mendatory.
Thanks all for reading.