Page 1 of 1

Automatic Fit to Screen Android Game

PostPosted: Sun Feb 17, 2013 2:33 pm
by luckyshot29
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! :)

Re: Automatic Fit to Screen Android Game

PostPosted: Sun Feb 17, 2013 7:02 pm
by skydereign
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.

Re: Automatic Fit to Screen Android Game

PostPosted: Mon Feb 18, 2013 12:37 pm
by luckyshot29
I compiled my game into an apk and tested it on my device. Canvas on android didn't work well. It lags a lot.