(AGK version: 108.15)
Submitted: 2013-07-09 15:33:09
Setvirtualresolution(640,480)
ResetTimer()
//Create a Green Cross Image
swap()
Drawline(0,0,15,15,0,255,0)
Update(0)
Render()
Drawline(0,15,15,0,0,255,0)
Update(0)
Render()
GetImage(1,0,0,15,15)
SetClearColor(50,50,100)
//Create Sprte
id=CreateSprite(1)
Do
    If Timer()>15 Then Exit
    Sync()
Loop
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.