Quote: "Also does/will AppGameKit have any setorientation functions"
It's not perfect, but it works. This is a basic demo, in the real world you would get your device dimensions and set it as you came into the program. It will work for fullscreen mode, but I don't think it will work Windowed because the window size doesn't change.
global x, y
dim s[4]
setSprites()
do
if getpointerReleased()
orientation = 1 - orientation
if orientation = 0
x = 480: y=640
else
x = 640: y=480
endif
setVirtualResolution(x,y)
UpdateDeviceSize(x,y)
setSprites()
endif
Print("hello world")
Sync()
loop
end
function setSprites()
for n = 1 to 4
if s[n] > 0 then deleteSprite(s[n])
s[n] = createSprite(0)
setSpriteSize(s[n], x/2,y/2)
setSpriteColor(s[n], random(1,255),random(1,255),random(1,255),255)
next n
setSpritePosition(s[1], 0,0)
setSpritePosition(s[2], x/2,0)
setSpritePosition(s[3], 0,y/2)
setSpritePosition(s[4], x/2,y/2)
endfunction
Quote: "they won't be accessible from the start METRO menu."
Desktop programs get added to the Metro Menu. You'll just get a plain icon though.