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.

Android / ? Teir 1: Full Screen for Andriod

Author
Message
Timidon
14
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 22nd Jan 2013 06:10
I got myself a Xoom, using Windows 7 to compile information. I am using Teir 1 Command level.

Sofar working just fine. The upgrades to the Test program is nice.

! What I am trying to do is get rid of the boarders. Xoom's resolution is 1280 x 800, trying to stretch my apps viewing to cut the boarders off. The games resoltuion is 1024 x 768.

I tried a number of different code peices, but can'ts seam to stretch the screen out to the edges (horizontal). Just trying to use the potential of the tablets wide screen (one of the reason's I got it).

? Point to the turtorials? Thanks.

There are many answers but just one question" ~ Jerilith the Mad
JimHawkins
10
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 22nd Jan 2013 10:03
The aspect ratio is different - try SetVirtualResolution()

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
The Zoq2
10
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 22nd Jan 2013 16:04
Or if you want to keep using % based resolutions, try the SetDisplayAdpect(1280/800)
Markus
Valued Member
15
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 16th Feb 2013 09:50
without SetDisplayAspect it do automatic the aspect and
i had no border but then i had problem with multiplayer coords
because i use the 100% system.
MarcoBruti
8
Years of Service
User Offline
Joined: 20th Nov 2011
Location: Caput Mundi
Posted: 17th Feb 2013 20:23
Have you tried to use -1 as aspect ratio?

Quote: "
If the aspect ratio given does not fit exactly on the current device, black borders will be drawn around the rendering area to center it on screen.
Use an aspect ratio of 0 to use the current coordinate system as the aspect ratio.
Use an aspect ratio of -1 to use the device aspect ratio (fills the whole screen without black borders, but will look different on every device)
"

Login to post a reply

Server time is: 2019-12-08 05:28:57
Your offset time is: 2019-12-08 05:28:57