(AGK version: 108.13)
Submitted: 2013-06-15 03:01:10
//Define the Horizontal and Vertical Resolution
hres=640
vres=480
Setvirtualresolution(hres,vres)
SetClearColor (0, 200, 200 )

//Create Text Object and Set Text,Size,Font Color
CreateText(100,"Centred Text")
SetTextSize(100,25)
SetTextColor(100,0,0,0,255)

//Set Text Alignment, to be centred
SetTextAlignment(100,1)

//Set Text Position in the centre of the screen
SetTextPosition(100,hres/2,vres/2)

Repeat
    Sync()
Until Timer()>8

DeleteText(100)

End
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.