Perhaps you won't use it, but maybe we can solve the issue on this thread. That way, anyone that stumbles across this thread while searching for a solution, may find the answer here. I placed this modified code at the beginning of a program:
ESC_KEY = 27
SetVirtualResolution( GetDeviceWidth() , GetDeviceHeight() )
`EnableClearColor(1)
`SetClearColor(0,0,0)
ClearScreen()
`swap()
CreateSprite( 1 , 0 )
SetSpriteSize( 1 , 32 , 32 )
DrawSprite(1)
DrawSprite(1)
DrawSprite(1)
DrawSprite(1)
DrawSprite(1)
DrawSprite(1)
DrawSprite(1)
DrawSprite(1)
render()
img = GetImage(0 , 0 , 64 , 64)
SaveImage(img , "level_button.png")
DeleteImage(img)
`EnableClearColor(0)
While GetRawKeyReleased( ESC_KEY ) = FALSE
Sync()
EndWhile
In "Document/AGK/[-project name here-]", I find that it creates a white 32*32 pixel box in a 64*64 pixel image. The alpha channel appears as it should (in quadrants 1 , 3 ,and 4). Are these results repeated with you guys?
|,,|, (Dead Knot Broken) ,|,,|