From dd385f48986f19fa5f88a63186ea61efaf6b813e Mon Sep 17 00:00:00 2001 From: teascade Date: Mon, 19 Aug 2019 00:13:42 +0300 Subject: [PATCH] Add MobCat graphics, reorganize animations folder --- Assets/Graphics/Animations/Armadillo.meta | 8 + .../{ => Armadillo}/Armadillo.controller | 0 .../{ => Armadillo}/Armadillo.controller.meta | 0 .../{ => Armadillo}/ArmadilloIdle.anim | 0 .../{ => Armadillo}/ArmadilloIdle.anim.meta | 0 .../{ => Armadillo}/ArmadilloRoll.anim | 0 .../{ => Armadillo}/ArmadilloRoll.anim.meta | 0 Assets/Graphics/Animations/Crab.meta | 8 + .../Animations/{ => Crab}/Crab.controller | 0 .../{ => Crab}/Crab.controller.meta | 0 .../Animations/{ => Crab}/CrabAttack.anim | 0 .../{ => Crab}/CrabAttack.anim.meta | 0 .../Animations/{ => Crab}/CrabWalk.anim | 0 .../Animations/{ => Crab}/CrabWalk.anim.meta | 0 Assets/Graphics/Animations/MobCat.meta | 8 + .../Animations/MobCat/MobCat.controller | 107 ++++++++++ .../Animations/MobCat/MobCat.controller.meta | 8 + .../Animations/MobCat/MobCatAttack.anim | 69 +++++++ .../Animations/MobCat/MobCatAttack.anim.meta | 8 + .../Animations/MobCat/MobCatWalk.anim | 77 ++++++++ .../Animations/MobCat/MobCatWalk.anim.meta | 8 + Assets/Graphics/Entities/MobCat.png | Bin 0 -> 1354 bytes Assets/Graphics/Entities/MobCat.png.meta | 187 ++++++++++++++++++ ...Name TBD).prefab => Enemy (MobCat).prefab} | 42 +++- ...prefab.meta => Enemy (MobCat).prefab.meta} | 0 Assets/Scenes/MainScene.unity | 74 +++++++ .../Enemies/{RangedNameTBD.cs => MobCat.cs} | 16 +- .../{RangedNameTBD.cs.meta => MobCat.cs.meta} | 0 Raw Assets/MobCat.xcf | Bin 0 -> 25635 bytes 29 files changed, 602 insertions(+), 18 deletions(-) create mode 100644 Assets/Graphics/Animations/Armadillo.meta rename Assets/Graphics/Animations/{ => Armadillo}/Armadillo.controller (100%) rename Assets/Graphics/Animations/{ => Armadillo}/Armadillo.controller.meta (100%) rename Assets/Graphics/Animations/{ => Armadillo}/ArmadilloIdle.anim (100%) rename Assets/Graphics/Animations/{ => Armadillo}/ArmadilloIdle.anim.meta (100%) rename Assets/Graphics/Animations/{ => Armadillo}/ArmadilloRoll.anim (100%) rename Assets/Graphics/Animations/{ => Armadillo}/ArmadilloRoll.anim.meta (100%) create mode 100644 Assets/Graphics/Animations/Crab.meta rename Assets/Graphics/Animations/{ => Crab}/Crab.controller (100%) rename Assets/Graphics/Animations/{ => Crab}/Crab.controller.meta (100%) rename Assets/Graphics/Animations/{ => Crab}/CrabAttack.anim (100%) rename Assets/Graphics/Animations/{ => Crab}/CrabAttack.anim.meta (100%) rename Assets/Graphics/Animations/{ => Crab}/CrabWalk.anim (100%) rename Assets/Graphics/Animations/{ => Crab}/CrabWalk.anim.meta (100%) create mode 100644 Assets/Graphics/Animations/MobCat.meta create mode 100644 Assets/Graphics/Animations/MobCat/MobCat.controller create mode 100644 Assets/Graphics/Animations/MobCat/MobCat.controller.meta create mode 100644 Assets/Graphics/Animations/MobCat/MobCatAttack.anim create mode 100644 Assets/Graphics/Animations/MobCat/MobCatAttack.anim.meta create mode 100644 Assets/Graphics/Animations/MobCat/MobCatWalk.anim create mode 100644 Assets/Graphics/Animations/MobCat/MobCatWalk.anim.meta create mode 100644 Assets/Graphics/Entities/MobCat.png create mode 100644 Assets/Graphics/Entities/MobCat.png.meta rename Assets/Prefabs/Enemies/{Enemy (Ranged - Name TBD).prefab => Enemy (MobCat).prefab} (91%) rename Assets/Prefabs/Enemies/{Enemy (Ranged - Name TBD).prefab.meta => Enemy (MobCat).prefab.meta} (100%) rename Assets/Scripts/Enemies/{RangedNameTBD.cs => MobCat.cs} (84%) rename Assets/Scripts/Enemies/{RangedNameTBD.cs.meta => MobCat.cs.meta} (100%) create mode 100644 Raw Assets/MobCat.xcf diff --git a/Assets/Graphics/Animations/Armadillo.meta b/Assets/Graphics/Animations/Armadillo.meta new file mode 100644 index 0000000..ad797ee --- /dev/null +++ b/Assets/Graphics/Animations/Armadillo.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0331e3fcb20079043b39f466d0bed985 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Graphics/Animations/Armadillo.controller b/Assets/Graphics/Animations/Armadillo/Armadillo.controller similarity index 100% rename from Assets/Graphics/Animations/Armadillo.controller rename to Assets/Graphics/Animations/Armadillo/Armadillo.controller diff --git a/Assets/Graphics/Animations/Armadillo.controller.meta b/Assets/Graphics/Animations/Armadillo/Armadillo.controller.meta similarity index 100% rename from Assets/Graphics/Animations/Armadillo.controller.meta rename to Assets/Graphics/Animations/Armadillo/Armadillo.controller.meta diff --git a/Assets/Graphics/Animations/ArmadilloIdle.anim b/Assets/Graphics/Animations/Armadillo/ArmadilloIdle.anim similarity index 100% rename from Assets/Graphics/Animations/ArmadilloIdle.anim rename to Assets/Graphics/Animations/Armadillo/ArmadilloIdle.anim diff --git a/Assets/Graphics/Animations/ArmadilloIdle.anim.meta b/Assets/Graphics/Animations/Armadillo/ArmadilloIdle.anim.meta similarity index 100% rename from Assets/Graphics/Animations/ArmadilloIdle.anim.meta rename to Assets/Graphics/Animations/Armadillo/ArmadilloIdle.anim.meta diff --git a/Assets/Graphics/Animations/ArmadilloRoll.anim b/Assets/Graphics/Animations/Armadillo/ArmadilloRoll.anim similarity index 100% rename from Assets/Graphics/Animations/ArmadilloRoll.anim rename to Assets/Graphics/Animations/Armadillo/ArmadilloRoll.anim diff --git a/Assets/Graphics/Animations/ArmadilloRoll.anim.meta b/Assets/Graphics/Animations/Armadillo/ArmadilloRoll.anim.meta similarity index 100% rename from Assets/Graphics/Animations/ArmadilloRoll.anim.meta rename to Assets/Graphics/Animations/Armadillo/ArmadilloRoll.anim.meta diff --git a/Assets/Graphics/Animations/Crab.meta b/Assets/Graphics/Animations/Crab.meta new file mode 100644 index 0000000..e308cc9 --- /dev/null +++ b/Assets/Graphics/Animations/Crab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 94093211366fd59499062ef8c2b476a0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Graphics/Animations/Crab.controller b/Assets/Graphics/Animations/Crab/Crab.controller similarity index 100% rename from Assets/Graphics/Animations/Crab.controller rename to Assets/Graphics/Animations/Crab/Crab.controller diff --git a/Assets/Graphics/Animations/Crab.controller.meta b/Assets/Graphics/Animations/Crab/Crab.controller.meta similarity index 100% rename from Assets/Graphics/Animations/Crab.controller.meta rename to Assets/Graphics/Animations/Crab/Crab.controller.meta diff --git a/Assets/Graphics/Animations/CrabAttack.anim b/Assets/Graphics/Animations/Crab/CrabAttack.anim similarity index 100% rename from Assets/Graphics/Animations/CrabAttack.anim rename to Assets/Graphics/Animations/Crab/CrabAttack.anim diff --git a/Assets/Graphics/Animations/CrabAttack.anim.meta b/Assets/Graphics/Animations/Crab/CrabAttack.anim.meta similarity index 100% rename from Assets/Graphics/Animations/CrabAttack.anim.meta rename to Assets/Graphics/Animations/Crab/CrabAttack.anim.meta diff --git a/Assets/Graphics/Animations/CrabWalk.anim b/Assets/Graphics/Animations/Crab/CrabWalk.anim similarity index 100% rename from Assets/Graphics/Animations/CrabWalk.anim rename to Assets/Graphics/Animations/Crab/CrabWalk.anim diff --git a/Assets/Graphics/Animations/CrabWalk.anim.meta b/Assets/Graphics/Animations/Crab/CrabWalk.anim.meta similarity index 100% rename from Assets/Graphics/Animations/CrabWalk.anim.meta rename to Assets/Graphics/Animations/Crab/CrabWalk.anim.meta diff --git a/Assets/Graphics/Animations/MobCat.meta b/Assets/Graphics/Animations/MobCat.meta new file mode 100644 index 0000000..35a8646 --- /dev/null +++ b/Assets/Graphics/Animations/MobCat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3ff0177346de661418f442cb59625c9c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Graphics/Animations/MobCat/MobCat.controller b/Assets/Graphics/Animations/MobCat/MobCat.controller new file mode 100644 index 0000000..80f1ecf --- /dev/null +++ b/Assets/Graphics/Animations/MobCat/MobCat.controller @@ -0,0 +1,107 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1102 &-3907542575422527388 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Walk + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 1 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: d1d276e7b05cbf140abc3c2d9062c722, type: 2} + m_Tag: + m_SpeedParameter: Speed + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &-592618111010848886 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: -3907542575422527388} + m_Position: {x: 260, y: 120, z: 0} + - serializedVersion: 1 + m_State: {fileID: 951317098599916901} + m_Position: {x: 260, y: 180, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 130, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: -3907542575422527388} +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: MobCat + serializedVersion: 5 + m_AnimatorParameters: + - m_Name: Speed + m_Type: 1 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 9100000} + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: -592618111010848886} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1102 &951317098599916901 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Attack + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 8fafacc082a6a1f4191b5b0639054e1d, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: diff --git a/Assets/Graphics/Animations/MobCat/MobCat.controller.meta b/Assets/Graphics/Animations/MobCat/MobCat.controller.meta new file mode 100644 index 0000000..c900c8f --- /dev/null +++ b/Assets/Graphics/Animations/MobCat/MobCat.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0415ba58704350d49a33a7c1b517b2b4 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Graphics/Animations/MobCat/MobCatAttack.anim b/Assets/Graphics/Animations/MobCat/MobCatAttack.anim new file mode 100644 index 0000000..d9cf33e --- /dev/null +++ b/Assets/Graphics/Animations/MobCat/MobCatAttack.anim @@ -0,0 +1,69 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: MobCatAttack + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: -5418259349915491348, guid: 50492b8a26d26ed44b94d0f1b87af118, + type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 12 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: -5418259349915491348, guid: 50492b8a26d26ed44b94d0f1b87af118, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.083333336 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Graphics/Animations/MobCat/MobCatAttack.anim.meta b/Assets/Graphics/Animations/MobCat/MobCatAttack.anim.meta new file mode 100644 index 0000000..3a1d52c --- /dev/null +++ b/Assets/Graphics/Animations/MobCat/MobCatAttack.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8fafacc082a6a1f4191b5b0639054e1d +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Graphics/Animations/MobCat/MobCatWalk.anim b/Assets/Graphics/Animations/MobCat/MobCatWalk.anim new file mode 100644 index 0000000..4859207 --- /dev/null +++ b/Assets/Graphics/Animations/MobCat/MobCatWalk.anim @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: MobCatWalk + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 2161220840336121028, guid: 50492b8a26d26ed44b94d0f1b87af118, + type: 3} + - time: 0.25 + value: {fileID: 1237803681243236179, guid: 50492b8a26d26ed44b94d0f1b87af118, + type: 3} + - time: 0.5 + value: {fileID: 2161220840336121028, guid: 50492b8a26d26ed44b94d0f1b87af118, + type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 12 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 2161220840336121028, guid: 50492b8a26d26ed44b94d0f1b87af118, type: 3} + - {fileID: 1237803681243236179, guid: 50492b8a26d26ed44b94d0f1b87af118, type: 3} + - {fileID: 2161220840336121028, guid: 50492b8a26d26ed44b94d0f1b87af118, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.5833333 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Graphics/Animations/MobCat/MobCatWalk.anim.meta b/Assets/Graphics/Animations/MobCat/MobCatWalk.anim.meta new file mode 100644 index 0000000..df93b3f --- /dev/null +++ b/Assets/Graphics/Animations/MobCat/MobCatWalk.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d1d276e7b05cbf140abc3c2d9062c722 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Graphics/Entities/MobCat.png b/Assets/Graphics/Entities/MobCat.png new file mode 100644 index 0000000000000000000000000000000000000000..ced9cf2d33dfd3827b9a07338ea9b664f201a294 GIT binary patch literal 1354 zcmV-Q1-1H#P)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00gp0L_t(|+U;AvPx?$8e%h3+ zjfq1}$Hzxa_5}ZSe0^P|X_{1I zvT^(UW_)A0pj<9f02mI3i6(8DCY{gcu|49q;Tu8V%?F;wHkl+mq-0<@g;yKnS`hZW{Izwza}eu)5t{P z_BlE_S}E)I`rL)oK-`Qi;C^060B8rQL2< zC=ylh*TY0OJ3FI{2m{?D0Q*>$#V(_yBnC_XzYu=B(P#wQwxuN^D)}4hJTOQAHVMC% z0f24WC>D!SJlU^yj*123*v96BrGexPV-!GaBvV>*X?!z0EdT%()b%$3Zg0smWhYq-rnA7 zLCa83YRRHuIa1>CH&lmxmQfJpbo%h{005}fYJ8a?gkU=^MZ6x_sk(etzcrga075{QPT|AeJurgqJcdyI6}VuJB1XsRt&>#oylEesl!J zJ&PDBJTT1-@uw#Qx+)J$lKCbtulXMv zI5xm=FpGx5XP``fbTb$!;ED*mB+01LZZF2~E3!Iwk{6hKwF>3N>EySqz6<`&yj z@z-Sv5T#7!_}|Gy`Rm_R0MGL@N+~`*KKSphHrZq{(I};0{n8dVwX2A%1rYi2KFJsU zS@Jhzom#W{ZLUo0EasqpM**@l)%?HRb+ky<^xH4?wzjpcZB5Yr1vM*S$AlxGng9R* M07*qoM6N<$f)49|OaK4? literal 0 HcmV?d00001 diff --git a/Assets/Graphics/Entities/MobCat.png.meta b/Assets/Graphics/Entities/MobCat.png.meta new file mode 100644 index 0000000..f9b88ee --- /dev/null +++ b/Assets/Graphics/Entities/MobCat.png.meta @@ -0,0 +1,187 @@ +fileFormatVersion: 2 +guid: 50492b8a26d26ed44b94d0f1b87af118 +TextureImporter: + internalIDToNameTable: + - first: + 213: 2161220840336121028 + second: MobCat_0 + - first: + 213: 1237803681243236179 + second: MobCat_1 + - first: + 213: -5418259349915491348 + second: MobCat_2 + externalObjects: {} + serializedVersion: 10 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 0 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: -1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 32 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: MobCat_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 32 + height: 48 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 96e475ea4faa41e4bb43d00896867248 + internalID: 2161220840336121028 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: MobCat_1 + rect: + serializedVersion: 2 + x: 32 + y: 0 + width: 32 + height: 48 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 0718afe0ceb44ad43a28113e685a0cfa + internalID: 1237803681243236179 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: MobCat_2 + rect: + serializedVersion: 2 + x: 64 + y: 0 + width: 32 + height: 48 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 9107a02c062cff0479426f93e4401874 + internalID: -5418259349915491348 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Enemies/Enemy (Ranged - Name TBD).prefab b/Assets/Prefabs/Enemies/Enemy (MobCat).prefab similarity index 91% rename from Assets/Prefabs/Enemies/Enemy (Ranged - Name TBD).prefab rename to Assets/Prefabs/Enemies/Enemy (MobCat).prefab index c28722a..144a886 100644 --- a/Assets/Prefabs/Enemies/Enemy (Ranged - Name TBD).prefab +++ b/Assets/Prefabs/Enemies/Enemy (MobCat).prefab @@ -10,8 +10,9 @@ GameObject: m_Component: - component: {fileID: 8421448882146741787} - component: {fileID: 4848125059538075066} + - component: {fileID: 5842195514978149329} m_Layer: 0 - m_Name: Placeholder Sprite + m_Name: Sprite m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -26,7 +27,7 @@ Transform: m_GameObject: {fileID: 738167044357067052} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1.75, y: 1.75, z: 1} + m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 6460565228684706449} m_RootOrder: 0 @@ -69,7 +70,8 @@ SpriteRenderer: m_SortingLayerID: -947994997 m_SortingLayer: 4 m_SortingOrder: 0 - m_Sprite: {fileID: 21300000, guid: 472874229c563e241bddc073ec2dbb90, type: 3} + m_Sprite: {fileID: 2161220840336121028, guid: 50492b8a26d26ed44b94d0f1b87af118, + type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} m_FlipX: 0 m_FlipY: 0 @@ -80,6 +82,25 @@ SpriteRenderer: m_WasSpriteAssigned: 1 m_MaskInteraction: 0 m_SpriteSortPoint: 0 +--- !u!95 &5842195514978149329 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 738167044357067052} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: 0415ba58704350d49a33a7c1b517b2b4, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorControllerStateOnDisable: 0 --- !u!1 &2543259950034594903 GameObject: m_ObjectHideFlags: 0 @@ -194,7 +215,7 @@ GameObject: - component: {fileID: 7974156166935930478} - component: {fileID: 8315503502695128381} m_Layer: 0 - m_Name: Enemy (Ranged - Name TBD) + m_Name: Enemy (MobCat) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -325,12 +346,15 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: BodypartPrefabs: - - {fileID: 90224928841595158, guid: ca8392322c2a18b48a39044f77780e06, type: 3} + - {fileID: 90224928841595158, guid: fdbfbe32f3b9e014e9a8da46701b8c40, type: 3} + - {fileID: 1818059612568235499, guid: 52039c34fdb255843ac78c6010c5ff83, type: 3} + - {fileID: 960737912245282743, guid: 2fb0a649165a8b7429b09809cd8e25c7, type: 3} + - {fileID: 3847767376140256459, guid: 876c3f18878bbd6498566af1f9234dcf, type: 3} DebugExplode: 0 ParticlesPerBodypart: 20 - BodypartMinCount: 5 - BodypartMaxCount: 10 - DebrisType: 1 + BodypartMinCount: 2 + BodypartMaxCount: 4 + DebrisType: 0 --- !u!114 &4655711410523782340 MonoBehaviour: m_ObjectHideFlags: 0 @@ -422,7 +446,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a7ad92c263d7d594286b8fc50b5b8fa7, type: 3} m_Name: m_EditorClassIdentifier: - Anim: {fileID: 0} + Anim: {fileID: 5842195514978149329} --- !u!1 &3991584792453052187 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/Enemies/Enemy (Ranged - Name TBD).prefab.meta b/Assets/Prefabs/Enemies/Enemy (MobCat).prefab.meta similarity index 100% rename from Assets/Prefabs/Enemies/Enemy (Ranged - Name TBD).prefab.meta rename to Assets/Prefabs/Enemies/Enemy (MobCat).prefab.meta diff --git a/Assets/Scenes/MainScene.unity b/Assets/Scenes/MainScene.unity index 222e2c8..64a22af 100644 --- a/Assets/Scenes/MainScene.unity +++ b/Assets/Scenes/MainScene.unity @@ -111864,6 +111864,80 @@ Transform: m_Father: {fileID: 1613151093} m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &1837079526 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 2690120730931629369, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_Name + value: Enemy (MobCat) + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_LocalPosition.x + value: -17.6 + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_LocalPosition.y + value: 5.7 + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_RootOrder + value: 12 + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690120730931629368, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4766673605832234110, guid: aae49ec2806ad9941a301b7928af198a, + type: 3} + propertyPath: m_Constraints + value: 4 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: aae49ec2806ad9941a301b7928af198a, type: 3} --- !u!1001 &1837150491 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/Enemies/RangedNameTBD.cs b/Assets/Scripts/Enemies/MobCat.cs similarity index 84% rename from Assets/Scripts/Enemies/RangedNameTBD.cs rename to Assets/Scripts/Enemies/MobCat.cs index 1446bcf..09da6b1 100644 --- a/Assets/Scripts/Enemies/RangedNameTBD.cs +++ b/Assets/Scripts/Enemies/MobCat.cs @@ -10,7 +10,7 @@ namespace Saltosion.OneWeapon.Enemies { [RequireComponent(typeof(Wander))] [RequireComponent(typeof(Follow))] [RequireComponent(typeof(RangedAttackFollowed))] - public class RangedNameTBD : MonoBehaviour { + public class MobCat : MonoBehaviour { public Animator Anim; private Enemy Enemy; @@ -41,14 +41,12 @@ namespace Saltosion.OneWeapon.Enemies { Enemy.CurrentBehaviour += "Wander:" + WanderBehaviour.CurrentStatus; } - // TODO: Add animation - - //if (RangedBehaviour.Attacking) { - // Anim.Play("Attack"); - //} else { - // Anim.Play("Walk"); - //} - //Anim.SetFloat("Speed", Enemy.Movement.SpeedPercentage); + if (RangedBehaviour.Attacking) { + Anim.Play("Attack"); + } else { + Anim.Play("Walk"); + } + Anim.SetFloat("Speed", Enemy.Movement.SpeedPercentage); } } } diff --git a/Assets/Scripts/Enemies/RangedNameTBD.cs.meta b/Assets/Scripts/Enemies/MobCat.cs.meta similarity index 100% rename from Assets/Scripts/Enemies/RangedNameTBD.cs.meta rename to Assets/Scripts/Enemies/MobCat.cs.meta diff --git a/Raw Assets/MobCat.xcf b/Raw Assets/MobCat.xcf new file mode 100644 index 0000000000000000000000000000000000000000..675a09e649f8a06d30c8001ff8c011281dff5922 GIT binary patch literal 25635 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 ACIA2c literal 0 HcmV?d00001