Setvirtualresolution(640,480)
ResetTimer()
//Create an image
swap()
SetPrintSize(28)
Print("AGK")
render()
GetImage(1,0,0,75,32)
CreateSprite(1,1)
AddVirtualButton(1,480,420,80)
SetVirtualButtonText(1,"Print")
printed=0
Do
If printed=0
If GetVirtualButtonPressed(1)
PrintImage(1,10)
SetVirtualButtonText(1,"Done")
printed=1
EndIf
EndIf
Sync()
If Timer()>20 Then Exit
Loop
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)