doku said
Quote: "Use an aspect ratio of -1 to use the device aspect ratio (fills the whole screen without black borders, but will cause stretching and look different on every device)"
i think SetVirtualResolution is a must have.
this is square
rem
rem AGK Application 2017.01.09
rem MR
SetWindowSize( 1024, 768, 0 )
SetVirtualResolution(100,100)
// set display properties
//SetDisplayAspect ( -1 )
SetOrientationAllowed( 1, 1, 1, 1 )
SetSyncRate( 60, 1)
p=CreateParticles(50,50)
img = 0 // LoadImage("test.bmp")
SetParticlesImage(p,img)
SetParticlesSize(p,10)
SetParticlesLife ( p, 10 )
SetParticlesRotationRange ( p, 0,10)
do
//UpdateParticles(p,0)
if GetPointerPressed() then exit
sync()
loop
AGK (Steam) V2017.02.28 : Windows 10 Pro 64 Bit : AMD (17.2.1) Radeon R7 265 : Mac mini OS Sierra (10.12.2)