diff --git a/core/bin/main/com/mygdx/game/MyGdxGame.class b/core/bin/main/com/mygdx/game/MyGdxGame.class index b0fc262..6203f57 100644 Binary files a/core/bin/main/com/mygdx/game/MyGdxGame.class and b/core/bin/main/com/mygdx/game/MyGdxGame.class differ diff --git a/core/bin/main/menus/MenuInicio.class b/core/bin/main/menus/MenuInicio.class index 73584e4..4949d92 100644 Binary files a/core/bin/main/menus/MenuInicio.class and b/core/bin/main/menus/MenuInicio.class differ diff --git a/core/src/com/mygdx/game/MyGdxGame.java b/core/src/com/mygdx/game/MyGdxGame.java index 3064ed4..9346493 100644 --- a/core/src/com/mygdx/game/MyGdxGame.java +++ b/core/src/com/mygdx/game/MyGdxGame.java @@ -37,19 +37,7 @@ public class MyGdxGame extends ApplicationAdapter { Gdx.gl.glClearColor(0.5f, 0, 0, 1); Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT); batch.begin(); - //batch.draw(img, 0, 0); - //contadorGif+=Gdx.graphics.getDeltaTime()*10; float delta = Gdx.graphics.getDeltaTime(); - /*if(contadorGif>13) { - contadorGif=0; - } - batch.draw(regions[(int)contadorGif], 75 * (0 + 1), 100);*/ - /*pinchos.avanzar(10, delta); - pinchos.draw(batch, Gdx.graphics.getWidth()/5, Gdx.graphics.getHeight()/2.2f); - font.draw(batch, "iniciar", Gdx.graphics.getWidth()/3.75f,Gdx.graphics.getHeight()/2); - pinchos.draw(batch, Gdx.graphics.getWidth()/5+200, Gdx.graphics.getHeight()/2.2f); - font.draw(batch, "configuracion", Gdx.graphics.getWidth()/5,Gdx.graphics.getHeight()/4); - */ this.menuSeleccionado=Menu.menus.get(this.menuSeleccionado).draw(batch, delta); batch.end(); } diff --git a/core/src/menus/MenuInicio.java b/core/src/menus/MenuInicio.java index 766fbbd..9c31d4a 100644 --- a/core/src/menus/MenuInicio.java +++ b/core/src/menus/MenuInicio.java @@ -19,8 +19,8 @@ public class MenuInicio extends Menu{ break; } case 1:{ - Menu.selector.draw(batch, Gdx.graphics.getWidth()/5, Gdx.graphics.getHeight()/5f); - Menu.selector.draw(batch, Gdx.graphics.getWidth()/5+400, Gdx.graphics.getHeight()/5f); + Menu.selector.draw(batch, Gdx.graphics.getWidth()/5-50, Gdx.graphics.getHeight()/5); + Menu.selector.draw(batch, Gdx.graphics.getWidth()/5+230, Gdx.graphics.getHeight()/5); } } font.draw(batch, "iniciar", Gdx.graphics.getWidth()/3.75f,Gdx.graphics.getHeight()/2);