Package com.badlogic.gdx.scenes.scene2d.ui

Examples of com.badlogic.gdx.scenes.scene2d.ui.Table.row()


        table.add(title).center().pad(35f);
        table.row().height(70);
        table.add(quickButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(historyButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(optionsButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(exitButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(aboutLabel).center().pad(55f);
View Full Code Here


        table.add(quickButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(historyButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(optionsButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(exitButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(aboutLabel).center().pad(55f);

        stage.addActor(table);
View Full Code Here

        table.add(historyButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(optionsButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(exitButton).center().width(300).pad(5f);
        table.row().height(70);
        table.add(aboutLabel).center().pad(55f);

        stage.addActor(table);
        Gdx.input.setInputProcessor(stage);
  }
View Full Code Here

        // Carga la lista de puntuaciones (top 10)
        String values = loadScores();
        Label labelTopScore = new Label(values, game.getSkin());
        Label labelScore = new Label("YOUR SCORE: " + game.score, game.getSkin());

        table.row().height(50);
        table.add(title).center().pad(35f);
        table.row().height(200);
        table.add(labelTopScore).center().pad(5f);
        table.row().height(20);
        table.add(labelScore).center().pad(5f);
View Full Code Here

        Label labelTopScore = new Label(values, game.getSkin());
        Label labelScore = new Label("YOUR SCORE: " + game.score, game.getSkin());

        table.row().height(50);
        table.add(title).center().pad(35f);
        table.row().height(200);
        table.add(labelTopScore).center().pad(5f);
        table.row().height(20);
        table.add(labelScore).center().pad(5f);

        // El usuario ya ha rellenado su nombre
View Full Code Here

        table.row().height(50);
        table.add(title).center().pad(35f);
        table.row().height(200);
        table.add(labelTopScore).center().pad(5f);
        table.row().height(20);
        table.add(labelScore).center().pad(5f);

        // El usuario ya ha rellenado su nombre
        if (done) {
            TextButton quitButton = new TextButton("MAIN MENU", game.getSkin());
View Full Code Here

                    game.setScreen(new MainMenuScreen(game));
                }
            });

            table.row().height(70);
            table.add(quitButton).center().width(300).pad(5f);
        }
        else {
            // El usuario aún no he escrito su nombre
            final TextField nameTextField = new TextField("TYPE YOUR NAME", game.getSkin());
View Full Code Here

        });

        Label aboutLabel = new Label("jfighter2dx v1\n(c) Santiago Faci\nhttp://bitbucket.org/sfaci/jfighter2dx", game.getSkin());
        aboutLabel.setFontScale(1f);

        table.row().height(150);
        table.add(title).center().pad(35f);
        table.row().height(20);
        table.add(checkSound).center().pad(5f);
        table.row().height(20);
        table.add(difficultyLabel).center().pad(5f);
View Full Code Here

        Label aboutLabel = new Label("jfighter2dx v1\n(c) Santiago Faci\nhttp://bitbucket.org/sfaci/jfighter2dx", game.getSkin());
        aboutLabel.setFontScale(1f);

        table.row().height(150);
        table.add(title).center().pad(35f);
        table.row().height(20);
        table.add(checkSound).center().pad(5f);
        table.row().height(20);
        table.add(difficultyLabel).center().pad(5f);
        table.row().height(70);
        table.add(difficultyList).center().pad(5f);
View Full Code Here

        table.row().height(150);
        table.add(title).center().pad(35f);
        table.row().height(20);
        table.add(checkSound).center().pad(5f);
        table.row().height(20);
        table.add(difficultyLabel).center().pad(5f);
        table.row().height(70);
        table.add(difficultyList).center().pad(5f);
        table.row().height(70);
        table.add(exitButton).center().width(300).pad(5f);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.