Commit 213d523e authored by Benedikt Liebmann's avatar Benedikt Liebmann
parents 25136260 e4d788c5
......@@ -4866,7 +4866,7 @@ AudioSource:
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 3274187189f0a414dbe92ecdeeb3380b, type: 3}
m_audioClip: {fileID: 8300000, guid: 8d9b1bb76c3a5874c809531be18cb409, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
......
......@@ -226,9 +226,11 @@ MonoBehaviour:
m_EditorClassIdentifier:
explosion: {fileID: 3849051887377255970, guid: 6dfb3bf841f5c5e448b6360edfb447cb,
type: 3}
spark: {fileID: 0}
shotSFX: {fileID: 8235080298173569105}
dropChance: 10
pickup: {fileID: 6282504407602761075, guid: de88192e9e62c2b31b892e225be920f8, type: 3}
hp: 1
--- !u!1 &4100566414181513900
GameObject:
m_ObjectHideFlags: 0
......@@ -282,7 +284,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4272117318704093640}
m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067}
m_LocalRotation: {x: 0, y: 0.7072302, z: 0.7069834, w: 0}
m_LocalPosition: {x: -0, y: 0, z: 0}
m_LocalScale: {x: 100, y: 100, z: 100}
m_Children:
......@@ -290,7 +292,7 @@ Transform:
- {fileID: 4538256586537209734}
m_Father: {fileID: 403112569066400171}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: -89.98, y: 180, z: 0}
--- !u!1 &4796917152365821522
GameObject:
m_ObjectHideFlags: 0
......
......@@ -91,7 +91,7 @@ Transform:
m_GameObject: {fileID: 684422770152341459}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.15, y: 0.15, z: 0.15}
m_LocalScale: {x: 0.1, y: 0.1, z: 0.1}
m_Children:
- {fileID: 5360712816303871490}
- {fileID: 1469172663092512014}
......@@ -115,9 +115,11 @@ MonoBehaviour:
m_EditorClassIdentifier:
explosion: {fileID: 436640341521505314, guid: 09c989ba5177cab4bbf92614c4995ca7,
type: 3}
shotSFX: {fileID: 0}
spark: {fileID: 1931807616638471954, guid: f1b49542c5ad6ea7a9954f01300c3246, type: 3}
shotSFX: {fileID: 1298560260124823047}
dropChance: 10
pickup: {fileID: 6282504407602761075, guid: de88192e9e62c2b31b892e225be920f8, type: 3}
hp: 2
--- !u!114 &-597582237068271772
MonoBehaviour:
m_ObjectHideFlags: 0
......
......@@ -47,6 +47,7 @@ public class BasicAI : MonoBehaviour
public void activate()
{
alive = true;
transform.rotation = Quaternion.Euler(0, 180, 0);
StartCoroutine("ShotDelay");
}
......
......@@ -88,7 +88,6 @@ public class SeekerAI : MonoBehaviour
target.y = 0.0f;
transform.rotation = Quaternion.RotateTowards(transform.rotation, Quaternion.LookRotation(target), Time.deltaTime * rotationVel);
if(canFire)
{
canFire = false;
......
......@@ -163,7 +163,12 @@ public class GameMaster : MonoBehaviour
StartCoroutine(coroutine1);
StartCoroutine(coroutine2);
SpawnSeekerToid();
if(difficulty >= 3)
{
rng = Random.Range(0, 10);
if(rng == 0)
SpawnSeekerToid();
}
}
void SpawnBasicToid()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment