commit old stuff from armins hdd
This commit is contained in:
parent
56ccb73055
commit
2b0ca12ccd
@ -81,7 +81,8 @@ public class PlayerEntity extends MovingEntity {
|
||||
ingameprefs.putInteger("currantlvl", currantlvl);
|
||||
ingameprefs.flush();
|
||||
|
||||
if(currantlvl == 4)
|
||||
int maximumlvl = 4;
|
||||
if(currantlvl > maximumlvl)
|
||||
((Game)Gdx.app.getApplicationListener()).setScreen(new MainMenu());
|
||||
else
|
||||
CRGame.Inst().setScreen(new GameScreen(new StaticMapProvider(CRMapStorage.map_map.get(currantlvl))));
|
||||
|
@ -30,17 +30,15 @@ public class SplashScreen implements Screen {
|
||||
Gdx.gl.glClearColor(1, 1, 1, 1); //Weiß
|
||||
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
|
||||
|
||||
|
||||
|
||||
sB.begin();
|
||||
sB.draw(logo, -9,
|
||||
-8, 18, 16);
|
||||
sB.draw(logo, -9,-8, 18, 16);
|
||||
sB.end();
|
||||
|
||||
}
|
||||
|
||||
public void update(float delta) {
|
||||
loadTime += delta;
|
||||
if (loadTime > 0.9)
|
||||
((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user