KeepProportions not working with compiler 3.2

Please post anything related to the Hollywood APK Compiler here
Post Reply
AlexC
Posts: 29
Joined: Sat Mar 09, 2019 2:40 am

KeepProportions not working with compiler 3.2

Post 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
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: KeepProportions not working with compiler 3.2

Post by airsoftsoftwair »

Confirmed. Will be fixed.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: KeepProportions not working with compiler 3.2

Post by airsoftsoftwair »

Code: Select all

- Fix [Android]: "KeepProportions" was broken on Android
AlexC
Posts: 29
Joined: Sat Mar 09, 2019 2:40 am

Re: KeepProportions not working with compiler 3.2

Post by AlexC »

Great

Thanks Andreas!
AlexC
Posts: 29
Joined: Sat Mar 09, 2019 2:40 am

Re: KeepProportions not working with compiler 3.2

Post 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
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: KeepProportions not working with compiler 3.2

Post by airsoftsoftwair »

Shouldn't be too long until a release, I hope :)
Post Reply