Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android version improvements #12

Merged
merged 22 commits into from
Jun 2, 2018
Merged

Android version improvements #12

merged 22 commits into from
Jun 2, 2018

Conversation

Parseus
Copy link
Contributor

@Parseus Parseus commented Jun 2, 2018

This PR includes various improvements and fixes to the Android version, including:

  • muting audio when going to background,
  • implementing a .nomedia file to exclude game assets folder from being indexed by photo gallery apps,
  • adaptive launcher icon for Android 8.0+,
  • fixing an FPS timer,
  • reducing game assets size by ~25% by compressing them losslessly,
  • fixing OpenGL rendering crashes,
  • many other fixes.

Parseus added 22 commits May 24, 2018 20:24
Android 4.0 was the first version that stopped supporting ARMv5 devices, making armeabi libraries unnecessary. Also NDK r17 removed the armeabi support anyway, so the app can't be even synchronized with Gradle, let alone compiled.
…mount of code. Also fixed potential null pointer exceptions.
… older versions, on 3rd party launchers that support adaptive icons). Also compressed both old and new launcher PNGs for smaller size.
This gets rid of an unnecessary overdraw, making drawing this activity slightly faster.
This should save ~0.1 MB from the APK.
@noxytrux noxytrux added the enhancement New feature or request label Jun 2, 2018
@noxytrux noxytrux self-assigned this Jun 2, 2018
@@ -14,7 +14,7 @@ void AndroidTimer::update() {

timespec lTimeVal;

#ifdef __EMSCRIPTEN__
#if defined(__EMSCRIPTEN__) || defined (__ANDROID__)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not entirely right MONOTONIC will work good on Emulator but not on actual device.

@noxytrux noxytrux merged commit 267d024 into dotintent:develop Jun 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants