DCurrent / openbor

OpenBOR is the ultimate 2D side scrolling engine for beat em' ups, shooters, and more!
http://www.chronocrash.com
BSD 3-Clause "New" or "Revised" License
927 stars 124 forks source link

64-bit capable + improvements for Android #162

Closed haxpor closed 5 years ago

haxpor commented 5 years ago

Pull Request

General Description

First of all, thanks to @msmalik681 to notify me about upcoming enforced requirement (coming in August 2019) pushing by Google for all apps to be 64-bit compatible. I checked up, OpenBOR is still bundled with pre-built 32-bit libraries. This PR will clear such issue + improvements for android.

Summary of Changes

(Additional information is below)


Pre-built 64-bit libraries

Total size is 45 MB (of this pre-built directory) as for this spanning into 2 architectures arm64-v8a and armeabi-v7a built for release build + debug-info. The latter plays key role in increased size.

Note

msmalik681 commented 5 years ago

Thanks this was above my level to add. So the apk file is now 45MB that leaves 55MB for the apk that kind of sucks.

haxpor commented 5 years ago

@msmalik681 it doesn't add up like that actually. Final .apk for OpenBOR app is 3.6 MB for release build, and 3.9 MB for debug build. The size shown for dependencies you see will be stripped automatically by gradle. Those incurred size in deps are for debug-info for devs to easily debug the app while developing.

dbaldan commented 5 years ago

@haxpor question: is there a way to change the "stretch to screen" option to accept non 16:9 resolutions? I have a more wider phone (uses 18:7) resolution and some apps accepts it - some will try to stretch, some will accept pinch command to make it to strecth

haxpor commented 5 years ago

@dbaldan nice for you to report this. I quickly checked the code and it should work for any screen (if i'm not wrong). Would you please create another issue with attached screenshot, I'll take a look. Thanks!