101112131415161718
import playn.html.HtmlPlatform; public class TripleDemoHtml extends HtmlGame { @Override public void start () { HtmlPlatform platform = HtmlPlatform.register(); platform.assets().setPathPrefix("tripledemo/"); PlayN.run(new TripleDemo()); }
@Override public void start() { HtmlPlatform.Config config = new HtmlPlatform.Config(); // use config to customize the HTML platform, if needed HtmlPlatform platform = HtmlPlatform.register(config); platform.assets().setPathPrefix("dwlab/"); PlayN.run(new test()); }