mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-23 22:28:08 +07:00
Fixed HTML building
This commit is contained in:
BIN
core/lib/ucore.jar
Normal file
BIN
core/lib/ucore.jar
Normal file
Binary file not shown.
@ -5,7 +5,6 @@ import static io.anuke.mindustry.Vars.*;
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.Input.Keys;
|
||||
|
||||
import io.anuke.gif.GifRecorder;
|
||||
import io.anuke.mindustry.entities.Player;
|
||||
import io.anuke.mindustry.world.Generator;
|
||||
import io.anuke.mindustry.world.blocks.ProductionBlocks;
|
||||
@ -17,7 +16,7 @@ import io.anuke.ucore.util.Timers;
|
||||
|
||||
public class Control extends RendererModule{
|
||||
public int rangex = 10, rangey = 10;
|
||||
GifRecorder recoder = new GifRecorder(batch);
|
||||
//GifRecorder recoder = new GifRecorder(batch);
|
||||
|
||||
public Control(){
|
||||
cameraScale = 4f;
|
||||
@ -113,7 +112,7 @@ public class Control extends RendererModule{
|
||||
Renderer.renderOverlay();
|
||||
batch.end();
|
||||
|
||||
recoder.update();
|
||||
//recoder.update();
|
||||
}
|
||||
|
||||
if(!paused){
|
||||
|
@ -126,7 +126,7 @@ public class Renderer{
|
||||
if(recipe == null && !ui.hasMouse()){
|
||||
Tile tile = World.cursorTile();
|
||||
|
||||
if(tile.block() != Blocks.air){
|
||||
if(tile != null && tile.block() != Blocks.air){
|
||||
if(tile.entity != null)
|
||||
drawHealth(tile.entity.x, tile.entity.y, tile.entity.health, tile.entity.maxhealth);
|
||||
|
||||
|
@ -18,7 +18,7 @@ public class Vars{
|
||||
public static final float wavespace = 20*60;
|
||||
public static final float enemyspawnspace = 65;
|
||||
public static final float breakduration = 40;
|
||||
public static boolean debug = true;
|
||||
public static boolean debug = false;
|
||||
|
||||
public static final Vector2 vector = new Vector2();
|
||||
|
||||
|
@ -23,7 +23,7 @@ public abstract class BulletType extends BaseBulletType<Bullet>{
|
||||
Draw.clear();
|
||||
}
|
||||
},
|
||||
sniper = new BulletType(3f, 17){
|
||||
sniper = new BulletType(3f, 20){
|
||||
public void draw(Bullet b){
|
||||
Draw.color("lightgray");
|
||||
Draw.rect("bullet", b.x, b.y, b.angle());
|
||||
|
@ -77,13 +77,13 @@ public class WeaponBlocks{
|
||||
reload = 5f;
|
||||
bullet = BulletType.flame;
|
||||
ammo = Item.coal;
|
||||
health = 85;
|
||||
health = 90;
|
||||
}
|
||||
},
|
||||
|
||||
sniperturret = new Turret("sniperturret"){
|
||||
{
|
||||
range = 100;
|
||||
range = 120;
|
||||
reload = 60f;
|
||||
bullet = BulletType.sniper;
|
||||
ammo = Item.steel;
|
||||
|
Reference in New Issue
Block a user