Example - 2
cfg.Game;
function OnLoad()
{
droid = gfx.CreateSprite( "/Sys/Img/Hello.png" );
}
function OnReady()
{
gfx.AddSprite( droid, 0.2, 0.4, 0.5 );
gfx.Play();
}
def OnLoad():
global droid
droid = gfx.CreateSprite( "/Sys/Img/Hello.png" )
def OnReady():
gfx.AddSprite( droid, 0.2, 0.4, 0.5 )
gfx.Play()