titlescreen follows the terrain better

This commit is contained in:
minjaesong
2023-06-28 22:49:45 +09:00
parent 72c742897e
commit 16cfaaea27
2 changed files with 102 additions and 28 deletions

View File

@@ -248,7 +248,7 @@ public class App implements ApplicationListener {
public static AudioDevice audioDevice;
public static FlippingSpriteBatch batch;
// public static ShapeRenderer shapeRender;
public static ShapeRenderer shapeRender;
private static com.badlogic.gdx.graphics.Color gradWhiteTop = new com.badlogic.gdx.graphics.Color(0xf8f8f8ff);
private static com.badlogic.gdx.graphics.Color gradWhiteBottom = new com.badlogic.gdx.graphics.Color(0xd8d8d8ff);
@@ -455,7 +455,7 @@ public class App implements ApplicationListener {
camera = new OrthographicCamera((scr.getWf()), (scr.getHf()));
batch = new FlippingSpriteBatch();
// shapeRender = makeShapeRenderer();
shapeRender = makeShapeRenderer();
initViewPort(scr.getWidth(), scr.getHeight());