Automatic Fit to Screen Android Game

Android specific questions and discussion

Automatic Fit to Screen Android Game

Postby luckyshot29 » Sun Feb 17, 2013 2:33 pm

Hi, I'm developing an Android Game and I wonder if it's possible to set the View to automatically adjust to the size of the screen. Also I want to know how the Back Button on the device works for game editor. Please help me. thanks! :)
luckyshot29
 
Posts: 6
Joined: Sat Feb 02, 2013 7:38 pm
Score: 0 Give a positive score

Re: Automatic Fit to Screen Android Game

Postby skydereign » Sun Feb 17, 2013 7:02 pm

luckyshot29 wrote:Hi, I'm developing an Android Game and I wonder if it's possible to set the View to automatically adjust to the size of the screen.

No, there isn't. We currently through gE cannot get the device screen size, so we can't even use scaling in canvas to do this. Nor can we limit the apk to exact screen sizes.

luckyshot29 wrote: Also I want to know how the Back Button on the device works for game editor. Please help me. thanks! :)

If I recall correctly, the back button kills the game right now.

Oh, and if you are doing canvas on android, I recommend you try that out to see if it runs efficiently at all. I know iOS did not handle canvas very well.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Automatic Fit to Screen Android Game

Postby luckyshot29 » Mon Feb 18, 2013 12:37 pm

I compiled my game into an apk and tested it on my device. Canvas on android didn't work well. It lags a lot.
luckyshot29
 
Posts: 6
Joined: Sat Feb 02, 2013 7:38 pm
Score: 0 Give a positive score


Return to Android (alpha)

Who is online

Users browsing this forum: No registered users and 1 guest

cron