Reputation: 574
I've seen many examples of both cases, for example:
atlas = new TextureAtlas("skins/userInterface.pack");
white = new BitmapFont(Gdx.files.internal("font/white.fnt"));
I've seen that on a tutorial but, it also works that way:
atlas = new TextureAtlas(Gdx.files.internal("skins/userInterface.pack"));
white = new BitmapFont("font/white.fnt");
when should I use Gdx.files.internal or directly the relative path from assets folder?
Upvotes: 3
Views: 583