How do I make TextButtons using LibGDX?
I've followed a few tutorials on youtube to make buttons for my libgdx game and have run into a problem where my button.pack cannot be loaded. stage = new Stage(); black = new BitmapFont(Gdx.files.internal("font/black.fnt")); white = new BitmapFont(Gdx.files.internal("font/white.fnt")); atlas = new TextureAtlas(Gdx.files.internal("buttons/button.pack")); skin = new Skin(atlas); table = new Table(skin); table.setBounds(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight()); TextButtonStyle textButtonStyle = new TextButtonStyle(); textButtonStyle.up = skin.getDrawable("buttons/buttonup.png");