Fixed HTML building

This commit is contained in:
Anuken
2017-05-03 13:08:02 -04:00
parent ccdd23fe6c
commit 6a453ce84b
8 changed files with 10 additions and 12 deletions

BIN
core/lib/ucore.jar Normal file

Binary file not shown.

View File

@ -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){

View File

@ -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);

View File

@ -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();

View File

@ -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());

View File

@ -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;