diff --git a/Assets/Prefabs/Bug.prefab b/Assets/Prefabs/Bug.prefab index c55d4ca..a647166 100644 --- a/Assets/Prefabs/Bug.prefab +++ b/Assets/Prefabs/Bug.prefab @@ -26,22 +26,6 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &1310248020783766 -GameObject: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - serializedVersion: 5 - m_Component: - - component: {fileID: 4011283098147256} - - component: {fileID: 212750371912380942} - m_Layer: 9 - m_Name: New Sprite - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 --- !u!1 &1411385579873204 GameObject: m_ObjectHideFlags: 1 @@ -103,6 +87,8 @@ GameObject: - component: {fileID: 50033980456084712} - component: {fileID: 70142526866238118} - component: {fileID: 114843041321231988} + - component: {fileID: 95863125955084874} + - component: {fileID: 212432116276121834} m_Layer: 9 m_Name: Bug m_TagString: Enemy @@ -110,19 +96,6 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &4011283098147256 -Transform: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1310248020783766} - 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_Children: [] - m_Father: {fileID: 4193287044024648} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!4 &4193287044024648 Transform: m_ObjectHideFlags: 1 @@ -133,7 +106,6 @@ Transform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - - {fileID: 4011283098147256} - {fileID: 4998258619798332} - {fileID: 4569012147440508} m_Father: {fileID: 4665188581213052} @@ -163,7 +135,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 4193287044024648} - m_RootOrder: 2 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0} --- !u!4 &4665188581213052 Transform: @@ -171,8 +143,8 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1887677565572348} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 20} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 4193287044024648} @@ -191,7 +163,7 @@ Transform: m_LocalScale: {x: 2, y: 2, z: 1} m_Children: [] m_Father: {fileID: 4193287044024648} - m_RootOrder: 1 + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0} --- !u!50 &50033980456084712 Rigidbody2D: @@ -228,6 +200,24 @@ CapsuleCollider2D: m_Offset: {x: 0.008751139, y: -0.0116683245} m_Size: {x: 0.49416587, y: 0.5916126} m_Direction: 0 +--- !u!95 &95863125955084874 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1887677565572348} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: 747ada01867880741a151d3d96601347, 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!114 &114792690602687608 MonoBehaviour: m_ObjectHideFlags: 1 @@ -9487,12 +9477,12 @@ ParticleSystemRenderer: m_Mesh2: {fileID: 0} m_Mesh3: {fileID: 0} m_MaskInteraction: 0 ---- !u!212 &212750371912380942 +--- !u!212 &212432116276121834 SpriteRenderer: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1310248020783766} + m_GameObject: {fileID: 1887677565572348} m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 @@ -9522,12 +9512,12 @@ SpriteRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 - m_Sprite: {fileID: 21300000, guid: 4452f4d6c09a1464c9869c0496d528a4, type: 3} + m_Sprite: {fileID: 21300000, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} m_FlipX: 0 m_FlipY: 0 m_DrawMode: 0 - m_Size: {x: 7.36, y: 6.21} + m_Size: {x: 1, y: 1} m_AdaptiveModeThreshold: 0.5 m_SpriteTileMode: 0 m_WasSpriteAssigned: 1 diff --git a/Assets/graphics/Animations/Bug.controller b/Assets/graphics/Animations/Bug.controller new file mode 100644 index 0000000..1070af6 --- /dev/null +++ b/Assets/graphics/Animations/Bug.controller @@ -0,0 +1,69 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Bug + serializedVersion: 5 + m_AnimatorParameters: [] + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 1107567118224557828} + 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 &1102327592949236920 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: bug + 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: 8141d65df25524d42a605006b86cd6da, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &1107567118224557828 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102327592949236920} + m_Position: {x: 288, y: 36, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 60, y: 48, z: 0} + m_EntryPosition: {x: 288, y: -12, z: 0} + m_ExitPosition: {x: 288, y: 96, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102327592949236920} diff --git a/Assets/graphics/Animations/Bug.controller.meta b/Assets/graphics/Animations/Bug.controller.meta new file mode 100644 index 0000000..70db02d --- /dev/null +++ b/Assets/graphics/Animations/Bug.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 747ada01867880741a151d3d96601347 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/bug.anim b/Assets/graphics/Animations/bug.anim new file mode 100644 index 0000000..5d84ce2 --- /dev/null +++ b/Assets/graphics/Animations/bug.anim @@ -0,0 +1,86 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: bug + 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: 21300000, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - time: 0.33333334 + value: {fileID: 21300002, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - time: 0.6666667 + value: {fileID: 21300004, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - time: 1 + value: {fileID: 21300006, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - time: 1.3333334 + value: {fileID: 21300004, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - time: 1.6666666 + value: {fileID: 21300002, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - time: 1.9833333 + value: {fileID: 21300002, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + 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: 21300000, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - {fileID: 21300002, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - {fileID: 21300004, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - {fileID: 21300006, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - {fileID: 21300004, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - {fileID: 21300002, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + - {fileID: 21300002, guid: cabb331d7ad032a49bdb0b796c2a038d, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 2 + 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_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/graphics/Animations/bug.anim.meta b/Assets/graphics/Animations/bug.anim.meta new file mode 100644 index 0000000..ddd2883 --- /dev/null +++ b/Assets/graphics/Animations/bug.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8141d65df25524d42a605006b86cd6da +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/textures/Entities/Enemies/bug.png b/Assets/graphics/textures/Entities/Enemies/bug.png new file mode 100644 index 0000000..f6cdda4 Binary files /dev/null and b/Assets/graphics/textures/Entities/Enemies/bug.png differ diff --git a/Assets/graphics/textures/Entities/Enemies/bug.png.meta b/Assets/graphics/textures/Entities/Enemies/bug.png.meta new file mode 100644 index 0000000..87a3a2e --- /dev/null +++ b/Assets/graphics/textures/Entities/Enemies/bug.png.meta @@ -0,0 +1,179 @@ +fileFormatVersion: 2 +guid: cabb331d7ad032a49bdb0b796c2a038d +TextureImporter: + fileIDToRecycleName: + 21300000: bug_0 + 21300002: bug_1 + 21300004: bug_2 + 21300006: bug_3 + externalObjects: {} + serializedVersion: 5 + 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 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + spriteExtrude: 1 + spriteMeshType: 0 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 1000 + 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: 2 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: bug_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1000 + height: 1000 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ae330cffab5098744ac5885804032a0d + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: bug_1 + rect: + serializedVersion: 2 + x: 1001 + y: 0 + width: 1000 + height: 1000 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 3fdac5b60646ecd4c90eedd4ac55c1e5 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: bug_2 + rect: + serializedVersion: 2 + x: 2002 + y: 0 + width: 1000 + height: 1000 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 8d70f6b4627aee64fa388016131a44c1 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: bug_3 + rect: + serializedVersion: 2 + x: 3003 + y: 0 + width: 1000 + height: 1000 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 859f84ab8bf5d96408eea90b77471924 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: cf87e34dc3927974fa199ca8cc05663e + vertices: [] + indices: + edges: [] + weights: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: