Skip to content

Commit

Permalink
End of Day 12
Browse files Browse the repository at this point in the history
Added more functionalities (finally some Damage!) and blood particles.
Added first attack animation and updated the animation controller
Stats are now Scriptable Objects
  • Loading branch information
Papiertig0r committed Jan 12, 2018
1 parent acd9a31 commit a175a93
Show file tree
Hide file tree
Showing 39 changed files with 5,540 additions and 187 deletions.
4 changes: 2 additions & 2 deletions Assets/Animations/Player/Idle_Right.anim
Expand Up @@ -19,7 +19,7 @@ AnimationClip:
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300054, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
value: {fileID: 21300052, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
attribute: m_Sprite
path:
classID: 212
Expand All @@ -39,7 +39,7 @@ AnimationClip:
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300054, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- {fileID: 21300052, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
Expand Down
4 changes: 2 additions & 2 deletions Assets/Animations/Player/Idle_Right.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -5,7 +5,7 @@ AnimationClip:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Walking_Right
m_Name: Kick_Down
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
Expand All @@ -19,11 +19,11 @@ AnimationClip:
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300272, guid: 42b8861285bb6884b80691136e39df32, type: 3}
value: {fileID: 21300078, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- time: 0.083333336
value: {fileID: 21300302, guid: 42b8861285bb6884b80691136e39df32, type: 3}
value: {fileID: 21300080, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- time: 0.16666667
value: {fileID: 21300274, guid: 42b8861285bb6884b80691136e39df32, type: 3}
value: {fileID: 21300082, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
attribute: m_Sprite
path:
classID: 212
Expand All @@ -43,9 +43,9 @@ AnimationClip:
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300272, guid: 42b8861285bb6884b80691136e39df32, type: 3}
- {fileID: 21300302, guid: 42b8861285bb6884b80691136e39df32, type: 3}
- {fileID: 21300274, guid: 42b8861285bb6884b80691136e39df32, type: 3}
- {fileID: 21300078, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- {fileID: 21300080, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- {fileID: 21300082, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
Expand All @@ -56,7 +56,7 @@ AnimationClip:
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopTime: 0
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 74 additions & 0 deletions Assets/Animations/Player/Kick_Left.anim
@@ -0,0 +1,74 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Kick_Left
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300066, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- time: 0.083333336
value: {fileID: 21300068, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- time: 0.16666667
value: {fileID: 21300070, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 12
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300066, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- {fileID: 21300068, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- {fileID: 21300070, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.25
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 0
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_GenerateMotionCurves: 0
m_Events: []

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 74 additions & 0 deletions Assets/Animations/Player/Kick_Right.anim
@@ -0,0 +1,74 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Kick_Right
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300066, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- time: 0.083333336
value: {fileID: 21300068, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- time: 0.16666667
value: {fileID: 21300070, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 12
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300066, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- {fileID: 21300068, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- {fileID: 21300070, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.25
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 0
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_GenerateMotionCurves: 0
m_Events: []
10 changes: 10 additions & 0 deletions Assets/Animations/Player/Kick_Right.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -5,7 +5,7 @@ AnimationClip:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Idle_Right
m_Name: Kick_Up
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
Expand All @@ -19,7 +19,11 @@ AnimationClip:
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300276, guid: 42b8861285bb6884b80691136e39df32, type: 3}
value: {fileID: 21300072, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- time: 0.083333336
value: {fileID: 21300074, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- time: 0.16666667
value: {fileID: 21300076, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
attribute: m_Sprite
path:
classID: 212
Expand All @@ -39,18 +43,20 @@ AnimationClip:
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300276, guid: 42b8861285bb6884b80691136e39df32, type: 3}
- {fileID: 21300072, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- {fileID: 21300074, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
- {fileID: 21300076, guid: f54c46f6c269bf54eb5eaef876cfd48f, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.083333336
m_StopTime: 0.25
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopTime: 0
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
Expand Down
10 changes: 10 additions & 0 deletions Assets/Animations/Player/Kick_Up.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a175a93

Please sign in to comment.