Setvirtualresolution(640,480)
ResetTimer()
//Create an image
swap()
SetPrintSize(28)
SetPrintColor(255,255,0)
Print("A")
render()
GetImage(1,0,0,32,32)
//Save Image to File
SaveImage(1,"temp.png")
//Delete Original Image
DeleteImage(1)
//Re-load the image and create a sprite
LoadImage(1,"temp.png")
CreateSprite(1,1)
Do
SetSpritePosition(1,Random(0,600),Random(0,400))
Sync()
Sleep(250)
If Timer()>10 Then Exit
Loop
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)