Page 1 of 1

KeepProportions not working with compiler 3.2

Posted: Tue Oct 27, 2020 6:30 am
by AlexC
Something seems to have changed between versions 2.4 Home edition and 3.2 Professional edition.

When I compile my game with the APK compiler 2.4, the 800x800 game area is stretched equally in both with and height so it looks square and centered on my android devices.

With 3.2 it stretches the game area to the whole screen which doesn't look right.
I'm using the same .hwa applet with both compilers so it's the same code in both instances.

For the @DISPLAY line I use:

@DISPLAY 1, {Width=800, Height=800, Title="ByeByeCorona", ScaleMode=#SCALEMODE_AUTO, FitScale=True, Mode="FullScreenScale", KeepProportions=True}

I tried removing the FitScale tag but that didn't make any difference.

The same issue happens if I run the .hwa applet in the Hollywood player 8 for Android (but not on other platforms).
As I don't have a copy of the older Hollywood player for Androids, I can't test to compare, but my best guess is that the libhollywoodplayer.so embedded by the APK compiler 3.2 doesn't handle KeepProportions the same way the old player did.

The working apk from compiler 2.4 can be downloaded from the android section of the download page
The applet can be downloaded from this direct link if you want to test with the android players or compile it with 3.2

Re: KeepProportions not working with compiler 3.2

Posted: Wed Oct 28, 2020 10:48 pm
by airsoftsoftwair
Confirmed. Will be fixed.

Re: KeepProportions not working with compiler 3.2

Posted: Fri Oct 30, 2020 6:15 pm
by airsoftsoftwair

Code: Select all

- Fix [Android]: "KeepProportions" was broken on Android

Re: KeepProportions not working with compiler 3.2

Posted: Fri Oct 30, 2020 7:17 pm
by AlexC
Great

Thanks Andreas!

Re: KeepProportions not working with compiler 3.2

Posted: Tue Jan 12, 2021 1:10 am
by AlexC
Hi Andreas

Any idea when the fixed version will be released?
I have a few apps I would like to release on the Play store :-)

Regards

Alex

Re: KeepProportions not working with compiler 3.2

Posted: Tue Jan 12, 2021 10:31 pm
by airsoftsoftwair
Shouldn't be too long until a release, I hope :)