java - Libgdx Programm works fine as desktop applicaton but doesnt work in html -
my programm works fine when start desktop application when run superdev , run in browser error below screen. error message says:
gwtapplication: exception: font/white.fnt not exist font/white.fnt not exist
i think problem font folder. can either tell gradle font folder (via gradle files), or easier move font assets folder, white.fnt file in root of assets folder.
bitmapfont bf = new bitmapfont(gdx.files.internal("white.fnt"));
see, not fonts/white.fnt, because moved font file assets.
java libgdx bitmap-fonts
No comments:
Post a Comment