errores menores
This commit is contained in:
parent
32b63d42c4
commit
f30d646f99
Binary file not shown.
Binary file not shown.
@ -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();
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user