Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void createAssetsManager() {
- // Choose best resolution
- ResolutionFileResolver.Resolution _480x800 = new ResolutionFileResolver.Resolution(480, 800, "480x800");
- ResolutionFileResolver.Resolution _720x1280 = new ResolutionFileResolver.Resolution(720, 1280, "720x1280");
- ResolutionFileResolver.Resolution _1080x1920 = new ResolutionFileResolver.Resolution(1080, 1920, "1080x1920");
- ResolutionFileResolver resolver = new ResolutionFileResolver(
- new InternalFileHandleResolver(),
- _480x800,
- _720x1280,
- _1080x1920
- );
- assets = new AssetManager(resolver);
- //game.assets.load("badlogic.png", Texture.class);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement