Skip to content

Instantly share code, notes, and snippets.

@MobiDevelop
Last active December 19, 2015 10:59
Show Gist options
  • Save MobiDevelop/c114363c7e38fa4345ab to your computer and use it in GitHub Desktop.
Save MobiDevelop/c114363c7e38fa4345ab to your computer and use it in GitHub Desktop.
package com.example.preloader.gen;
import com.badlogic.gdx.backends.gwt.preloader.DefaultAssetFilter;
public class ExampleAssetFilter extends DefaultAssetFilter {
@Override
public String getBundleName (String file) {
return super.getBundleName(file);
}
}
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<module>
<entry-point class="com.example.preloader.client.GwtLauncher"/>
<set-configuration-property name="gdx.assetpath" value="../example-android/assets"/>
<set-configuration-property name="gdx.assetfilterclass" value="com.example.preloader.gen.ExampleAssetFilter"/>
<inherits name="ExampleGame"/>
<inherits name="com.badlogic.gdx.backends.gdx_backends_gwt"/>
</module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment