Tweaked explosions and stuff.

This commit is contained in:
calebp 2017-09-05 20:56:17 -05:00
parent 3c43de1292
commit b45d30714c
4 changed files with 32547 additions and 14 deletions

File diff suppressed because it is too large Load diff

View file

@ -15,6 +15,7 @@ public class Explosion : MonoBehaviour {
Rigidbody2D playerBody = player.GetComponent<Rigidbody2D>();
Vector2 force = (playerPos - transform.position).normalized * (MAX_PLAYER_DIST - dist) * 15.0f;
playerBody.AddForce(force, ForceMode2D.Impulse);
Debug.Log(force);
}
}
}

View file

@ -5,6 +5,7 @@ TagManager:
serializedVersion: 2
tags:
- Finish Line
- Deathbox
layers:
- Default
- TransparentFX