I don’t want to package all assets for both in one APK. I want the best quality for tablets, but also cater for mobile with lower quality & support for older versions (as they have texture limit of 1024).
Currently I compile my APK with just tablet assets. The spritesheets are around 1024x2048 this would obviously break on some old devices.
That’s such a shame. So I either have to settle for mobile assets even for tablets (that will look awful) or use tablet assets and run the risk of assets not being compatible for texture sizes…
I do not plan on doing if conditions at this stage, its too late.
#if mobile
public static var ASSETS_PATH:String = "assets/mobile/";
#else
public static var ASSETS_PATH:String = "assets/tablet/";
#end
Assets.getBitmapData(ASSETS_PATH + name);