Forum rules - please read before posting.

AC check aspect ratio?

Is there an AC script to check aspect ratio? I was wondering about something similar to ...

Engine -> Check Platform

So that I can run different action lists depending on if my player is on 16:9 / 16:10 / 4:3 etc ?

Comments

  • A custom Action can be written to do just that.

    To determine a game's current aspect ratio, you can divide the screen's width by its height:

    float aspectRatio = Screen.width / Screen.height;
    
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.