Forum rules - please read before posting.

Force Aspect Ratio Action?

Is there an action for this so I can give players the choice if to enable in a menu?

Comments

  • As in, toggle the value of the Settings Manager's Force aspect ratio? field?

    Manager fields in general do not have dedicated Actions to change their values, but you can write custom Actions to do just this.

    To get an API reference to a Manager field, right-click the field's label. In the case of the aspect ratio toggle, this is:

    AC.KickStarter.settingsManager.forceAspectRatio
    

    Be aware, however, that any Manager field's value survives reloading the build executable, so it's worth linking this value to a Global Variable and setting it's inital value when the game begins. You can also make this a custom option by linking that variable to Options Data - see this tutorial.

  • No problem. Asset store reviews are welcome!

  • Oh yeah, I will right after I've released this game. This week is going to be hectic.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.