No, I don't. All my touch areas are defined using ZONES lib, and they are also scaled by the createzone() function himself.

Hi Ampos I've started using your Zones Lib and find it very handy, thank you

One thing that I noticed was the zones rescale according to a proportional screen. If my screen scaling is proportional and I retain the aspect ratio the zones are perfect. However I wanted to include an option in my menu to have Aspect Ratio On/Off (ugly as it may look sometimes) but in the CreateZone function I can't fathom out how to get it correct.

FUNCTION GE_CreateZone: ZoneNum, Xcoord, Ycoord, Width, Height

LOCAL m,r,x1,x2,y1,y2,x,y,xz,yz,z,xd,yd

x1=MIN(Xcoord,Xcoord+Width)

x2=MAX(Xcoord,Xcoord+Width)

y1=MIN(Ycoord,Ycoord+Height)

y2=MAX(Ycoord,Ycoord+Height)

r=GE_ZoneProperty(ZoneNum,6)

IF r=-1

m=BOUNDS(zones[],0)

REDIM zones[m+1]

ELSE

m=r

ENDIF

xz = GE_TargetScrX%/vscreenx ; yz = GE_TargetScrY%/vscreeny

z = MIN(xz,yz)

IF xz > yz

xd = (GE_TargetScrX%-(vscreenx*z))/2

yd = 0

ELSE

xd = 0

yd = (GE_TargetScrY%-(vscreeny*z))/2

ENDIF

zones[m].x=(x1*z)+xd

zones[m].y=(y1*z)+yd

zones[m].w=(x2-x1)*z

zones[m].h=(y2-y1)*z

zones[m].n=ZoneNum

ENDFUNCTION

I've added the "IF xz > yz" part as changes only need to be made in one axis dependent on portrait or landscape but I can't get my head around how to correctly calculate the .x start and .w in my (portrait) game. How can I make the routine not be aspect ratio correct??

Thanks in advance