aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Bybjerg <mikkel.bybjerg@hotmail.com>2019-04-28 10:10:08 +0200
committerMikkel Bybjerg <mikkel.bybjerg@hotmail.com>2019-04-28 10:10:08 +0200
commitfff33006ed16702479b9e2a8e218b77aa1578942 (patch)
tree978a0f1357223e394bb00629bd75a2fd099366dc
parent3dd1f885948be23a6c440868e6539b97b95ec73f (diff)
<3
-rw-r--r--nGJ2019/Assets/Models/health_crystal.fbxbin15436 -> 16732 bytes
-rw-r--r--nGJ2019/Assets/Prefabs/health_crystal.prefab12
-rw-r--r--nGJ2019/Assets/Scripts/HealthBar.cs2
3 files changed, 7 insertions, 7 deletions
diff --git a/nGJ2019/Assets/Models/health_crystal.fbx b/nGJ2019/Assets/Models/health_crystal.fbx
index 6698220..38df526 100644
--- a/nGJ2019/Assets/Models/health_crystal.fbx
+++ b/nGJ2019/Assets/Models/health_crystal.fbx
Binary files differ
diff --git a/nGJ2019/Assets/Prefabs/health_crystal.prefab b/nGJ2019/Assets/Prefabs/health_crystal.prefab
index 1191b32..2bbae32 100644
--- a/nGJ2019/Assets/Prefabs/health_crystal.prefab
+++ b/nGJ2019/Assets/Prefabs/health_crystal.prefab
@@ -61,22 +61,22 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: fe4f2cdeb6d4d7e41809b08237be2025,
type: 3}
propertyPath: m_LocalRotation.x
- value: -0.7071068
+ value: -0.49991274
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: fe4f2cdeb6d4d7e41809b08237be2025,
type: 3}
propertyPath: m_LocalRotation.y
- value: 0
+ value: 0.50008726
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: fe4f2cdeb6d4d7e41809b08237be2025,
type: 3}
propertyPath: m_LocalRotation.z
- value: -0
+ value: 0.49991274
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: fe4f2cdeb6d4d7e41809b08237be2025,
type: 3}
propertyPath: m_LocalRotation.w
- value: 0.7071067
+ value: 0.50008726
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: fe4f2cdeb6d4d7e41809b08237be2025,
type: 3}
@@ -86,12 +86,12 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: fe4f2cdeb6d4d7e41809b08237be2025,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
- value: 0
+ value: -89.98
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: fe4f2cdeb6d4d7e41809b08237be2025,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
- value: 0
+ value: 90
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: fe4f2cdeb6d4d7e41809b08237be2025,
type: 3}
diff --git a/nGJ2019/Assets/Scripts/HealthBar.cs b/nGJ2019/Assets/Scripts/HealthBar.cs
index b5d0427..685e297 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.8f*i, Quaternion.identity);
+ GameObject crystal = Instantiate(crystalPrefab, transform.position + Vector3.right*1.4f*i, Quaternion.identity);
crystals.Add(crystal.GetComponentInChildren<Renderer>());
}