Forums

OverviewV-Play 1 Support › How to force landscape mode?

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

    Diego

    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?

    #7909

    Alex
    V-Play Team

    Hi,

    the config.json value is only used on Build Server for V-Play 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!

    Best,

    Alex

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

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support