Skip to content

Commit

Permalink
Android: do not compress ags and vox in asset dir
Browse files Browse the repository at this point in the history
These files require jumping through offsets, to read resources packaged inside them and android decompression is most of what I see when profiling games heavy on assets.
  • Loading branch information
ericoporto committed Nov 8, 2023
1 parent a89bbc4 commit 3886fb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Android/mygame/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ android {
versionName projectProperties['versionName']
}

androidResources {
noCompress = ['ags', 'vox']
}

signingConfigs {
release {
storeFile file(keyStoreProperties['storeFile'])
Expand Down

0 comments on commit 3886fb1

Please sign in to comment.