Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Something i dont understand with portriat mode

Author
Message
haliop_New
User Banned
Posted: 21st Jul 2016 07:19
why when I try to run in portrait mode it displays only part of the screen
when print(screenfps()) is showing a bit obove the middle of the phone and not on the top also black borders
but the borders are not the problem the problem is that it displays on just a part of the screen ?

can anyone please explain this to me ?
what do I need to do to get a real portrait mode ?

thank you for your time
haliop.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 21st Jul 2016 09:11
maybe a wrong dirplay aspect?
SetDisplayAspect ( aspect )
use clear screen with a color and make a screenshot please + example code
AGK (Steam) V2.0.20 : Windows 10 Pro 64 Bit : AMD (16.3.2) Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 21st Jul 2016 09:21
Yeah, Markus is correct. The screen has a reverse aspect ratio in portrait. When you rotate the phone your width becomes your height and vice versa. It's easier to lock it into either portrait or landscape.

Login to post a reply

Server time is: 2024-09-29 17:27:51
Your offset time is: 2024-09-29 17:27:51