Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 1 Support › How to force landscape mode?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7908


    In my config.json file i have: “orientation”:“landscape”, (Using 2.0 api), but when trying the game on a device, if i rotate the device to portrait, the game changes its orientation totally breaking the UI.

    Is it possible to set the game to always be displayed only in landscape mode?


    Felgo Team


    the config.json value is only used on Build Server for Felgo 1.x builds at the moment. For local builds you have to adapt the value in the platform-specific file, i.e. the AndroidManifest.xml file on Android and the Info-plist file on iOS.

    Let me know if this works out for you!



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

RSS feed for this thread

You must be logged in to reply to this topic.