something like?
GetViewZoom
GetVirtualHeight
GetVirtualWidth
ScreenToWorldX ( x )
ScreenToWorldY ( y )
WorldToScreenX ( x )
WorldToScreenY ( y )
i believe the virtual screen size stay the same but the sprites are shown bigger/smaller, so i think the converting commands can help.
something i used for moving something with zoom
SetViewZoomMode(1) //Center!
function ZoomMove(pointerpressed,pointerstate,px#,py#) //Hintergrund angefaßt & wenn ZoomTouch=0
if getviewzoom()<=1.0 //ignorieren nach dem man alles verschoben hat ist dumm :)
setviewoffset(0,0) //wieder normal
exitfunction
endif
if GetMultiTouchExists() =1
if GetRawTouchCount(1)=1 // ein Finger
t as integer
t=GetRawFirstTouchEvent(1)
//Klick Start merken
if pointerpressed=1
zoom_sx#=GetRawTouchCurrentX(t)
zoom_sy#=GetRawTouchCurrentY(t)
endif
//wird gehalten und bewegt
ex# as float
ey# as float
dx# as float
dy# as float
vx# as float
vy# as float
if pointerstate=1
ex#=GetRawTouchCurrentX(t)
ey#=GetRawTouchCurrentY(t)
dx#=ex#-zoom_sx#
dy#=ey#-zoom_sy#
dx#=dx#/getviewzoom()
dy#=dy#/getviewzoom()
vx#=getviewoffsetx()-dx#
vy#=getviewoffsety()-dy#
if vx#<-50 then vx#=-50.0
if vx#> 50 then vx#= 50.0
if vy#<-50 then vy#=-50.0
if vy#> 50 then vy#= 50.0
setviewoffset(vx#,vy#)
zoom_sx#=ex#
zoom_sy#=ey#
endif
endif
endif
endfunction
AGK (Steam) V2 Beta .. : Windows 10 Pro, 8.1 Pro 64 Bit : AMD (15.7.1) Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)