Various menu fixes
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
@@ -22,8 +22,8 @@ import io.anuke.mindustry.world.blocks.OreBlock;
|
|||||||
import static io.anuke.mindustry.Vars.*;
|
import static io.anuke.mindustry.Vars.*;
|
||||||
|
|
||||||
public class MenuRenderer implements Disposable{
|
public class MenuRenderer implements Disposable{
|
||||||
private static final int width = 100, height = 50;
|
|
||||||
private static final float darkness = 0.3f;
|
private static final float darkness = 0.3f;
|
||||||
|
private final int width = !mobile ? 90 : 60, height = !mobile ? 40 : 50;
|
||||||
|
|
||||||
private int cacheFloor, cacheWall;
|
private int cacheFloor, cacheWall;
|
||||||
private Camera camera = new Camera();
|
private Camera camera = new Camera();
|
||||||
@@ -52,16 +52,20 @@ public class MenuRenderer implements Disposable{
|
|||||||
Simplex s3 = new Simplex(offset + 2);
|
Simplex s3 = new Simplex(offset + 2);
|
||||||
RidgedPerlin rid = new RidgedPerlin(1 + offset, 1);
|
RidgedPerlin rid = new RidgedPerlin(1 + offset, 1);
|
||||||
Block[] selected = Structs.select(
|
Block[] selected = Structs.select(
|
||||||
new Block[]{Blocks.moss, Blocks.sporePine},
|
|
||||||
new Block[]{Blocks.sand, Blocks.sandRocks},
|
new Block[]{Blocks.sand, Blocks.sandRocks},
|
||||||
new Block[]{Blocks.shale, Blocks.shaleRocks},
|
new Block[]{Blocks.shale, Blocks.shaleRocks},
|
||||||
new Block[]{Blocks.ice, Blocks.icerocks}
|
new Block[]{Blocks.ice, Blocks.icerocks},
|
||||||
|
new Block[]{Blocks.sand, Blocks.sandRocks},
|
||||||
|
new Block[]{Blocks.shale, Blocks.shaleRocks},
|
||||||
|
new Block[]{Blocks.ice, Blocks.icerocks},
|
||||||
|
new Block[]{Blocks.moss, Blocks.sporePine}
|
||||||
);
|
);
|
||||||
Block[] selected2 = Structs.select(
|
Block[] selected2 = Structs.select(
|
||||||
new Block[]{Blocks.moss, Blocks.sporerocks},
|
new Block[]{Blocks.ignarock, Blocks.duneRocks},
|
||||||
new Block[]{Blocks.ignarock, Blocks.duneRocks},
|
new Block[]{Blocks.ignarock, Blocks.duneRocks},
|
||||||
new Block[]{Blocks.stone, Blocks.rocks},
|
new Block[]{Blocks.stone, Blocks.rocks},
|
||||||
new Block[]{Blocks.stone, Blocks.rocks},
|
new Block[]{Blocks.stone, Blocks.rocks},
|
||||||
|
new Block[]{Blocks.moss, Blocks.sporerocks},
|
||||||
new Block[]{Blocks.salt, Blocks.saltRocks}
|
new Block[]{Blocks.salt, Blocks.saltRocks}
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -280,7 +284,7 @@ public class MenuRenderer implements Disposable{
|
|||||||
float tw = width * tilesize * 2;
|
float tw = width * tilesize * 2;
|
||||||
float th = height * tilesize * 2;
|
float th = height * tilesize * 2;
|
||||||
float range = 500f;
|
float range = 500f;
|
||||||
float offset = -00f;
|
float offset = -600f;
|
||||||
|
|
||||||
for(int i = 0; i < flyers; i++){
|
for(int i = 0; i < flyers; i++){
|
||||||
Tmp.v1.trns(flyerRot, time * (2.5f + flyerType.speed));
|
Tmp.v1.trns(flyerRot, time * (2.5f + flyerType.speed));
|
||||||
|
|||||||
Reference in New Issue
Block a user