The aspect ratio of the gfx container (display).
Example - Square
cfg.Game;
function OnLoad()
{
square = gfx.CreateRectangle( 0.4, 0.4*gfx.aspect, 0x2255ff )
}
function OnReady()
{
gfx.AddGraphic( square, 0.3, 0.2 );
gfx.Play();
}
def OnLoad():
global square
.get_gfx()
square = gfx.CreateRectangle(0.4, 0.4*gfx.aspect, 0x2255ff)
def OnReady():
.get_gfx()
gfx.AddGraphic(square, 0.3, 0.2)
gfx.Play()