Added spawning of enemy types 1-3

This commit is contained in:
Trianta 2024-03-13 20:09:35 -05:00
parent f1ae5c383e
commit a58f4c9db0
4 changed files with 136 additions and 0 deletions

View File

@ -467,6 +467,14 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
prefabEnemies: prefabEnemies:
- {fileID: 3328938117814550738, guid: f15f1018fc0ceb56abc7f4aedf145178, type: 3} - {fileID: 3328938117814550738, guid: f15f1018fc0ceb56abc7f4aedf145178, type: 3}
- {fileID: 3328938117814550738, guid: f15f1018fc0ceb56abc7f4aedf145178, type: 3}
- {fileID: 3328938117814550738, guid: f15f1018fc0ceb56abc7f4aedf145178, type: 3}
- {fileID: 1800709893527788008, guid: 968b61f2990b54c718e8e2f4b78406f7, type: 3}
- {fileID: 1800709893527788008, guid: 968b61f2990b54c718e8e2f4b78406f7, type: 3}
- {fileID: 1716873588767813483, guid: ba65718b1eee9fde8b64fc1c56f7fcd7, type: 3}
- {fileID: 1716873588767813483, guid: ba65718b1eee9fde8b64fc1c56f7fcd7, type: 3}
- {fileID: 1454311047477341964, guid: c033931eb931661a285a471741bae343, type: 3}
- {fileID: 1454311047477341964, guid: c033931eb931661a285a471741bae343, type: 3}
enemySpawnPerSecond: 0.5 enemySpawnPerSecond: 0.5
enemyDefaultPadding: 1.5 enemyDefaultPadding: 1.5
--- !u!1 &998017458 --- !u!1 &998017458

View File

@ -10,6 +10,8 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 1800709893527788011} - component: {fileID: 1800709893527788011}
- component: {fileID: 1800709893527788010} - component: {fileID: 1800709893527788010}
- component: {fileID: -538950882722755235}
- component: {fileID: 1954791152928663290}
m_Layer: 9 m_Layer: 9
m_Name: Enemy_1 m_Name: Enemy_1
m_TagString: Enemy m_TagString: Enemy
@ -50,6 +52,46 @@ Rigidbody:
m_Interpolate: 0 m_Interpolate: 0
m_Constraints: 120 m_Constraints: 120
m_CollisionDetection: 0 m_CollisionDetection: 0
--- !u!114 &-538950882722755235
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1800709893527788008}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 67239b4e04039f3d28db4ea469fb531c, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 10
fireRate: 0.3
health: 10
score: 100
waveFrequency: 2
waveWidth: 4
waveRotY: 45
--- !u!114 &1954791152928663290
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1800709893527788008}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a2b7c79b712fe5c9ca22495cdf2f32b7, type: 3}
m_Name:
m_EditorClassIdentifier:
radius: -2.5
keepOnScreen: 0
isOnScreen: 1
camWidth: 0
camHeight: 0
offRight: 0
offLeft: 0
offUp: 0
offDown: 0
--- !u!1 &1800709893593984168 --- !u!1 &1800709893593984168
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -107,6 +107,8 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 1716873588767813482} - component: {fileID: 1716873588767813482}
- component: {fileID: 1716873588767813485} - component: {fileID: 1716873588767813485}
- component: {fileID: 8470252896501415444}
- component: {fileID: -4207933623276160418}
m_Layer: 9 m_Layer: 9
m_Name: Enemy_2 m_Name: Enemy_2
m_TagString: Enemy m_TagString: Enemy
@ -148,6 +150,48 @@ Rigidbody:
m_Interpolate: 0 m_Interpolate: 0
m_Constraints: 120 m_Constraints: 120
m_CollisionDetection: 0 m_CollisionDetection: 0
--- !u!114 &8470252896501415444
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1716873588767813483}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8424fdbcb6a86d74f860fe068d094d3b, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 10
fireRate: 0.3
health: 10
score: 100
sinEccentricity: 0.6
lifeTime: 10
p0: {x: 0, y: 0, z: 0}
p1: {x: 0, y: 0, z: 0}
birthTime: 0
--- !u!114 &-4207933623276160418
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1716873588767813483}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a2b7c79b712fe5c9ca22495cdf2f32b7, type: 3}
m_Name:
m_EditorClassIdentifier:
radius: -2.5
keepOnScreen: 0
isOnScreen: 1
camWidth: 0
camHeight: 0
offRight: 0
offLeft: 0
offUp: 0
offDown: 0
--- !u!1 &1716873589088778158 --- !u!1 &1716873589088778158
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -301,6 +301,8 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 1454311047477341967} - component: {fileID: 1454311047477341967}
- component: {fileID: 1454311047477341966} - component: {fileID: 1454311047477341966}
- component: {fileID: -4420534474033890985}
- component: {fileID: -347935147914282777}
m_Layer: 9 m_Layer: 9
m_Name: Enemy_3 m_Name: Enemy_3
m_TagString: Enemy m_TagString: Enemy
@ -342,3 +344,43 @@ Rigidbody:
m_Interpolate: 0 m_Interpolate: 0
m_Constraints: 120 m_Constraints: 120
m_CollisionDetection: 0 m_CollisionDetection: 0
--- !u!114 &-4420534474033890985
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1454311047477341964}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 949d50caf3a9277bd80ee88fcc10bf9a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 10
fireRate: 0.3
health: 10
score: 100
lifeTime: 5
points: []
birthTime: 0
--- !u!114 &-347935147914282777
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1454311047477341964}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a2b7c79b712fe5c9ca22495cdf2f32b7, type: 3}
m_Name:
m_EditorClassIdentifier:
radius: -2.5
keepOnScreen: 0
isOnScreen: 1
camWidth: 0
camHeight: 0
offRight: 0
offLeft: 0
offUp: 0
offDown: 0