all points for circles are properly placed in arrays
This commit is contained in:
@@ -99,10 +99,12 @@ public class RhythmBullet extends Game {
|
||||
|
||||
queueAssets();
|
||||
setScreen(initialScreen);
|
||||
System.out.println("pixels per unit: " + pixels_per_unit);
|
||||
|
||||
screenWidth = Gdx.graphics.getWidth();
|
||||
screenHeight = Gdx.graphics.getHeight();
|
||||
|
||||
pixels_per_unit = (int) (Float.valueOf(screenHeight)/Float.valueOf(WORLD_HEIGHT));
|
||||
System.out.println("pixels per unit: " + pixels_per_unit);
|
||||
}
|
||||
|
||||
public void checkAssetQueue() {
|
||||
@@ -170,7 +172,7 @@ public class RhythmBullet extends Game {
|
||||
screenWidth = Gdx.graphics.getWidth();
|
||||
screenHeight = Gdx.graphics.getHeight();
|
||||
|
||||
pixels_per_unit = (int) (screenHeight/Float.valueOf(WORLD_HEIGHT));
|
||||
pixels_per_unit = (int) (Float.valueOf(screenHeight)/Float.valueOf(WORLD_HEIGHT));
|
||||
System.out.println("pixels per unit: " + pixels_per_unit);
|
||||
|
||||
if (initComplete) {
|
||||
|
Reference in New Issue
Block a user