scaling of textures fixed for various pages; last fix was scroll text

updating;
This commit is contained in:
2018-08-05 22:23:50 -05:00
parent fe1eeecbc1
commit e824fe8b8b
8 changed files with 21 additions and 16 deletions

View File

@@ -2,7 +2,9 @@ package zero1hd.rhythmbullet;
import com.badlogic.gdx.Screen;
public interface InitialScreen extends Screen {
import zero1hd.rhythmbullet.util.ResizeReadyScreen;
public interface InitialScreen extends ResizeReadyScreen {
/**
* Screen should be created on platform.
* @param gameManager the game manager.

View File

@@ -30,9 +30,8 @@ public class RhythmBullet extends Game {
public static int pixels_per_unit;
private boolean initiated;
private boolean resizing;
private boolean completeUILoad;
private int screenWidth, screenHeight;
public static final String VERSION = "(0.1)R1-PreAlpha";
public static final String VERSION = "(1.0.0) R1-PreAlpha";
private AssetManager assetManager = new AssetManager();
private Skin skin;

View File

@@ -19,7 +19,7 @@ import com.badlogic.gdx.files.FileHandle;
*/
public class MusicController extends Observable implements OnCompletionListener, Observer {
public final class States {
public final Integer LOADED = 0, PLAYING = 1;
public final Integer LOADED = new Integer(0), PLAYING = new Integer(1);
}
public final States states = new States();
private MusicList musicList;

View File

@@ -1,6 +1,8 @@
package zero1hd.rhythmbullet.util;
public interface ResizeReadyScreen {
import com.badlogic.gdx.Screen;
public interface ResizeReadyScreen extends Screen {
/**
* called before assets are cleared from memory.
*/