mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
tiling using shader, sorta works
This commit is contained in:
@@ -17,8 +17,20 @@ import net.torvald.terrarumsansbitmap.gdx.TextureRegionPack;
|
||||
*/
|
||||
public class TerrarumAppLoader implements ApplicationListener {
|
||||
|
||||
private static TerrarumAppLoader INSTANCE = null;
|
||||
|
||||
private TerrarumAppLoader() { }
|
||||
|
||||
public static TerrarumAppLoader getINSTANCE() {
|
||||
if (INSTANCE == null) {
|
||||
INSTANCE = new TerrarumAppLoader();
|
||||
}
|
||||
return INSTANCE;
|
||||
}
|
||||
|
||||
public static final String GAME_NAME = "Terrarum";
|
||||
public static final String COPYRIGHT_DATE_NAME = "Copyright 2013-2017 Torvald (minjaesong)";
|
||||
public static final String GAME_LOCALE = System.getProperty("user.language") + System.getProperty("user.country");
|
||||
|
||||
/**
|
||||
* 0xAA_BB_XXXX
|
||||
@@ -62,9 +74,6 @@ public class TerrarumAppLoader implements ApplicationListener {
|
||||
|
||||
public Screen screen;
|
||||
|
||||
private TerrarumAppLoader() {
|
||||
}
|
||||
|
||||
private void initViewPort(int width, int height) {
|
||||
// Set Y to point downwards
|
||||
camera.setToOrtho(true, width, height);
|
||||
|
||||
Reference in New Issue
Block a user