the player at android handy show only black, build jun 28 did not work with getimage.
//AGK 2.0.20
SetWindowSize( 1080, 1920, 0 )
SetVirtualResolution( 1080, 1920 )
SetOrientationAllowed( 1, 0, 0, 0 )
SetResolutionMode(1)
LoadSprite(1,"image1.png")
LoadSprite(2,"image2.png")
SetSpritePosition(1,350,500)
SetSpritePosition(2,550,500)
do
print("click")
if GetPointerPressed() then exit
sync()
loop
swap()
render()
screenshot = GetImage(0,0,1080,1920)
Capture = CreateSprite(screenshot)
setspritesize(Capture,1080,1920)
setspriteposition(Capture,0,0)
deletesprite(1)
deletesprite(2)
sync()
// main loop
do
print("")
print(Capture)
print("click ends")
if GetPointerPressed() then exit
sync()
loop
end
AGK (Steam) V2.0.20 : Windows 10 Pro 64 Bit : AMD (16.3.2) Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)