aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Bybjerg <mikkel.bybjerg@hotmail.com>2019-04-28 09:39:42 +0200
committerMikkel Bybjerg <mikkel.bybjerg@hotmail.com>2019-04-28 09:39:42 +0200
commit8dfb13aaeb6757ddc7db848d1d8cd0cf8476d273 (patch)
tree9787d8f9dba51cb575b32c198c81afe5f9b603de /nGJ2019/Assets
parent0a66ac2d11788d91feab6d5f359eb3f8bcd066a5 (diff)
bigger lives
Diffstat (limited to 'nGJ2019/Assets')
-rw-r--r--nGJ2019/Assets/Prefabs/health_crystal.prefab2
-rw-r--r--nGJ2019/Assets/Scripts/HealthBar.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/nGJ2019/Assets/Prefabs/health_crystal.prefab b/nGJ2019/Assets/Prefabs/health_crystal.prefab
index 8b52814..1191b32 100644
--- a/nGJ2019/Assets/Prefabs/health_crystal.prefab
+++ b/nGJ2019/Assets/Prefabs/health_crystal.prefab
@@ -25,7 +25,7 @@ Transform:
m_GameObject: {fileID: 6136547117420934535}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 1.1396179, y: -0.6755286, z: 2.9882812}
- m_LocalScale: {x: 1, y: 1, z: 1}
+ m_LocalScale: {x: 1.53254, y: 1.53254, z: 1.53254}
m_Children:
- {fileID: 7434249188869609042}
m_Father: {fileID: 0}
diff --git a/nGJ2019/Assets/Scripts/HealthBar.cs b/nGJ2019/Assets/Scripts/HealthBar.cs
index 4c30b42..b5d0427 100644
--- a/nGJ2019/Assets/Scripts/HealthBar.cs
+++ b/nGJ2019/Assets/Scripts/HealthBar.cs
@@ -38,7 +38,7 @@ public class HealthBar : MonoBehaviour
{
for(int i=0; i<lives; i++)
{
- GameObject crystal = Instantiate(crystalPrefab, transform.position + Vector3.right*0.5f*i, Quaternion.identity);
+ GameObject crystal = Instantiate(crystalPrefab, transform.position + Vector3.right*0.8f*i, Quaternion.identity);
crystals.Add(crystal.GetComponentInChildren<Renderer>());
}