updated flake texture fixed collision issue, and minor value changes

This commit is contained in:
2017-06-04 17:44:02 -05:00
parent c416d9f1ea
commit 16d45757e5
12 changed files with 4 additions and 4 deletions

View File

@@ -134,7 +134,6 @@ public class EntityController {
pelletPool.free(pellet);
break;
case SHARD:
System.out.println("freed");
Shard shard = (Shard) entity;
shard.remove();
shardPool.free(shard);

View File

@@ -24,6 +24,7 @@ public class PolyJetEntity extends Actor implements Entity {
private float speed, accel;
private float rate;
public PolyJetEntity(AssetManager assets, float speed, float accel, String jet) {
health = 100;
this.speed = speed;
this.accel = accel;
setSize(1.5f, 1.5f);

View File

@@ -73,7 +73,7 @@ public class Shard extends Actor implements Entity, Poolable {
public void draw(Batch batch, float parentAlpha) {
sprite.setCenter(getX()+center.x, getY()+center.y);
sprite.setColor((float)hp/(float)maxHp, 1f, 0.5f, 1f);
sprite.setColor((float)hp/(float)maxHp, 0f, 0f, 1f);
sprite.draw(batch);
batch.setColor(Color.WHITE);
super.draw(batch, parentAlpha);