Files
blackhole-escape/Assets/Prefabs/DumbEnemy.prefab
iDunnoDev 62254a0332 Updated Unity Version
Added graphics options and rendering quality level settings
Added new movement patterns to the dumb enemy AI
Added chance for Coward Enemies to drop a random
Added method to correctly reset the game variables on death and win screens
Updated the UI to work on different resolutions without breaking
Moved Sprites into a sprites folder
Fixed issue where score would overflow the int because the multiplier was too high
Fixed issue where new lives gained from the score breakpoints were not being calculated correctly
Fixed issue where clicking off a menu element then trying to control the menu with the controller did not correctly reselect a menu item
Fixed issue where enemies colliding with the outer boundary too much would break the sfx and music (i assume from a buffering issue)
2022-07-23 14:43:52 +01:00

334 lines
10 KiB
Plaintext

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3146007298844423425
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2369751387314073531}
- component: {fileID: 2840000230359907282}
- component: {fileID: 4706308579115549007}
- component: {fileID: 7328732548355859270}
- component: {fileID: 8236561242848016274}
- component: {fileID: 3393376695089928826}
- component: {fileID: 3605628659191165325}
- component: {fileID: 4234700418325916269}
m_Layer: 8
m_Name: DumbEnemy
m_TagString: Enemy
m_Icon: {fileID: 5132851093641282708, guid: 0000000000000000d000000000000000, type: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2369751387314073531
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3146007298844423425}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 8947306081368046971}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!54 &2840000230359907282
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3146007298844423425}
serializedVersion: 2
m_Mass: 1
m_Drag: 1
m_AngularDrag: 0.05
m_UseGravity: 0
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 112
m_CollisionDetection: 0
--- !u!114 &4706308579115549007
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3146007298844423425}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6c8ec1231712f114fadcaaccd759a307, type: 3}
m_Name:
m_EditorClassIdentifier:
freezeMovement: 0
objectIsActive: 1
testBaseHeight: 0
objectModel: {fileID: 6047745120504227278}
startHeight: 2
startPositionVector: {x: 0, y: 0, z: 0}
turnSpeed: 50
smoothRollTime: 35
smoothThrusting: 0.1
rollAngle: -35
turnSmoothTime: 0.25
maxThrust: 10
blackHoleImmune: 1
immuneMinHeight: 4
residualThrustStep: 0.2
residualThrustMax: 5
residualThrustTimeTickMax: 0.5
residualThrustDecayRate: 0.5
residualThrustIdleDecayRate: 0.2
jumpForce: 50
jumpMaxTime: 0.01
maxRNGThrust: 5
movementDecayRate: 5
patternChangeInterval: 360
heightChangeInterval: 10
--- !u!114 &7328732548355859270
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3146007298844423425}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6dbe118f7a92cfc41a02a3c322b7c780, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &8236561242848016274
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3146007298844423425}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 37b64cee1602fc949bd30e84a93576dc, type: 3}
m_Name:
m_EditorClassIdentifier:
blackHolePullImmunue: 0
--- !u!114 &3393376695089928826
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3146007298844423425}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 78e23ebcb41b7534081ed5e4065244d7, type: 3}
m_Name:
m_EditorClassIdentifier:
shipModel: {fileID: 6047745120504227278}
shipCore: {fileID: 5881283120638187596, guid: 4c4962b1222fb7643a594d352ed3100f, type: 3}
bounceForce: 10
coreSpawnDelayTime: 2
effectA: {fileID: 198093750711770640, guid: 64db0404c1781409d9c819adeaf45772, type: 3}
effectB: {fileID: 198093750711770640, guid: 071da6eee8fda477791955dbe7e2b171, type: 3}
shipDeathSFX: {fileID: 8300000, guid: 51cd3d16d8615574dbec9cd06c3e0bf3, type: 3}
coreSpawnedSFX: {fileID: 8300000, guid: e6a5e4fee97230048a877c48f26f56ed, type: 3}
enemyLoot:
- {fileID: 5272167010345512933, guid: 47fcb5475a22bd94fbc59366a1458652, type: 3}
- {fileID: 1690047517319332219, guid: 3ee0c3a0899ff7f49b07f4be6b5b27ba, type: 3}
- {fileID: 7970801067337046456, guid: 53496adfc06845948a13bc44ee97348e, type: 3}
- {fileID: 5058449036952964680, guid: 78adcb07f2170304c933a275edb9163c, type: 3}
- {fileID: 2052206127939016710, guid: 14a05427d8b402841ac7db021b0b4575, type: 3}
enemyLootChance:
- 10
- 5
- 1
- 1
- 1
magnetizedTime: 1.5
--- !u!114 &3605628659191165325
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3146007298844423425}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 71299cd9f865e424aa252b67e86c9b86, type: 3}
m_Name:
m_EditorClassIdentifier:
enemyTypeName: 0
spawnInSFX: {fileID: 8300000, guid: 11a351e400989714a87a668507692f6b, type: 3}
spawnInVFX: {fileID: 2787684223660090299, guid: 4f88b1c9a7ca91347840706abff5b5af, type: 3}
deadEngineChance: 50
deadEngineInitialCheckTime: 180
deadEngineRecheckTime: 30
--- !u!82 &4234700418325916269
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3146007298844423425}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -4783308192066970178, guid: 821047ff923e34549a817a12778763a0, type: 2}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Loop: 0
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Priority: 128
DopplerLevel: 1
MinDistance: 8
MaxDistance: 30
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
reverbZoneMixCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!1001 &8699165100944334337
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 2369751387314073531}
m_Modifications:
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3122204780798327759, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
propertyPath: m_Name
value: ShipModel
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
--- !u!1 &6047745120504227278 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3122204780798327759, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
m_PrefabInstance: {fileID: 8699165100944334337}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8947306081368046971 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 329488348750111610, guid: 1a4048b2a8376f949aba67a9f98bccbb, type: 3}
m_PrefabInstance: {fileID: 8699165100944334337}
m_PrefabAsset: {fileID: 0}