Compare commits
1 Commits
refactorin
...
master
Author | SHA1 | Date | |
---|---|---|---|
a481d43724 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -80,10 +80,7 @@ crashlytics-build.properties
|
||||
Library
|
||||
Temp
|
||||
obj
|
||||
logs
|
||||
Logs
|
||||
/.gitignore~
|
||||
/ldjam50/Logs/ApiUpdaterCheck.txt
|
||||
/logs
|
||||
/ldjam50/UserSettings*
|
||||
*.log
|
||||
/ldjam50/UserSettings/EditorUserSettings.asset
|
||||
|
@ -1,132 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &2523660140771243756
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3423613101396630199}
|
||||
- component: {fileID: 4810735146764604092}
|
||||
m_Layer: 0
|
||||
m_Name: Effect
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3423613101396630199
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2523660140771243756}
|
||||
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: []
|
||||
m_Father: {fileID: 4281435104574534168}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &4810735146764604092
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2523660140771243756}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Sprite: {fileID: -7223500524570698268, guid: d1724c2207cc7934580992ce9d42f6a7, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 0.5, y: 0.5}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &9166775571681944875
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4281435104574534168}
|
||||
- component: {fileID: 7145043599925644736}
|
||||
m_Layer: 0
|
||||
m_Name: Boomerang
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4281435104574534168
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9166775571681944875}
|
||||
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: 3423613101396630199}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &7145043599925644736
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9166775571681944875}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ad610f07ccdc27cd5952628b5fee56eb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
effect: {fileID: 2523660140771243756}
|
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d5bc25014d7378953bd4154f297a4e01
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -11,7 +11,8 @@ GameObject:
|
||||
- component: {fileID: 4291895258293432843}
|
||||
- component: {fileID: 4864008898460965936}
|
||||
- component: {fileID: 6102265118150421119}
|
||||
- component: {fileID: 2449486384176756105}
|
||||
- component: {fileID: 463036853569761210}
|
||||
- component: {fileID: 4664501316419986786}
|
||||
m_Layer: 0
|
||||
m_Name: Bullet
|
||||
m_TagString: Untagged
|
||||
@ -27,9 +28,8 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6196285449860538992}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalPosition: {x: 1.15, y: -0.48, z: 1.3160809}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4220328572880531123}
|
||||
m_RootOrder: 0
|
||||
@ -45,7 +45,6 @@ SpriteRenderer:
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
@ -112,27 +111,40 @@ BoxCollider2D:
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 0.3, y: 0.3}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!50 &2449486384176756105
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
--- !u!95 &463036853569761210
|
||||
Animator:
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6196285449860538992}
|
||||
m_BodyType: 0
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 0.0001
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 0
|
||||
m_Material: {fileID: 0}
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
m_Enabled: 1
|
||||
m_Avatar: {fileID: 0}
|
||||
m_Controller: {fileID: 9100000, guid: d4a2557aeec98284989b3daa00f15042, type: 2}
|
||||
m_CullingMode: 0
|
||||
m_UpdateMode: 1
|
||||
m_ApplyRootMotion: 0
|
||||
m_LinearVelocityBlending: 0
|
||||
m_WarningMessage:
|
||||
m_HasTransformHierarchy: 1
|
||||
m_AllowConstantClipSamplingOptimization: 1
|
||||
m_KeepAnimatorControllerStateOnDisable: 0
|
||||
--- !u!114 &4664501316419986786
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6196285449860538992}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ffa843d3684e77f44a8bdc2130bf7205, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
attackSpeed: 0
|
||||
damage: 0
|
||||
speed: 0
|
||||
--- !u!1 &6863736067666425520
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -142,7 +154,6 @@ GameObject:
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4220328572880531123}
|
||||
- component: {fileID: 1525017837818058799}
|
||||
m_Layer: 0
|
||||
m_Name: Pistol
|
||||
m_TagString: Untagged
|
||||
@ -158,24 +169,10 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6863736067666425520}
|
||||
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_LocalPosition: {x: -1.8834, y: 0.72714, z: -2.1158}
|
||||
m_LocalScale: {x: 1.6076, y: 1.6076, z: 1.6076}
|
||||
m_Children:
|
||||
- {fileID: 4291895258293432843}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1525017837818058799
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6863736067666425520}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 48ea894e952344d99609759531dd0e12, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
bullet: {fileID: 6196285449860538992}
|
||||
|
@ -10,8 +10,11 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 4291895258293432843}
|
||||
- component: {fileID: 4864008898460965936}
|
||||
- component: {fileID: 6102265118150421119}
|
||||
- component: {fileID: 3579090901325787678}
|
||||
- component: {fileID: 463036853569761210}
|
||||
m_Layer: 0
|
||||
m_Name: Effect
|
||||
m_Name: Square
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -24,10 +27,9 @@ Transform:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6196285449860538992}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 5.3329673, y: 0.36, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 1.15, y: -0.48, z: 1.3160809}
|
||||
m_LocalScale: {x: 8.2, y: 0.36, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4220328572880531123}
|
||||
m_RootOrder: 0
|
||||
@ -43,7 +45,6 @@ SpriteRenderer:
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
@ -84,6 +85,66 @@ SpriteRenderer:
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!61 &6102265118150421119
|
||||
BoxCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6196285449860538992}
|
||||
m_Enabled: 1
|
||||
m_Density: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0.00081826746, y: 0}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
oldSize: {x: 0.5, y: 0.5}
|
||||
newSize: {x: 1, y: 1}
|
||||
adaptiveTilingThreshold: 0.5
|
||||
drawMode: 0
|
||||
adaptiveTiling: 0
|
||||
m_AutoTiling: 0
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 0.5, y: 0.3}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!114 &3579090901325787678
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6196285449860538992}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 49f585561ea104de189705939209031c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
beam: {fileID: 6196285449860538992}
|
||||
rotationSpeed: 100
|
||||
damage: 35
|
||||
--- !u!95 &463036853569761210
|
||||
Animator:
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6196285449860538992}
|
||||
m_Enabled: 1
|
||||
m_Avatar: {fileID: 0}
|
||||
m_Controller: {fileID: 9100000, guid: d4a2557aeec98284989b3daa00f15042, type: 2}
|
||||
m_CullingMode: 0
|
||||
m_UpdateMode: 1
|
||||
m_ApplyRootMotion: 0
|
||||
m_LinearVelocityBlending: 0
|
||||
m_WarningMessage:
|
||||
m_HasTransformHierarchy: 1
|
||||
m_AllowConstantClipSamplingOptimization: 1
|
||||
m_KeepAnimatorControllerStateOnDisable: 0
|
||||
--- !u!1 &6863736067666425520
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -93,8 +154,6 @@ GameObject:
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4220328572880531123}
|
||||
- component: {fileID: 7877685981569377011}
|
||||
- component: {fileID: 3519919980724110274}
|
||||
m_Layer: 0
|
||||
m_Name: Ultraviolet
|
||||
m_TagString: Untagged
|
||||
@ -110,57 +169,10 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6863736067666425520}
|
||||
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_LocalPosition: {x: -1.8834, y: 0.72714, z: -2.1158}
|
||||
m_LocalScale: {x: 1.6076, y: 1.6076, z: 1.6076}
|
||||
m_Children:
|
||||
- {fileID: 4291895258293432843}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &7877685981569377011
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6863736067666425520}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 49f585561ea104de189705939209031c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
abilityData:
|
||||
baseDamage: 0
|
||||
enhancedDamage: 0
|
||||
rechargeTime: 0
|
||||
damageSpeed: 0
|
||||
effectPrefab: {fileID: 0}
|
||||
effect: {fileID: 6196285449860538992}
|
||||
rotationSpeed: 3.9
|
||||
--- !u!61 &3519919980724110274
|
||||
BoxCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6863736067666425520}
|
||||
m_Enabled: 1
|
||||
m_Density: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 1.3562081, y: 0}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: 0, y: 0.5}
|
||||
oldSize: {x: 0.5, y: 0.5}
|
||||
newSize: {x: 1, y: 1}
|
||||
adaptiveTilingThreshold: 0.5
|
||||
drawMode: 0
|
||||
adaptiveTiling: 0
|
||||
m_AutoTiling: 0
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 2.7133794, y: 0.14908779}
|
||||
m_EdgeRadius: 0
|
||||
|
@ -12,7 +12,7 @@ GameObject:
|
||||
- component: {fileID: 5335952388035198178}
|
||||
- component: {fileID: 4955269028832526153}
|
||||
m_Layer: 0
|
||||
m_Name: Spirte
|
||||
m_Name: Square
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@ -28,7 +28,6 @@ Transform:
|
||||
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: []
|
||||
m_Father: {fileID: 1137981222306597008}
|
||||
m_RootOrder: 0
|
||||
@ -44,7 +43,6 @@ SpriteRenderer:
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
@ -74,7 +72,7 @@ SpriteRenderer:
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 32767
|
||||
m_Sprite: {fileID: -1807468758588214948, guid: fc9a004f37844d541878fe6e00978d9e, type: 3}
|
||||
m_Sprite: {fileID: 21300000, guid: 1ea3e1dc227afc0768a58ae84d17e6c5, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
@ -87,7 +85,7 @@ SpriteRenderer:
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!95 &4955269028832526153
|
||||
Animator:
|
||||
serializedVersion: 4
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
@ -100,7 +98,6 @@ Animator:
|
||||
m_UpdateMode: 0
|
||||
m_ApplyRootMotion: 0
|
||||
m_LinearVelocityBlending: 0
|
||||
m_StabilizeFeet: 0
|
||||
m_WarningMessage:
|
||||
m_HasTransformHierarchy: 1
|
||||
m_AllowConstantClipSamplingOptimization: 1
|
||||
@ -115,8 +112,8 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 1137981222306597008}
|
||||
- component: {fileID: 8044390793844211544}
|
||||
- component: {fileID: 4520856288189812233}
|
||||
- component: {fileID: 3826968412464473223}
|
||||
- component: {fileID: 4699500568806196817}
|
||||
m_Layer: 0
|
||||
m_Name: character
|
||||
m_TagString: Character
|
||||
@ -134,7 +131,6 @@ Transform:
|
||||
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: 8006084803627600395}
|
||||
m_Father: {fileID: 0}
|
||||
@ -166,6 +162,24 @@ BoxCollider2D:
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1.140003, y: 1.1275415}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!114 &4520856288189812233
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8275013663521780488}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9ab5d980c53f9d7dc8d828fd5382febe, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
health: 250
|
||||
damage: 10
|
||||
moveSpeed: 0.02
|
||||
characterSprite: {fileID: 1199223373439478175}
|
||||
characterAnimator: {fileID: 0}
|
||||
mainCamera: {fileID: 0}
|
||||
--- !u!50 &3826968412464473223
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
@ -187,17 +201,3 @@ Rigidbody2D:
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!114 &4699500568806196817
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8275013663521780488}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 584da5b9caaf58e0da2ae26a4bbe9d02, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
characterData: {fileID: 11400000, guid: 4da5c8fa0351efd6c8284885156d13c6, type: 2}
|
||||
characterSprite: {fileID: 1199223373439478175}
|
||||
|
@ -1,512 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!29 &1
|
||||
OcclusionCullingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_OcclusionBakeSettings:
|
||||
smallestOccluder: 5
|
||||
smallestHole: 0.25
|
||||
backfaceThreshold: 100
|
||||
m_SceneGUID: 00000000000000000000000000000000
|
||||
m_OcclusionCullingData: {fileID: 0}
|
||||
--- !u!104 &2
|
||||
RenderSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 9
|
||||
m_Fog: 0
|
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
m_FogMode: 3
|
||||
m_FogDensity: 0.01
|
||||
m_LinearFogStart: 0
|
||||
m_LinearFogEnd: 300
|
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||
m_AmbientIntensity: 1
|
||||
m_AmbientMode: 3
|
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||
m_SkyboxMaterial: {fileID: 0}
|
||||
m_HaloStrength: 0.5
|
||||
m_FlareStrength: 1
|
||||
m_FlareFadeSpeed: 3
|
||||
m_HaloTexture: {fileID: 0}
|
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_DefaultReflectionMode: 0
|
||||
m_DefaultReflectionResolution: 128
|
||||
m_ReflectionBounces: 1
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 12
|
||||
m_GIWorkflowMode: 1
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 0
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 12
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 40
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAmbientOcclusion: 0
|
||||
m_Padding: 2
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_LightmapsBakeMode: 1
|
||||
m_TextureCompression: 1
|
||||
m_FinalGather: 0
|
||||
m_FinalGatherFiltering: 1
|
||||
m_FinalGatherRayCount: 256
|
||||
m_ReflectionCompression: 2
|
||||
m_MixedBakeMode: 2
|
||||
m_BakeBackend: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 512
|
||||
m_PVRBounces: 2
|
||||
m_PVREnvironmentSampleCount: 256
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 1
|
||||
m_PVRDenoiserTypeDirect: 1
|
||||
m_PVRDenoiserTypeIndirect: 1
|
||||
m_PVRDenoiserTypeAO: 1
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 1
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 0}
|
||||
m_LightingSettings: {fileID: 0}
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 2
|
||||
agentTypeID: 0
|
||||
agentRadius: 0.5
|
||||
agentHeight: 2
|
||||
agentSlope: 45
|
||||
agentClimb: 0.4
|
||||
ledgeDropHeight: 0
|
||||
maxJumpAcrossDistance: 0
|
||||
minRegionArea: 2
|
||||
manualCellSize: 0
|
||||
cellSize: 0.16666667
|
||||
manualTileSize: 0
|
||||
tileSize: 256
|
||||
accuratePlacement: 0
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &54732621 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 8275013663521780488, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
m_PrefabInstance: {fileID: 578983912}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!4 &54732625 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
m_PrefabInstance: {fileID: 578983912}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &60829110
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 772746139284061349, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Tilemap_01
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalScale.x
|
||||
value: 7.4060106
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalScale.y
|
||||
value: 7.4060106
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalScale.z
|
||||
value: 7.4060106
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 2.29
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0.36
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 772746139284061350, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: d184a3354ad54784ead4da1d908feaf2, type: 3}
|
||||
--- !u!1001 &578983912
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1137981222306597008, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4520856288189812233, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: _gameplay
|
||||
value:
|
||||
objectReference: {fileID: 1058592762}
|
||||
- target: {fileID: 4520856288189812233, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: mainCamera
|
||||
value:
|
||||
objectReference: {fileID: 1667579614}
|
||||
- target: {fileID: 4699500568806196817, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: characterData
|
||||
value:
|
||||
objectReference: {fileID: 11400000, guid: 4da5c8fa0351efd6c8284885156d13c6, type: 2}
|
||||
- target: {fileID: 8275013663521780488, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: character
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: d58051113365413fe9782fa6b28125fc, type: 3}
|
||||
--- !u!1 &1058592761
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1058592763}
|
||||
- component: {fileID: 1058592762}
|
||||
m_Layer: 0
|
||||
m_Name: Gameplay
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1058592762
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1058592761}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: cc38bb79a5b3bcf1cbfe445f8947bc62, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
character: {fileID: 54732621}
|
||||
overMind: {fileID: 1860491934}
|
||||
timeOnStart: 500
|
||||
DeathScreen: {fileID: 0}
|
||||
balanceScale: 0
|
||||
abilities: []
|
||||
--- !u!4 &1058592763
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1058592761}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 1.5032258, y: 0.14848368, z: -0.02163601}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1667579614
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1667579617}
|
||||
- component: {fileID: 1667579616}
|
||||
- component: {fileID: 1667579615}
|
||||
m_Layer: 0
|
||||
m_Name: Main Camera
|
||||
m_TagString: MainCamera
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!81 &1667579615
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1667579614}
|
||||
m_Enabled: 1
|
||||
--- !u!20 &1667579616
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1667579614}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 2
|
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_FocalLength: 50
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.3
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 1
|
||||
orthographic size: 5
|
||||
m_Depth: -1
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 3
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 1
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
--- !u!4 &1667579617
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1667579614}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: -10}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1860491934
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1860491936}
|
||||
- component: {fileID: 1860491935}
|
||||
m_Layer: 0
|
||||
m_Name: OverMind
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1860491935
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1860491934}
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a35c03cf584d904acac0d316af6a31fb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
pullSize: 0
|
||||
characterObject: {fileID: 54732621}
|
||||
gamePlay: {fileID: 1058592762}
|
||||
mobs: []
|
||||
--- !u!4 &1860491936
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1860491934}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 1.5032258, y: 0.14848368, z: -0.02163601}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &1160993074822090233
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 54732625}
|
||||
m_Modifications:
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4281435104574534168, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9166775571681944875, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Boomerang
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: d5bc25014d7378953bd4154f297a4e01, type: 3}
|
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1466d3faed09cf2bb8b167957401f1c1
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Pistols_obsolete: Ability
|
||||
public class Pistol: MonoBehaviour
|
||||
{
|
||||
[SerializeField] private GameObject bullet;
|
||||
|
32
ldjam50/Assets/Scripts/Abilities/Ultraviolet.cs
Normal file
32
ldjam50/Assets/Scripts/Abilities/Ultraviolet.cs
Normal file
@ -0,0 +1,32 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Ultraviolet : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private GameObject beam;
|
||||
|
||||
[SerializeField] private float rotationSpeed;
|
||||
|
||||
[SerializeField] private float damage;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
//beam.transform.rotation.eulerAngles += new Vector3(0, 0 0.2f);
|
||||
transform.Rotate(new Vector3(0,0,1), rotationSpeed * Time.deltaTime);
|
||||
}
|
||||
|
||||
void OnTriggerEnter2D(Collider2D col)
|
||||
{
|
||||
if (col.gameObject.CompareTag("Mob"))
|
||||
{
|
||||
col.gameObject.GetComponent<Mob>().SendMessage("ApplyDamage", damage);
|
||||
}
|
||||
}
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public abstract class Ability : MonoBehaviour
|
||||
public class Ability : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Serialization;
|
||||
|
||||
public class BalanceScriptableObject : MonoBehaviour
|
||||
{
|
||||
[CreateAssetMenu(fileName = "Data", menuName = "Game Data/Enemies Balance", order = 1)]
|
||||
public class SpawnManagerScriptableObject : ScriptableObject
|
||||
{
|
||||
public enum EnemyTypeEnum
|
||||
{
|
||||
Standart,
|
||||
Heavy,
|
||||
Light,
|
||||
Group
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public struct EnemyRow
|
||||
{
|
||||
public EnemyTypeEnum enemyTypeEnum;
|
||||
public int count;
|
||||
public int health;
|
||||
public int damage;
|
||||
public float speed;
|
||||
public float upgradePoints;
|
||||
public float floatTimeAfterDeath;
|
||||
}
|
||||
|
||||
[SerializeField] public List<EnemyRow> enemiesList;
|
||||
}
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 0}
|
||||
m_Name: EnemiesBalance
|
||||
m_EditorClassIdentifier: Assembly-CSharp::BalanceScriptableObject/SpawnManagerScriptableObject
|
||||
enemiesList:
|
||||
- enemyTypeEnum: 0
|
||||
count: 1
|
||||
health: 100
|
||||
damage: 10
|
||||
speed: 2
|
||||
upgradePoints: 1
|
||||
floatTimeAfterDeath: 0.005
|
||||
- enemyTypeEnum: 1
|
||||
count: 1
|
||||
health: 200
|
||||
damage: 20
|
||||
speed: 1.5
|
||||
upgradePoints: 2
|
||||
floatTimeAfterDeath: 0.01
|
||||
- enemyTypeEnum: 2
|
||||
count: 1
|
||||
health: 50
|
||||
damage: 5
|
||||
speed: 2.5
|
||||
upgradePoints: 2
|
||||
floatTimeAfterDeath: 0.01
|
||||
- enemyTypeEnum: 3
|
||||
count: 4
|
||||
health: 0
|
||||
damage: 0
|
||||
speed: 0
|
||||
upgradePoints: 0
|
||||
floatTimeAfterDeath: 0
|
||||
- enemyTypeEnum: 0
|
||||
count: 4
|
||||
health: 625
|
||||
damage: 625
|
||||
speed: 1.88
|
||||
upgradePoints: 0.5
|
||||
floatTimeAfterDeath: 0.0025
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 145dbaa0f1d2a2ff797b13ec2fdc78bf
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
124
ldjam50/Assets/Scripts/Character.cs
Normal file
124
ldjam50/Assets/Scripts/Character.cs
Normal file
@ -0,0 +1,124 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEditor.Animations;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class Character : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private Gameplay _gameplay;
|
||||
[SerializeField] private float health;
|
||||
[SerializeField] private float damage;
|
||||
[SerializeField] private float moveSpeed;
|
||||
[SerializeField] private GameObject characterSprite;
|
||||
[SerializeField] private Animator characterAnimator;
|
||||
[SerializeField] private GameObject mainCamera;
|
||||
|
||||
[SerializeField] private GameObject iconFull;
|
||||
[SerializeField] private GameObject iconHalf;
|
||||
[SerializeField] private GameObject iconDeath;
|
||||
|
||||
|
||||
[SerializeField] private GameObject HealthBar;
|
||||
|
||||
private float horInpt;
|
||||
private float verInpt;
|
||||
|
||||
public struct StatReturn
|
||||
{
|
||||
public float Health;
|
||||
public float Damage;
|
||||
public float MoveSpeed;
|
||||
}
|
||||
private void Start()
|
||||
{
|
||||
characterAnimator = characterSprite.GetComponent<Animator>();
|
||||
}
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (health > 240)
|
||||
{
|
||||
iconFull.SetActive(true);
|
||||
iconHalf.SetActive(false);
|
||||
iconDeath.SetActive(false);
|
||||
}
|
||||
if (health < 125 && health > 15)
|
||||
{
|
||||
iconFull.SetActive(false);
|
||||
iconHalf.SetActive(true);
|
||||
iconDeath.SetActive(false);
|
||||
}
|
||||
if (health < 15)
|
||||
{
|
||||
iconFull.SetActive(false);
|
||||
iconHalf.SetActive(true);
|
||||
iconDeath.SetActive(false);
|
||||
}
|
||||
|
||||
print(_gameplay.GetProcentsXP());
|
||||
// HealthBar.GetComponent<Image>().fillAmount = _gameplay.GetProcentsXP();
|
||||
|
||||
horInpt = Input.GetAxis("Horizontal");
|
||||
verInpt = Input.GetAxis("Vertical");
|
||||
if (moveSpeed > horInpt || horInpt > moveSpeed)
|
||||
{
|
||||
characterAnimator.SetBool("IsRun", true);
|
||||
transform.position += new Vector3(horInpt * moveSpeed,0,0);
|
||||
if (horInpt > 0)
|
||||
{
|
||||
characterSprite.transform.localScale = new Vector3(1, 1, 1);
|
||||
}
|
||||
if (horInpt < 0)
|
||||
{
|
||||
characterSprite.transform.localScale = new Vector3(-1, 1, 1);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
characterAnimator.SetBool("IsRun", false);
|
||||
}
|
||||
if (-0.1f > verInpt || verInpt > 0.1f)
|
||||
{
|
||||
characterAnimator.SetBool("IsRun", true);
|
||||
transform.position += new Vector3(0,verInpt * moveSpeed,0);
|
||||
}
|
||||
|
||||
MoveCamera();
|
||||
}
|
||||
private void MoveCamera()
|
||||
{
|
||||
mainCamera.transform.position = new Vector3(transform.position.x, transform.position.y,-10);
|
||||
}
|
||||
public StatReturn GetStats()
|
||||
{
|
||||
var stats = new StatReturn
|
||||
{
|
||||
Health = health,
|
||||
Damage = damage,
|
||||
MoveSpeed = moveSpeed
|
||||
};
|
||||
return stats;
|
||||
}
|
||||
public void ApplyDamage(float damage)
|
||||
{
|
||||
health -= damage;
|
||||
}
|
||||
public float GetHealth()
|
||||
{
|
||||
return health;
|
||||
}
|
||||
public float GetDamage()
|
||||
{
|
||||
return damage;
|
||||
}
|
||||
public void SetHealth(float newHealth)
|
||||
{
|
||||
health = newHealth;
|
||||
}
|
||||
public void SetDamage(float newDamage)
|
||||
{
|
||||
damage = newDamage;
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 584da5b9caaf58e0da2ae26a4bbe9d02
|
||||
guid: 9ab5d980c53f9d7dc8d828fd5382febe
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2404d8b5a589d3078ac5c4223e0b3ec0
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,80 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 0}
|
||||
m_Name: AbilitiesData
|
||||
m_EditorClassIdentifier: Assembly-CSharp::AbilitiesData
|
||||
ultraviolet:
|
||||
baseDamage: 75
|
||||
enhancedDamage: 150
|
||||
rechargeTime: 1
|
||||
damageSpeed: 2
|
||||
effectPrefab: {fileID: 0}
|
||||
pistols:
|
||||
baseDamage: 50
|
||||
enhancedDamage: 100
|
||||
rechargeTime: 1.5
|
||||
damageSpeed: 1.75
|
||||
effectPrefab: {fileID: 0}
|
||||
boomerang:
|
||||
baseDamage: 25
|
||||
enhancedDamage: 50
|
||||
rechargeTime: 2
|
||||
damageSpeed: 2.5
|
||||
effectPrefab: {fileID: 0}
|
||||
flamethrower:
|
||||
baseDamage: 100
|
||||
enhancedDamage: 200
|
||||
rechargeTime: 1
|
||||
damageSpeed: 2
|
||||
effectPrefab: {fileID: 0}
|
||||
radio:
|
||||
baseDamage: 50
|
||||
enhancedDamage: 75
|
||||
rechargeTime: 1
|
||||
damageSpeed: 2.5
|
||||
effectPrefab: {fileID: 0}
|
||||
robot:
|
||||
baseDamage: 75
|
||||
enhancedDamage: 150
|
||||
rechargeTime: 3
|
||||
damageSpeed: 3
|
||||
effectPrefab: {fileID: 0}
|
||||
shotgun:
|
||||
baseDamage: 100
|
||||
enhancedDamage: 200
|
||||
rechargeTime: 2
|
||||
damageSpeed: 0
|
||||
effectPrefab: {fileID: 0}
|
||||
artillery:
|
||||
baseDamage: 0
|
||||
enhancedDamage: 0
|
||||
rechargeTime: 15
|
||||
damageSpeed: 0
|
||||
effectPrefab: {fileID: 0}
|
||||
veryHotSuit:
|
||||
baseDamage: 0
|
||||
enhancedDamage: 0
|
||||
rechargeTime: 0
|
||||
damageSpeed: 0
|
||||
effectPrefab: {fileID: 0}
|
||||
iceRifle:
|
||||
baseDamage: 10
|
||||
enhancedDamage: 50
|
||||
rechargeTime: 2
|
||||
damageSpeed: 0
|
||||
effectPrefab: {fileID: 0}
|
||||
miniRockets:
|
||||
baseDamage: 50
|
||||
enhancedDamage: 175
|
||||
rechargeTime: 1.5
|
||||
damageSpeed: 0.5
|
||||
effectPrefab: {fileID: 0}
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2f9708f6985662f3d9fd93ddec0ad1a0
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,45 +0,0 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[Serializable]
|
||||
public struct AbilityData
|
||||
{
|
||||
public float baseDamage;
|
||||
public float enhancedDamage;
|
||||
public float rechargeTime;
|
||||
public float damageSpeed;
|
||||
public GameObject effectPrefab;
|
||||
}
|
||||
|
||||
[CreateAssetMenu(fileName = "AbilitiesData", menuName = "Game Data/Abilities")]
|
||||
public class AbilitiesData : ScriptableObject
|
||||
{
|
||||
public AbilityData ultraviolet;
|
||||
public AbilityData pistols;
|
||||
public AbilityData boomerang;
|
||||
public AbilityData flamethrower;
|
||||
public AbilityData radio;
|
||||
public AbilityData robot;
|
||||
public AbilityData shotgun;
|
||||
public AbilityData artillery;
|
||||
public AbilityData veryHotSuit;
|
||||
public AbilityData iceRifle;
|
||||
public AbilityData miniRockets;
|
||||
}
|
||||
/*
|
||||
enum Abilities
|
||||
{
|
||||
Ultraviolet,
|
||||
Pistols,
|
||||
Boomerang,
|
||||
Flamethrower,
|
||||
Radio,
|
||||
Robot,
|
||||
Shotgun,
|
||||
Artillery,
|
||||
VeryHotSuit,
|
||||
IceRifle,
|
||||
MiniRockets
|
||||
} */
|
@ -1,28 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Boomerang : Ability
|
||||
{
|
||||
[SerializeField]
|
||||
private GameObject effect;
|
||||
|
||||
[SerializeField]
|
||||
private float circleSpeed = 1f;
|
||||
[SerializeField]
|
||||
private float forwardSpeed = -1f;
|
||||
[SerializeField] // Assuming negative Z is towards the camera
|
||||
private float circleSize = 0.1f;
|
||||
[SerializeField]
|
||||
private float circleGrowSpeed = 0.01f;
|
||||
|
||||
private void Update()
|
||||
{
|
||||
var xPos = Mathf.Sin(Time.time * circleSpeed) * circleSize;
|
||||
var yPos = Mathf.Cos(Time.time * circleSpeed) * circleSize;
|
||||
//var zPos += forwardSpeed * Time.deltaTime;
|
||||
circleSize += circleGrowSpeed;
|
||||
effect.transform.position = new Vector3(xPos, yPos, 0);
|
||||
}
|
||||
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Pistols : Ability
|
||||
{
|
||||
[SerializeField] private readonly AbilityData abilityData;
|
||||
[SerializeField] private GameObject bullet;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
StartCoroutine(ShotBullet());
|
||||
}
|
||||
|
||||
private IEnumerator ShotBullet()
|
||||
{
|
||||
var sideNumb = 0;
|
||||
var shotVector = new Vector2();
|
||||
while(true)
|
||||
{
|
||||
yield return new WaitForSeconds(.5f);
|
||||
|
||||
var newBullet = Instantiate(bullet);
|
||||
newBullet.SetActive(true);
|
||||
newBullet.transform.position = this.transform.position;
|
||||
|
||||
shotVector = sideNumb switch
|
||||
{
|
||||
0 => new Vector2(0, 1),
|
||||
1 => new Vector2(1, 1),
|
||||
2 => new Vector2(1, 0),
|
||||
3 => new Vector2(1, -1),
|
||||
4 => new Vector2(0, -1),
|
||||
5 => new Vector2(-1, -1),
|
||||
6 => new Vector2(-1, 0),
|
||||
7 => new Vector2(-1, 1),
|
||||
_ => shotVector
|
||||
};
|
||||
|
||||
shotVector = shotVector / 50;
|
||||
newBullet.GetComponent<Rigidbody2D>().AddForce(shotVector);
|
||||
if (sideNumb >= 7)
|
||||
{
|
||||
sideNumb = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
sideNumb++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 48ea894e952344d99609759531dd0e12
|
||||
timeCreated: 1655073292
|
@ -1,26 +0,0 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Ultraviolet : Ability
|
||||
{
|
||||
[SerializeField] private readonly AbilityData abilityData;
|
||||
[SerializeField] private GameObject effect;
|
||||
[Range(0,200)]
|
||||
[SerializeField] private float rotationSpeed;
|
||||
|
||||
|
||||
private void Update()
|
||||
{
|
||||
effect.transform.Rotate(new Vector3(0,0,1) * Time.deltaTime * rotationSpeed);
|
||||
}
|
||||
|
||||
void OnTriggerEnter2D(Collider2D col)
|
||||
{
|
||||
if (col.gameObject.CompareTag("Mob"))
|
||||
{
|
||||
//col.gameObject.GetComponent<Mob>().SendMessage("ApplyDamage", damage);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Character : MonoBehaviour
|
||||
{
|
||||
|
||||
[SerializeField] private CharacterData characterData;
|
||||
private Rigidbody2D rigidBody;
|
||||
[SerializeField] private GameObject characterSprite;
|
||||
private Animator animator;
|
||||
private static readonly int IsRun = Animator.StringToHash("IsRun");
|
||||
|
||||
public void Start()
|
||||
{
|
||||
rigidBody = GetComponent<Rigidbody2D>();
|
||||
animator = characterSprite.GetComponent<Animator>();
|
||||
}
|
||||
|
||||
public void Update()
|
||||
{
|
||||
var horInput = Input.GetAxis("Horizontal");
|
||||
var verInput = Input.GetAxis("Vertical");
|
||||
rigidBody.velocity = new Vector2(horInput , verInput) * characterData.moveSpeedMultiplier;
|
||||
characterSprite.transform.localScale = new Vector3(horInput > 0 ? 1 : -1, 1, 1);
|
||||
animator.SetBool(IsRun, Mathf.Abs(horInput) > 0 || Mathf.Abs(verInput) > 0);
|
||||
}
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 65ab2b639f4ff314a962ad5a94ab058a, type: 3}
|
||||
m_Name: CharacterData
|
||||
m_EditorClassIdentifier:
|
||||
shootableObject: {fileID: 0}
|
||||
staticShootable: {fileID: 0}
|
||||
meleeWeapon: {fileID: 0}
|
||||
moveSpeedMultiplier: 2
|
||||
crouchSpeed: 50
|
||||
crouchColliderHeight: 1
|
||||
normalColliderHeight: 2
|
||||
rotationSpeed: 60
|
||||
crouchRotationSpeed: 30
|
||||
jumpForce: 10
|
||||
diveForce: 30
|
||||
bulletInitialSpeed: 10
|
||||
diveCooldownTimer: 0.25
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4da5c8fa0351efd6c8284885156d13c6
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,104 +1,248 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEditor.Animations;
|
||||
/*
|
||||
* Copyright (c) 2019 Razeware LLC
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* Notwithstanding the foregoing, you may not use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, create a derivative work, and/or sell copies of the
|
||||
* Software in any work that is designed, intended, or marketed for pedagogical or
|
||||
* instructional purposes related to programming, coding, application development,
|
||||
* or information technology. Permission for such use, copying, modification,
|
||||
* merger, publication, distribution, sublicensing, creation of derivative works,
|
||||
* or sale is expressly withheld.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class Character_obsolete : MonoBehaviour
|
||||
namespace RayWenderlich.Unity.StatePatternInUnity
|
||||
{
|
||||
//[SerializeField] private Gameplay _gameplay;
|
||||
[SerializeField] private float health;
|
||||
[SerializeField] private float damage;
|
||||
[SerializeField] private float moveSpeed;
|
||||
[SerializeField] private GameObject characterSprite;
|
||||
[SerializeField] private Animator characterAnimator;
|
||||
[SerializeField] private GameObject mainCamera;
|
||||
|
||||
[SerializeField] private GameObject iconFull;
|
||||
[SerializeField] private GameObject iconHalf;
|
||||
[SerializeField] private GameObject iconDeath;
|
||||
|
||||
|
||||
[SerializeField] private GameObject HealthBar;
|
||||
|
||||
private float horInput;
|
||||
private float verInput;
|
||||
|
||||
public struct StatReturn
|
||||
[RequireComponent(typeof(BoxCollider2D))]
|
||||
public class Character : MonoBehaviour
|
||||
{
|
||||
public float Health;
|
||||
public float Damage;
|
||||
public float MoveSpeed;
|
||||
#region Variables
|
||||
|
||||
public StateMachine movementSM;
|
||||
public StandingState standing;
|
||||
public DuckingState ducking;
|
||||
public JumpingState jumping;
|
||||
|
||||
#pragma warning disable 0649
|
||||
[SerializeField]
|
||||
private Transform handTransform;
|
||||
[SerializeField]
|
||||
private Transform sheathTransform;
|
||||
[SerializeField]
|
||||
private Transform shootTransform;
|
||||
[SerializeField]
|
||||
private CharacterData data;
|
||||
[SerializeField]
|
||||
private LayerMask whatIsGround;
|
||||
[SerializeField]
|
||||
private Collider hitBox;
|
||||
[SerializeField]
|
||||
private Animator anim;
|
||||
[SerializeField]
|
||||
private ParticleSystem shockWave;
|
||||
#pragma warning restore 0649
|
||||
[SerializeField]
|
||||
private float meleeRestThreshold = 10f;
|
||||
[SerializeField]
|
||||
private float diveThreshold = 1f;
|
||||
[SerializeField]
|
||||
private float collisionOverlapRadius = 0.1f;
|
||||
|
||||
private GameObject currentWeapon;
|
||||
private Quaternion currentRotation;
|
||||
private int horizonalMoveParam = Animator.StringToHash("H_Speed");
|
||||
private int verticalMoveParam = Animator.StringToHash("V_Speed");
|
||||
private int shootParam = Animator.StringToHash("Shoot");
|
||||
private int hardLanding = Animator.StringToHash("HardLand");
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
|
||||
public float NormalColliderHeight => data.normalColliderHeight;
|
||||
public float CrouchColliderHeight => data.crouchColliderHeight;
|
||||
public float DiveForce => data.diveForce;
|
||||
public float JumpForce => data.jumpForce;
|
||||
public float MovementSpeed => data.movementSpeed;
|
||||
public float CrouchSpeed => data.crouchSpeed;
|
||||
public float RotationSpeed => data.rotationSpeed;
|
||||
public float CrouchRotationSpeed => data.crouchRotationSpeed;
|
||||
public GameObject MeleeWeapon => data.meleeWeapon;
|
||||
public GameObject ShootableWeapon => data.staticShootable;
|
||||
public float DiveCooldownTimer => data.diveCooldownTimer;
|
||||
public float CollisionOverlapRadius => collisionOverlapRadius;
|
||||
public float DiveThreshold => diveThreshold;
|
||||
public float MeleeRestThreshold => meleeRestThreshold;
|
||||
public int isMelee => Animator.StringToHash("IsMelee");
|
||||
public int crouchParam => Animator.StringToHash("Crouch");
|
||||
|
||||
public float ColliderSize
|
||||
{
|
||||
get => GetComponent<CapsuleCollider>().height;
|
||||
|
||||
set
|
||||
{
|
||||
GetComponent<CapsuleCollider>().height = value;
|
||||
Vector3 center = GetComponent<CapsuleCollider>().center;
|
||||
center.y = value / 2f;
|
||||
GetComponent<CapsuleCollider>().center = center;
|
||||
}
|
||||
private void Start()
|
||||
{
|
||||
characterAnimator = characterSprite.GetComponent<Animator>();
|
||||
}
|
||||
// Update is called once per frame
|
||||
private void Update()
|
||||
{
|
||||
|
||||
horInput = Input.GetAxis("Horizontal");
|
||||
verInput = Input.GetAxis("Vertical");
|
||||
if (moveSpeed > horInput || horInput > moveSpeed)
|
||||
#endregion
|
||||
|
||||
#region Methods
|
||||
|
||||
public void Move(float speed, float rotationSpeed)
|
||||
{/*
|
||||
Vector3 targetVelocity = speed * transform.forward * Time.deltaTime;
|
||||
targetVelocity.y = GetComponent<Rigidbody>().velocity.y;
|
||||
GetComponent<Rigidbody>().velocity = targetVelocity;
|
||||
|
||||
GetComponent<Rigidbody>().angularVelocity = rotationSpeed * Vector3.up * Time.deltaTime;
|
||||
|
||||
if (targetVelocity.magnitude > 0.01f || GetComponent<Rigidbody>().angularVelocity.magnitude > 0.01f)
|
||||
{
|
||||
characterAnimator.SetBool("IsRun", true);
|
||||
transform.position += new Vector3(horInput * moveSpeed,0,0);
|
||||
if (horInput > 0)
|
||||
{
|
||||
characterSprite.transform.localScale = new Vector3(1, 1, 1);
|
||||
SoundManager.Instance.PlayFootSteps(Mathf.Abs(speed));
|
||||
}
|
||||
if (horInput < 0)
|
||||
{
|
||||
characterSprite.transform.localScale = new Vector3(-1, 1, 1);
|
||||
|
||||
anim.SetFloat(horizonalMoveParam, GetComponent<Rigidbody>().angularVelocity.y);
|
||||
anim.SetFloat(verticalMoveParam, speed * Time.deltaTime);*/
|
||||
print(Input.GetAxis("Horizontal"));
|
||||
print(Input.GetAxis("Vertical"));
|
||||
}
|
||||
|
||||
public void ResetMoveParams()
|
||||
{
|
||||
GetComponent<Rigidbody>().angularVelocity = Vector3.zero;
|
||||
anim.SetFloat(horizonalMoveParam, 0f);
|
||||
anim.SetFloat(verticalMoveParam, 0f);
|
||||
}
|
||||
|
||||
public void ApplyImpulse(Vector3 force)
|
||||
{
|
||||
GetComponent<Rigidbody>().AddForce(force, ForceMode.Impulse);
|
||||
}
|
||||
|
||||
public void SetAnimationBool(int param, bool value)
|
||||
{
|
||||
anim.SetBool(param, value);
|
||||
}
|
||||
|
||||
public void TriggerAnimation(int param)
|
||||
{
|
||||
anim.SetTrigger(param);
|
||||
}
|
||||
|
||||
public void Shoot()
|
||||
{
|
||||
TriggerAnimation(shootParam);
|
||||
GameObject shootable = Instantiate(data.shootableObject, shootTransform.position, shootTransform.rotation);
|
||||
shootable.GetComponent<Rigidbody>().velocity = shootable.transform.forward * data.bulletInitialSpeed;
|
||||
SoundManager.Instance.PlaySound(SoundManager.Instance.shoot, true);
|
||||
}
|
||||
|
||||
public bool CheckCollisionOverlap(Vector3 point)
|
||||
{
|
||||
return Physics.OverlapSphere(point, CollisionOverlapRadius, whatIsGround).Length > 0;
|
||||
}
|
||||
|
||||
public void Equip(GameObject weapon = null)
|
||||
{
|
||||
if (weapon != null)
|
||||
{
|
||||
currentWeapon = Instantiate(weapon, handTransform.position, handTransform.rotation, handTransform);
|
||||
}
|
||||
else
|
||||
{
|
||||
characterAnimator.SetBool("IsRun", false);
|
||||
ParentCurrentWeapon(handTransform);
|
||||
}
|
||||
if (-0.1f > verInput || verInput > 0.1f)
|
||||
{
|
||||
characterAnimator.SetBool("IsRun", true);
|
||||
transform.position += new Vector3(0,verInput * moveSpeed,0);
|
||||
}
|
||||
|
||||
MoveCamera();
|
||||
}
|
||||
private void MoveCamera()
|
||||
public void DiveBomb()
|
||||
{
|
||||
mainCamera.transform.position = new Vector3(transform.position.x, transform.position.y,-10);
|
||||
TriggerAnimation(hardLanding);
|
||||
SoundManager.Instance.PlaySound(SoundManager.Instance.hardLanding);
|
||||
shockWave.Play();
|
||||
}
|
||||
public StatReturn GetStats()
|
||||
|
||||
public void SheathWeapon()
|
||||
{
|
||||
var stats = new StatReturn
|
||||
{
|
||||
Health = health,
|
||||
Damage = damage,
|
||||
MoveSpeed = moveSpeed
|
||||
};
|
||||
return stats;
|
||||
ParentCurrentWeapon(sheathTransform);
|
||||
}
|
||||
public void ApplyDamage(float damage)
|
||||
|
||||
public void Unequip()
|
||||
{
|
||||
health -= damage;
|
||||
Destroy(currentWeapon);
|
||||
}
|
||||
/*
|
||||
public float GetHealth()
|
||||
|
||||
public void ActivateHitBox()
|
||||
{
|
||||
return health;
|
||||
hitBox.enabled = true;
|
||||
}
|
||||
public float GetDamage()
|
||||
|
||||
public void DeactivateHitBox()
|
||||
{
|
||||
return damage;
|
||||
hitBox.enabled = false;
|
||||
}
|
||||
public void SetHealth(float newHealth)
|
||||
|
||||
private void ParentCurrentWeapon(Transform parent)
|
||||
{
|
||||
health = newHealth;
|
||||
}
|
||||
public void SetDamage(float newDamage)
|
||||
if (currentWeapon.transform.parent == parent)
|
||||
{
|
||||
damage = newDamage;
|
||||
}*/
|
||||
return;
|
||||
}
|
||||
|
||||
currentWeapon.transform.SetParent(parent);
|
||||
currentWeapon.transform.localPosition = Vector3.zero;
|
||||
currentWeapon.transform.localRotation = Quaternion.identity;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region MonoBehaviour Callbacks
|
||||
|
||||
private void Start()
|
||||
{
|
||||
movementSM = new StateMachine();
|
||||
|
||||
standing = new StandingState(this, movementSM);
|
||||
ducking = new DuckingState(this, movementSM);
|
||||
jumping = new JumpingState(this, movementSM);
|
||||
|
||||
movementSM.Initialize(standing);
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
movementSM.CurrentState.HandleInput();
|
||||
|
||||
movementSM.CurrentState.LogicUpdate();
|
||||
}
|
||||
|
||||
private void FixedUpdate()
|
||||
{
|
||||
movementSM.CurrentState.PhysicsUpdate();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9ab5d980c53f9d7dc8d828fd5382febe
|
||||
guid: 1806a6cdb08623a428a4c40597e024b6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
@ -25,12 +25,12 @@ void Start()
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
//var characterStats = character.GetStats();
|
||||
var characterStats = character.GetStats();
|
||||
horInpText.text = "horizontal input = " + Input.GetAxis("Horizontal");
|
||||
verInpText.text = "vertical input = " + Input.GetAxis("Vertical");
|
||||
|
||||
//characterHealthText.text = "health = " + characterStats.Health;
|
||||
//characterDamageText.text = "damage = " + characterStats.Damage;
|
||||
characterHealthText.text = "health = " + characterStats.Health;
|
||||
characterDamageText.text = "damage = " + characterStats.Damage;
|
||||
|
||||
timerText.text = "timer = " + gameplay.GetTimer();
|
||||
|
||||
|
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9e81f19d421a03bcb8c6cb48e91d8efd
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,22 +0,0 @@
|
||||
using UnityEngine;
|
||||
using static BalanceScriptableObject.SpawnManagerScriptableObject;
|
||||
|
||||
namespace Enemies
|
||||
{
|
||||
public abstract class BaseEnemy : MonoBehaviour
|
||||
{
|
||||
public abstract void SetEnemyData(EnemyRow value);
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class Enemy : BaseEnemy
|
||||
{
|
||||
private EnemyRow enemyData;
|
||||
|
||||
public override void SetEnemyData(EnemyRow value)
|
||||
{
|
||||
enemyData = value;
|
||||
}
|
||||
}
|
||||
}
|
@ -31,7 +31,7 @@ void Start()
|
||||
_curGameState = GameStates.Game;
|
||||
_time = timeOnStart;
|
||||
_characterCharacterClass = character.GetComponent<Character>();
|
||||
//StartCoroutine(AutoBalance());
|
||||
StartCoroutine(AutoBalance());
|
||||
characterNegativeXPToNewLVL = 2;
|
||||
characterNegativeXPToNewLVLStatic = 2;
|
||||
}
|
||||
@ -56,7 +56,7 @@ private IEnumerator AutoBalance()
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
/*if (_time < 0 || _characterCharacterClass.GetHealth() <= 0)
|
||||
if (_time < 0 || _characterCharacterClass.GetHealth() <= 0)
|
||||
{
|
||||
_curGameState = GameStates.GameOver;
|
||||
}
|
||||
@ -70,7 +70,7 @@ void Update()
|
||||
overMind.SetActive(false);
|
||||
|
||||
DeathScreen.SetActive(true);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
public float GetTimer()
|
||||
|
@ -29,7 +29,6 @@
|
||||
*/
|
||||
|
||||
using UnityEngine;
|
||||
using UnityEngine.Serialization;
|
||||
|
||||
[CreateAssetMenu(fileName = "CharacterData", menuName = "Game Data/Character Data")]
|
||||
public class CharacterData : ScriptableObject
|
||||
@ -37,8 +36,7 @@ public class CharacterData : ScriptableObject
|
||||
public GameObject shootableObject;
|
||||
public GameObject staticShootable;
|
||||
public GameObject meleeWeapon;
|
||||
[Range(1f,5f)]
|
||||
public float moveSpeedMultiplier = 1f;
|
||||
public float movementSpeed = 150f;
|
||||
public float crouchSpeed = 50f;
|
||||
public float crouchColliderHeight = 1f;
|
||||
public float normalColliderHeight = 2f;
|
@ -62,7 +62,7 @@ private void Awake()
|
||||
}
|
||||
}
|
||||
|
||||
/*public void Display(State enteredState, Alignment alignment)
|
||||
public void Display(State enteredState, Alignment alignment)
|
||||
{
|
||||
var name = enteredState.ToString();
|
||||
name = name.Remove(name.IndexOf(textToTrim), textToTrim.Length);
|
||||
@ -76,6 +76,6 @@ private void Awake()
|
||||
{
|
||||
rightText.text = name;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ public class OverMind : MonoBehaviour
|
||||
[SerializeField] private Gameplay gamePlay;
|
||||
|
||||
// [SerializeField] private GameObject mobPull;
|
||||
|
||||
[SerializeField] private GameObject activeMobs;
|
||||
private float balanceScale = 1f;
|
||||
|
||||
private List<GameObject> _pullEnemies;
|
||||
@ -41,9 +41,6 @@ public struct MobParameters
|
||||
}
|
||||
|
||||
[SerializeField] private List<MobParameters> mobs;
|
||||
|
||||
private GameObject mobsObject;
|
||||
private GameObject activeMobs;
|
||||
// [SerializeField] private MobParameters standartMob;
|
||||
// [SerializeField] private MobParameters lightMob;
|
||||
// [SerializeField] private MobParameters heavyMob;
|
||||
@ -55,15 +52,10 @@ void Start()
|
||||
print(GenerateSpawnRegions().TopRegion);
|
||||
generatedSpawnRegions = GenerateSpawnRegions();
|
||||
|
||||
mobsObject = Instantiate(new GameObject());
|
||||
mobsObject.name = "Mobs";
|
||||
mobsObject.transform.parent = transform;
|
||||
|
||||
//activeMobs = new GameObject
|
||||
}
|
||||
|
||||
|
||||
private static SpawnRegions GenerateSpawnRegions()
|
||||
public SpawnRegions GenerateSpawnRegions()
|
||||
{
|
||||
const float spawnBorder = 2f;
|
||||
var stageDimensions = Camera.main.ScreenToWorldPoint(new Vector3(Screen.width, Screen.height,0));
|
||||
@ -130,7 +122,7 @@ private Vector4 PickRandomSpawnBorder()
|
||||
// }
|
||||
// }
|
||||
|
||||
private Vector3 GenerateRandomSpawnMobPoint()
|
||||
Vector3 GenerateRandomSpawnMobPoint()
|
||||
{
|
||||
var _randomSpawnRegion = PickRandomSpawnBorder();
|
||||
var spawnPoint = new Vector3(
|
||||
|
74
ldjam50/Assets/Scripts/State.cs
Normal file
74
ldjam50/Assets/Scripts/State.cs
Normal file
@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright (c) 2019 Razeware LLC
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* Notwithstanding the foregoing, you may not use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, create a derivative work, and/or sell copies of the
|
||||
* Software in any work that is designed, intended, or marketed for pedagogical or
|
||||
* instructional purposes related to programming, coding, application development,
|
||||
* or information technology. Permission for such use, copying, modification,
|
||||
* merger, publication, distribution, sublicensing, creation of derivative works,
|
||||
* or sale is expressly withheld.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace RayWenderlich.Unity.StatePatternInUnity
|
||||
{
|
||||
public abstract class State
|
||||
{
|
||||
protected Character character;
|
||||
protected StateMachine stateMachine;
|
||||
|
||||
protected State(Character character, StateMachine stateMachine)
|
||||
{
|
||||
this.character = character;
|
||||
this.stateMachine = stateMachine;
|
||||
}
|
||||
|
||||
public virtual void Enter()
|
||||
{
|
||||
DisplayOnUI(UIManager.Alignment.Left);
|
||||
}
|
||||
|
||||
public virtual void HandleInput()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void LogicUpdate()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void PhysicsUpdate()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void Exit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void DisplayOnUI(UIManager.Alignment alignment)
|
||||
{
|
||||
UIManager.Instance.Display(this, alignment);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 41acf791a24f6194cb0018b179a37351
|
||||
guid: 743956073ee5c1f4a964111017dcc3dc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
51
ldjam50/Assets/Scripts/StateMachine.cs
Normal file
51
ldjam50/Assets/Scripts/StateMachine.cs
Normal file
@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2019 Razeware LLC
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* Notwithstanding the foregoing, you may not use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, create a derivative work, and/or sell copies of the
|
||||
* Software in any work that is designed, intended, or marketed for pedagogical or
|
||||
* instructional purposes related to programming, coding, application development,
|
||||
* or information technology. Permission for such use, copying, modification,
|
||||
* merger, publication, distribution, sublicensing, creation of derivative works,
|
||||
* or sale is expressly withheld.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace RayWenderlich.Unity.StatePatternInUnity
|
||||
{
|
||||
public class StateMachine
|
||||
{
|
||||
public State CurrentState { get; private set; }
|
||||
|
||||
public void Initialize(State startingState)
|
||||
{
|
||||
CurrentState = startingState;
|
||||
startingState.Enter();
|
||||
}
|
||||
|
||||
public void ChangeState(State newState)
|
||||
{
|
||||
CurrentState.Exit();
|
||||
|
||||
CurrentState = newState;
|
||||
newState.Enter();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ad610f07ccdc27cd5952628b5fee56eb
|
||||
guid: 33f81286f0d29bc49985b946e8e4fccd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c2ad23c35a8dd4d81bdc41de9990c4cc
|
||||
guid: d46e0d257615acb4a8de2b2dd1764662
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
83
ldjam50/Assets/Scripts/States/DuckingState.cs
Normal file
83
ldjam50/Assets/Scripts/States/DuckingState.cs
Normal file
@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright (c) 2019 Razeware LLC
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* Notwithstanding the foregoing, you may not use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, create a derivative work, and/or sell copies of the
|
||||
* Software in any work that is designed, intended, or marketed for pedagogical or
|
||||
* instructional purposes related to programming, coding, application development,
|
||||
* or information technology. Permission for such use, copying, modification,
|
||||
* merger, publication, distribution, sublicensing, creation of derivative works,
|
||||
* or sale is expressly withheld.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace RayWenderlich.Unity.StatePatternInUnity
|
||||
{
|
||||
public class DuckingState : GroundedState
|
||||
{
|
||||
private bool belowCeiling;
|
||||
private bool crouchHeld;
|
||||
|
||||
public DuckingState(Character character, StateMachine stateMachine) : base(character, stateMachine)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Enter()
|
||||
{
|
||||
base.Enter();
|
||||
character.SetAnimationBool(character.crouchParam, true);
|
||||
speed = character.CrouchSpeed;
|
||||
rotationSpeed = character.CrouchRotationSpeed;
|
||||
character.ColliderSize = character.CrouchColliderHeight;
|
||||
belowCeiling = false;
|
||||
}
|
||||
|
||||
public override void Exit()
|
||||
{
|
||||
base.Exit();
|
||||
character.SetAnimationBool(character.crouchParam, false);
|
||||
character.ColliderSize = character.NormalColliderHeight;
|
||||
}
|
||||
|
||||
public override void HandleInput()
|
||||
{
|
||||
base.HandleInput();
|
||||
crouchHeld = Input.GetButton("Fire3");
|
||||
}
|
||||
|
||||
public override void LogicUpdate()
|
||||
{
|
||||
base.LogicUpdate();
|
||||
if (!(crouchHeld || belowCeiling))
|
||||
{
|
||||
stateMachine.ChangeState(character.standing);
|
||||
}
|
||||
}
|
||||
|
||||
public override void PhysicsUpdate()
|
||||
{
|
||||
base.PhysicsUpdate();
|
||||
belowCeiling = character.CheckCollisionOverlap(character.transform.position +
|
||||
Vector3.up * character.NormalColliderHeight);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 43de2f99e8d8aee00b99f37effd52dbd
|
||||
guid: 3386c88cab45c734ea00751e5eb343e1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
72
ldjam50/Assets/Scripts/States/GroundedState.cs
Normal file
72
ldjam50/Assets/Scripts/States/GroundedState.cs
Normal file
@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright (c) 2019 Razeware LLC
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* Notwithstanding the foregoing, you may not use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, create a derivative work, and/or sell copies of the
|
||||
* Software in any work that is designed, intended, or marketed for pedagogical or
|
||||
* instructional purposes related to programming, coding, application development,
|
||||
* or information technology. Permission for such use, copying, modification,
|
||||
* merger, publication, distribution, sublicensing, creation of derivative works,
|
||||
* or sale is expressly withheld.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace RayWenderlich.Unity.StatePatternInUnity
|
||||
{
|
||||
public class GroundedState : State
|
||||
{
|
||||
protected float speed;
|
||||
protected float rotationSpeed;
|
||||
|
||||
private float horizontalInput;
|
||||
private float verticalInput;
|
||||
|
||||
public GroundedState(Character character, StateMachine stateMachine) : base(character, stateMachine)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Enter()
|
||||
{
|
||||
base.Enter();
|
||||
horizontalInput = verticalInput = 0.0f;
|
||||
}
|
||||
|
||||
public override void Exit()
|
||||
{
|
||||
base.Exit();
|
||||
character.ResetMoveParams();
|
||||
}
|
||||
|
||||
public override void HandleInput()
|
||||
{
|
||||
base.HandleInput();
|
||||
verticalInput = Input.GetAxis("Vertical");
|
||||
horizontalInput = Input.GetAxis("Horizontal");
|
||||
}
|
||||
|
||||
public override void PhysicsUpdate()
|
||||
{
|
||||
base.PhysicsUpdate();
|
||||
character.Move(verticalInput * speed, horizontalInput * rotationSpeed);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5efd4ab8f726d4a9591d78c8d23c9c97
|
||||
guid: b2aff903c5b48cc4ab9582ecc9e369c3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
77
ldjam50/Assets/Scripts/States/JumpingState.cs
Normal file
77
ldjam50/Assets/Scripts/States/JumpingState.cs
Normal file
@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright (c) 2019 Razeware LLC
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* Notwithstanding the foregoing, you may not use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, create a derivative work, and/or sell copies of the
|
||||
* Software in any work that is designed, intended, or marketed for pedagogical or
|
||||
* instructional purposes related to programming, coding, application development,
|
||||
* or information technology. Permission for such use, copying, modification,
|
||||
* merger, publication, distribution, sublicensing, creation of derivative works,
|
||||
* or sale is expressly withheld.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace RayWenderlich.Unity.StatePatternInUnity
|
||||
{
|
||||
public class JumpingState : State
|
||||
{
|
||||
private bool grounded;
|
||||
private int jumpParam = Animator.StringToHash("Jump");
|
||||
private int landParam = Animator.StringToHash("Land");
|
||||
|
||||
public JumpingState(Character character, StateMachine stateMachine) : base(character, stateMachine)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Enter()
|
||||
{
|
||||
base.Enter();
|
||||
SoundManager.Instance.PlaySound(SoundManager.Instance.jumpSounds);
|
||||
grounded = false;
|
||||
Jump();
|
||||
}
|
||||
|
||||
public override void LogicUpdate()
|
||||
{
|
||||
base.LogicUpdate();
|
||||
if (grounded)
|
||||
{
|
||||
character.TriggerAnimation(landParam);
|
||||
SoundManager.Instance.PlaySound(SoundManager.Instance.landing);
|
||||
stateMachine.ChangeState(character.standing);
|
||||
}
|
||||
}
|
||||
|
||||
public override void PhysicsUpdate()
|
||||
{
|
||||
base.PhysicsUpdate();
|
||||
grounded = character.CheckCollisionOverlap(character.transform.position);
|
||||
}
|
||||
|
||||
private void Jump()
|
||||
{
|
||||
character.transform.Translate(Vector3.up * (character.CollisionOverlapRadius + 0.1f));
|
||||
character.ApplyImpulse(Vector3.up * character.JumpForce);
|
||||
character.TriggerAnimation(jumpParam);
|
||||
}
|
||||
}
|
||||
}
|
11
ldjam50/Assets/Scripts/States/JumpingState.cs.meta
Normal file
11
ldjam50/Assets/Scripts/States/JumpingState.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6656e8a8e13da214da9fccdf8220a037
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
73
ldjam50/Assets/Scripts/States/StandingState.cs
Normal file
73
ldjam50/Assets/Scripts/States/StandingState.cs
Normal file
@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright (c) 2019 Razeware LLC
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* Notwithstanding the foregoing, you may not use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, create a derivative work, and/or sell copies of the
|
||||
* Software in any work that is designed, intended, or marketed for pedagogical or
|
||||
* instructional purposes related to programming, coding, application development,
|
||||
* or information technology. Permission for such use, copying, modification,
|
||||
* merger, publication, distribution, sublicensing, creation of derivative works,
|
||||
* or sale is expressly withheld.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace RayWenderlich.Unity.StatePatternInUnity
|
||||
{
|
||||
public class StandingState : GroundedState
|
||||
{
|
||||
private bool jump;
|
||||
private bool crouch;
|
||||
|
||||
public StandingState(Character character, StateMachine stateMachine) : base(character, stateMachine)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Enter()
|
||||
{
|
||||
base.Enter();
|
||||
speed = character.MovementSpeed;
|
||||
rotationSpeed = character.RotationSpeed;
|
||||
crouch = false;
|
||||
jump = false;
|
||||
}
|
||||
|
||||
public override void HandleInput()
|
||||
{
|
||||
base.HandleInput();
|
||||
crouch = Input.GetButtonDown("Fire3");
|
||||
jump = Input.GetButtonDown("Jump");
|
||||
}
|
||||
|
||||
public override void LogicUpdate()
|
||||
{
|
||||
base.LogicUpdate();
|
||||
if (crouch)
|
||||
{
|
||||
stateMachine.ChangeState(character.ducking);
|
||||
}
|
||||
else if (jump)
|
||||
{
|
||||
stateMachine.ChangeState(character.jumping);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
11
ldjam50/Assets/Scripts/States/StandingState.cs.meta
Normal file
11
ldjam50/Assets/Scripts/States/StandingState.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9289964b69be1d94b9e7a72bc9cf4a8b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -42,7 +42,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -245,13 +244,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
BossSLime-Sheet_0: 2244105368771335858
|
||||
BossSLime-Sheet_1: -6178049899826766673
|
||||
BossSLime-Sheet_4: 322348040323362661
|
||||
BossSLime-Sheet_5: -7999082401274269067
|
||||
BossSLime-Sheet_3: -2960172521263150815
|
||||
BossSLime-Sheet_2: 2780171311199269278
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -48,7 +48,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -293,15 +292,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
BossShroolder-Sheet_6: -1046419000732479770
|
||||
BossShroolder-Sheet_2: -8331126229531950116
|
||||
BossShroolder-Sheet_0: 2961329756998060182
|
||||
BossShroolder-Sheet_5: -578039315847237803
|
||||
BossShroolder-Sheet_1: -6282326837379962671
|
||||
BossShroolder-Sheet_7: 3440945694892755173
|
||||
BossShroolder-Sheet_3: 4919586636285625377
|
||||
BossShroolder-Sheet_4: 4886104921339420682
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -48,7 +48,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -293,15 +292,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
BossShruner-Sheet_4: 3540418157204534381
|
||||
BossShruner-Sheet_2: -1931385951837208587
|
||||
BossShruner-Sheet_7: 5798827823292422518
|
||||
BossShruner-Sheet_1: 5456488274361416681
|
||||
BossShruner-Sheet_0: -8129587171578952369
|
||||
BossShruner-Sheet_3: 8226744794059525854
|
||||
BossShruner-Sheet_6: 781807465550901527
|
||||
BossShruner-Sheet_5: -8448095662877769638
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -48,7 +48,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -293,15 +292,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
BossShroom1-Sheet_3: -6736534473010391469
|
||||
BossShroom1-Sheet_6: 4299732811064663078
|
||||
BossShroom1-Sheet_5: -3582962525681649468
|
||||
BossShroom1-Sheet_2: 3645689210918985698
|
||||
BossShroom1-Sheet_0: 6843756305149519188
|
||||
BossShroom1-Sheet_1: 2300099083444590717
|
||||
BossShroom1-Sheet_7: 421302558740379040
|
||||
BossShroom1-Sheet_4: -8117332548661113499
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -42,7 +42,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -245,13 +244,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
HeroIdle-Sheet_5: -5332755284735770466
|
||||
HeroIdle-Sheet_3: -462364649685249861
|
||||
HeroIdle-Sheet_0: -1807468758588214948
|
||||
HeroIdle-Sheet_1: -5636805903851064224
|
||||
HeroIdle-Sheet_4: -8216647635674845090
|
||||
HeroIdle-Sheet_2: 346304155453734737
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -48,7 +48,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -293,15 +292,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
HeroRun-Sheet_6: 2107433104725103169
|
||||
HeroRun-Sheet_0: -3908570954395783668
|
||||
HeroRun-Sheet_5: 1144915135187328517
|
||||
HeroRun-Sheet_7: -7056562468747527946
|
||||
HeroRun-Sheet_2: 3935099282280036558
|
||||
HeroRun-Sheet_4: 7639092083384628833
|
||||
HeroRun-Sheet_1: -8409440076043084856
|
||||
HeroRun-Sheet_3: 5762779979397876585
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -30,7 +30,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -149,9 +148,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
BlueLine-Sheet_1: -7831493266679632330
|
||||
BlueLine-Sheet_0: 773008359681470704
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -36,7 +36,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -197,11 +196,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Bumerang-Sheet_3: -770679914804863826
|
||||
Bumerang-Sheet_1: -4709584402529465430
|
||||
Bumerang-Sheet_2: -3016177546571357208
|
||||
Bumerang-Sheet_0: -7223500524570698268
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -48,7 +48,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -293,15 +292,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Expl32_5: 7781227294636230676
|
||||
Expl32_3: 5140774079673320405
|
||||
Expl32_0: 4455830272222587326
|
||||
Expl32_2: -5608497299007999723
|
||||
Expl32_4: -7448463022687376513
|
||||
Expl32_7: 5139373333517102986
|
||||
Expl32_1: 8855754954285246910
|
||||
Expl32_6: -5688838636644343198
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -48,7 +48,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -293,15 +292,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Expl32Blue-Green_4: -3657303100061804433
|
||||
Expl32Blue-Green_0: -1828542687537101492
|
||||
Expl32Blue-Green_3: 4492970028260115028
|
||||
Expl32Blue-Green_2: 6198051369063775420
|
||||
Expl32Blue-Green_7: -3391433632283721658
|
||||
Expl32Blue-Green_6: -4724533210505812769
|
||||
Expl32Blue-Green_5: -3651203259675722828
|
||||
Expl32Blue-Green_1: 897252288475420653
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -36,7 +36,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -197,11 +196,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Fire-Sheet_3: -7779725336386670013
|
||||
Fire-Sheet_0: -2969337942446801578
|
||||
Fire-Sheet_2: -4279940365266761354
|
||||
Fire-Sheet_1: 7930114959436986624
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -45,7 +45,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -269,14 +268,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Radio-Sheet_2: -1636381221140084518
|
||||
Radio-Sheet_1: 6179755577648408956
|
||||
Radio-Sheet_5: 4342125769110576363
|
||||
Radio-Sheet_4: 7544366249058677601
|
||||
Radio-Sheet_6: 6283966628476373674
|
||||
Radio-Sheet_0: 4993684613595874357
|
||||
Radio-Sheet_3: 3874152439533711107
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -33,7 +33,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -173,10 +172,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Robot-Sheet_0: 3727881820157045684
|
||||
Robot-Sheet_2: 6506387414918134206
|
||||
Robot-Sheet_1: 2021580226257737229
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -30,7 +30,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -105,8 +104,8 @@ TextureImporter:
|
||||
y: 0
|
||||
width: 16
|
||||
height: 16
|
||||
alignment: 9
|
||||
pivot: {x: 0, y: 0.5}
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@ -127,7 +126,7 @@ TextureImporter:
|
||||
width: 16
|
||||
height: 16
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@ -149,9 +148,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
UltroPurple-Sheet_1: 4889781329962952301
|
||||
UltroPurple-Sheet_0: -1579431903302429440
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -42,7 +42,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -245,13 +244,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Slime-Sheet_5: -1814283235909507114
|
||||
Slime-Sheet_2: 5765889574378607175
|
||||
Slime-Sheet_0: 7970909259963184619
|
||||
Slime-Sheet_1: 364558614396161899
|
||||
Slime-Sheet_3: 1934026264422326969
|
||||
Slime-Sheet_4: -3448268118887821929
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -48,7 +48,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -293,15 +292,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Shroolder-Sheet_6: 387202860562517651
|
||||
Shroolder-Sheet_0: -9061194621918183147
|
||||
Shroolder-Sheet_3: -8965115719652653258
|
||||
Shroolder-Sheet_4: -6326049577497598118
|
||||
Shroolder-Sheet_7: 6421591052122697844
|
||||
Shroolder-Sheet_5: 3005918915689391706
|
||||
Shroolder-Sheet_1: -7917446092818507805
|
||||
Shroolder-Sheet_2: 7672810132028723148
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -42,7 +42,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -245,13 +244,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Shruner-Sheet_5: 6197956051779204529
|
||||
Shruner-Sheet_4: 8968313501289990785
|
||||
Shruner-Sheet_1: -5019363646253241570
|
||||
Shruner-Sheet_2: 1888233459931951096
|
||||
Shruner-Sheet_0: 8652945987331315820
|
||||
Shruner-Sheet_3: 259850155355359992
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -42,7 +42,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -245,13 +244,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Shroom1-Sheet_0: -877373929167104360
|
||||
Shroom1-Sheet_5: -3179430747910369541
|
||||
Shroom1-Sheet_4: -6224623841249604361
|
||||
Shroom1-Sheet_2: 7165994529351631354
|
||||
Shroom1-Sheet_3: -4515571208292737610
|
||||
Shroom1-Sheet_1: -9048673401305063601
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -51,7 +51,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -149,8 +148,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Corner_0: 1552646742204772202
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -51,7 +51,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -317,16 +316,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Mgla_4: 8641239189475303839
|
||||
Mgla_5: 250901082864257183
|
||||
Mgla_2: -1340407427898237669
|
||||
Mgla_7: -8192776219834458279
|
||||
Mgla_8: 3393648004789589595
|
||||
Mgla_1: -7621877171516971241
|
||||
Mgla_6: 1265844999470304881
|
||||
Mgla_3: 8650689174155853206
|
||||
Mgla_0: 3749714225233292124
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -108,7 +108,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -773,35 +772,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
TileSet_3: 3637694436591301765
|
||||
TileSet_5: 658610804543150169
|
||||
TileSet_18: -5142650238756481487
|
||||
TileSet_14: -92138599614758986
|
||||
TileSet_12: -3293226114871820431
|
||||
TileSet_1: -8518063296010493290
|
||||
TileSet_22: -3732473049520515647
|
||||
TileSet_2: -8871038989383191861
|
||||
TileSet_11: -8265232490957100610
|
||||
TileSet_27: 7842336126166950848
|
||||
TileSet_15: 8886558474639481304
|
||||
TileSet_9: -2968160521145883719
|
||||
TileSet_10: -8082063572214372527
|
||||
TileSet_19: -9220975972155412195
|
||||
TileSet_26: 927177990519731529
|
||||
TileSet_7: -3462126092104230500
|
||||
TileSet_8: 3818911086006376876
|
||||
TileSet_24: 4126501046328475923
|
||||
TileSet_0: -8213782765776912250
|
||||
TileSet_6: 1303555410413672225
|
||||
TileSet_13: 3253857429519456842
|
||||
TileSet_20: 8290902767777311385
|
||||
TileSet_4: -8921557701501664739
|
||||
TileSet_21: 8872051553670027449
|
||||
TileSet_16: -5913383478371155081
|
||||
TileSet_23: 1647431860368624933
|
||||
TileSet_17: 8568142618917566389
|
||||
TileSet_25: -8781195206041585980
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -30,7 +30,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -149,9 +148,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
UnderConstruction_0: 5187849822237267049
|
||||
UnderConstruction_1: -2138639866025227003
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
@ -27,7 +27,6 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@ -153,8 +152,6 @@ TextureImporter:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
Square: 7482667652216324306
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
|
60
ldjam50/Logs/Packages-Update.log
Normal file
60
ldjam50/Logs/Packages-Update.log
Normal file
@ -0,0 +1,60 @@
|
||||
|
||||
=== Sat Apr 2 14:24:44 2022
|
||||
|
||||
Packages were changed.
|
||||
Update Mode: mergeDefaultDependencies
|
||||
|
||||
The following packages were added:
|
||||
com.unity.collab-proxy@1.15.12
|
||||
com.unity.ide.rider@2.0.7
|
||||
com.unity.ide.visualstudio@2.0.14
|
||||
com.unity.ide.vscode@1.2.4
|
||||
com.unity.modules.ai@1.0.0
|
||||
com.unity.modules.androidjni@1.0.0
|
||||
com.unity.modules.animation@1.0.0
|
||||
com.unity.modules.assetbundle@1.0.0
|
||||
com.unity.modules.audio@1.0.0
|
||||
com.unity.modules.cloth@1.0.0
|
||||
com.unity.modules.director@1.0.0
|
||||
com.unity.modules.imageconversion@1.0.0
|
||||
com.unity.modules.imgui@1.0.0
|
||||
com.unity.modules.jsonserialize@1.0.0
|
||||
com.unity.modules.particlesystem@1.0.0
|
||||
com.unity.modules.physics@1.0.0
|
||||
com.unity.modules.physics2d@1.0.0
|
||||
com.unity.modules.screencapture@1.0.0
|
||||
com.unity.modules.terrain@1.0.0
|
||||
com.unity.modules.terrainphysics@1.0.0
|
||||
com.unity.modules.tilemap@1.0.0
|
||||
com.unity.modules.ui@1.0.0
|
||||
com.unity.modules.uielements@1.0.0
|
||||
com.unity.modules.umbra@1.0.0
|
||||
com.unity.modules.unityanalytics@1.0.0
|
||||
com.unity.modules.unitywebrequest@1.0.0
|
||||
com.unity.modules.unitywebrequestassetbundle@1.0.0
|
||||
com.unity.modules.unitywebrequestaudio@1.0.0
|
||||
com.unity.modules.unitywebrequesttexture@1.0.0
|
||||
com.unity.modules.unitywebrequestwww@1.0.0
|
||||
com.unity.modules.vehicles@1.0.0
|
||||
com.unity.modules.video@1.0.0
|
||||
com.unity.modules.vr@1.0.0
|
||||
com.unity.modules.wind@1.0.0
|
||||
com.unity.modules.xr@1.0.0
|
||||
com.unity.test-framework@1.1.29
|
||||
com.unity.textmeshpro@3.0.6
|
||||
com.unity.timeline@1.4.8
|
||||
com.unity.ugui@1.0.0
|
||||
The following packages were updated:
|
||||
com.unity.2d.animation from version 5.0.10 to 5.1.0
|
||||
com.unity.2d.psdimporter from version 4.1.3 to 4.2.0
|
||||
com.unity.2d.spriteshape from version 5.1.7 to 5.2.0
|
||||
|
||||
=== Sat Apr 2 14:51:59 2022
|
||||
|
||||
Packages were changed.
|
||||
Update Mode: updateDependencies
|
||||
|
||||
The following packages were updated:
|
||||
com.unity.collab-proxy from version 1.15.12 to 1.15.13
|
||||
com.unity.ide.vscode from version 1.2.4 to 1.2.5
|
||||
com.unity.test-framework from version 1.1.29 to 1.1.31
|
3
ldjam50/Logs/shadercompiler-UnityShaderCompiler0.log
Normal file
3
ldjam50/Logs/shadercompiler-UnityShaderCompiler0.log
Normal file
@ -0,0 +1,3 @@
|
||||
Base path: '/home/dart/Unity/Hub/Editor/2020.3.32f1/Editor/Data', plugins path '/home/dart/Unity/Hub/Editor/2020.3.32f1/Editor/Data/PlaybackEngines'
|
||||
Cmd: initializeCompiler
|
||||
|
@ -1,18 +1,18 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"com.unity.2d.animation": "7.0.5",
|
||||
"com.unity.2d.pixel-perfect": "5.0.1",
|
||||
"com.unity.2d.psdimporter": "6.0.3",
|
||||
"com.unity.2d.animation": "5.1.0",
|
||||
"com.unity.2d.pixel-perfect": "4.0.1",
|
||||
"com.unity.2d.psdimporter": "4.2.0",
|
||||
"com.unity.2d.sprite": "1.0.0",
|
||||
"com.unity.2d.spriteshape": "7.0.4",
|
||||
"com.unity.2d.spriteshape": "5.2.0",
|
||||
"com.unity.2d.tilemap": "1.0.0",
|
||||
"com.unity.collab-proxy": "1.15.16",
|
||||
"com.unity.ide.rider": "3.0.14",
|
||||
"com.unity.ide.visualstudio": "2.0.15",
|
||||
"com.unity.collab-proxy": "1.15.13",
|
||||
"com.unity.ide.rider": "2.0.7",
|
||||
"com.unity.ide.visualstudio": "2.0.14",
|
||||
"com.unity.ide.vscode": "1.2.5",
|
||||
"com.unity.test-framework": "1.1.31",
|
||||
"com.unity.textmeshpro": "3.0.6",
|
||||
"com.unity.timeline": "1.6.4",
|
||||
"com.unity.timeline": "1.4.8",
|
||||
"com.unity.ugui": "1.0.0",
|
||||
"com.unity.modules.ai": "1.0.0",
|
||||
"com.unity.modules.androidjni": "1.0.0",
|
||||
|
@ -1,11 +1,12 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"com.unity.2d.animation": {
|
||||
"version": "7.0.5",
|
||||
"version": "5.1.0",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.2d.common": "6.0.3",
|
||||
"com.unity.2d.common": "4.1.0",
|
||||
"com.unity.mathematics": "1.1.0",
|
||||
"com.unity.2d.sprite": "1.0.0",
|
||||
"com.unity.modules.animation": "1.0.0",
|
||||
"com.unity.modules.uielements": "1.0.0"
|
||||
@ -13,38 +14,36 @@
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.2d.common": {
|
||||
"version": "6.0.3",
|
||||
"version": "4.1.0",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.2d.sprite": "1.0.0",
|
||||
"com.unity.mathematics": "1.1.0",
|
||||
"com.unity.modules.uielements": "1.0.0",
|
||||
"com.unity.burst": "1.5.1"
|
||||
"com.unity.modules.uielements": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.2d.path": {
|
||||
"version": "5.0.2",
|
||||
"version": "4.0.2",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.2d.pixel-perfect": {
|
||||
"version": "5.0.1",
|
||||
"version": "4.0.1",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.2d.psdimporter": {
|
||||
"version": "6.0.3",
|
||||
"version": "4.2.0",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.2d.animation": "7.0.4",
|
||||
"com.unity.2d.common": "6.0.3",
|
||||
"com.unity.2d.common": "4.1.0",
|
||||
"com.unity.2d.animation": "5.1.0",
|
||||
"com.unity.2d.sprite": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
@ -56,13 +55,13 @@
|
||||
"dependencies": {}
|
||||
},
|
||||
"com.unity.2d.spriteshape": {
|
||||
"version": "7.0.4",
|
||||
"version": "5.2.0",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.mathematics": "1.1.0",
|
||||
"com.unity.2d.common": "6.0.3",
|
||||
"com.unity.2d.path": "5.0.2",
|
||||
"com.unity.2d.common": "4.1.0",
|
||||
"com.unity.2d.path": "4.0.2",
|
||||
"com.unity.modules.physics2d": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
@ -73,17 +72,8 @@
|
||||
"source": "builtin",
|
||||
"dependencies": {}
|
||||
},
|
||||
"com.unity.burst": {
|
||||
"version": "1.6.5",
|
||||
"depth": 2,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.mathematics": "1.2.1"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.collab-proxy": {
|
||||
"version": "1.15.16",
|
||||
"version": "1.15.13",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
@ -99,16 +89,16 @@
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.ide.rider": {
|
||||
"version": "3.0.14",
|
||||
"version": "2.0.7",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.ext.nunit": "1.0.6"
|
||||
"com.unity.test-framework": "1.1.1"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.ide.visualstudio": {
|
||||
"version": "2.0.15",
|
||||
"version": "2.0.14",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
@ -124,27 +114,18 @@
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.mathematics": {
|
||||
"version": "1.2.6",
|
||||
"version": "1.1.0",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.nuget.newtonsoft-json": {
|
||||
"version": "3.0.2",
|
||||
"depth": 2,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.services.core": {
|
||||
"version": "1.3.1",
|
||||
"version": "1.0.1",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
||||
"com.unity.nuget.newtonsoft-json": "3.0.2",
|
||||
"com.unity.modules.androidjni": "1.0.0"
|
||||
"com.unity.modules.unitywebrequest": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
@ -169,7 +150,7 @@
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.timeline": {
|
||||
"version": "1.6.4",
|
||||
"version": "1.4.8",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
|
@ -1,35 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!387306366 &1
|
||||
MemorySettings:
|
||||
m_ObjectHideFlags: 0
|
||||
m_EditorMemorySettings:
|
||||
m_MainAllocatorBlockSize: -1
|
||||
m_ThreadAllocatorBlockSize: -1
|
||||
m_MainGfxBlockSize: -1
|
||||
m_ThreadGfxBlockSize: -1
|
||||
m_CacheBlockSize: -1
|
||||
m_TypetreeBlockSize: -1
|
||||
m_ProfilerBlockSize: -1
|
||||
m_ProfilerEditorBlockSize: -1
|
||||
m_BucketAllocatorGranularity: -1
|
||||
m_BucketAllocatorBucketsCount: -1
|
||||
m_BucketAllocatorBlockSize: -1
|
||||
m_BucketAllocatorBlockCount: -1
|
||||
m_ProfilerBucketAllocatorGranularity: -1
|
||||
m_ProfilerBucketAllocatorBucketsCount: -1
|
||||
m_ProfilerBucketAllocatorBlockSize: -1
|
||||
m_ProfilerBucketAllocatorBlockCount: -1
|
||||
m_TempAllocatorSizeMain: -1
|
||||
m_JobTempAllocatorBlockSize: -1
|
||||
m_BackgroundJobTempAllocatorBlockSize: -1
|
||||
m_JobTempAllocatorReducedBlockSize: -1
|
||||
m_TempAllocatorSizeGIBakingWorker: -1
|
||||
m_TempAllocatorSizeNavMeshWorker: -1
|
||||
m_TempAllocatorSizeAudioWorker: -1
|
||||
m_TempAllocatorSizeCloudWorker: -1
|
||||
m_TempAllocatorSizeGfx: -1
|
||||
m_TempAllocatorSizeJobWorker: -1
|
||||
m_TempAllocatorSizeBackgroundWorker: -1
|
||||
m_TempAllocatorSizePreloadManager: -1
|
||||
m_PlatformMemorySettings: {}
|
@ -1,2 +1,2 @@
|
||||
m_EditorVersion: 2021.3.3f1
|
||||
m_EditorVersionWithRevision: 2021.3.3f1 (af2e63e8f9bd)
|
||||
m_EditorVersion: 2020.3.32f1
|
||||
m_EditorVersionWithRevision: 2020.3.32f1 (12f8b0834f07)
|
||||
|
@ -1,167 +0,0 @@
|
||||
{
|
||||
"templatePinStates": [],
|
||||
"dependencyTypeInfos": [
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.AnimationClip",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEditor.Animations.AnimatorController",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.AnimatorOverrideController",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEditor.Audio.AudioMixerController",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.ComputeShader",
|
||||
"ignore": true,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Cubemap",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.GameObject",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEditor.LightingDataAsset",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": false
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.LightingSettings",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Material",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEditor.MonoScript",
|
||||
"ignore": true,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.PhysicMaterial",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.PhysicsMaterial2D",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Rendering.VolumeProfile",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEditor.SceneAsset",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": false
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Shader",
|
||||
"ignore": true,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.ShaderVariantCollection",
|
||||
"ignore": true,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Texture",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Texture2D",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Timeline.TimelineAsset",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
}
|
||||
],
|
||||
"defaultDependencyTypeInfo": {
|
||||
"userAdded": false,
|
||||
"type": "<default_scene_template_dependencies>",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
"newSceneOverride": 0
|
||||
}
|
27
ldjam50/UserSettings/EditorUserSettings.asset
Normal file
27
ldjam50/UserSettings/EditorUserSettings.asset
Normal file
@ -0,0 +1,27 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!162 &1
|
||||
EditorUserSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 4
|
||||
m_ConfigSettings:
|
||||
RecentlyUsedScenePath-0:
|
||||
value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-1:
|
||||
value: 22424703114646680e0b0227036c72111f193f3f2566333e243d04
|
||||
flags: 0
|
||||
vcSharedLogLevel:
|
||||
value: 0d5e400f0650
|
||||
flags: 0
|
||||
m_VCAutomaticAdd: 1
|
||||
m_VCDebugCom: 0
|
||||
m_VCDebugCmd: 0
|
||||
m_VCDebugOut: 0
|
||||
m_SemanticMergeMode: 2
|
||||
m_VCShowFailedCheckout: 1
|
||||
m_VCOverwriteFailedCheckoutAssets: 1
|
||||
m_VCProjectOverlayIcons: 1
|
||||
m_VCHierarchyOverlayIcons: 1
|
||||
m_VCOtherOverlayIcons: 1
|
||||
m_VCAllowAsyncUpdate: 1
|
Loading…
Reference in New Issue
Block a user