SetVirtualResolution

Description

The default approach for the coordinate system in AGK is to use a percentage based system where 0,0 represents the top left corner and 100,100 the bottom right. The alternative approach is to treat the platform with a fixed resolution e.g. 320 x 480. Any platforms that don't match this resolution will be scaled to fit as much as possible with black borders where necessary.

Definition

SetVirtualResolution( iWidth, iHeight )

Parameters