Setvirtualresolution(640,480)
ResetTimer()
//Check that device has a camera
if GetCameraExists() = 1
//show capture screen
if ShowImageCaptureScreen() = 1
//wait for image to be captured
repeat
until IsCapturingImage() = 0
//Get Image
id = GetCapturedImage()
CreateSprite(1,id)
else
Print("No Response from camera")
endif
else
Print("Camera not found")
endif
Repeat
Sync()
Until Timer()>10
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)