Skip to content

Commit

Permalink
feat(maple-fighters): add player character stats
Browse files Browse the repository at this point in the history
Player's character stats:

- Level (and Character Name)
- Health
- Mana
- Experience Points

Also add player dead state.
  • Loading branch information
codingben committed Nov 18, 2024
1 parent 9b9d043 commit d175534
Show file tree
Hide file tree
Showing 35 changed files with 1,713 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ GameObject:
- component: {fileID: 114791287851909474}
- component: {fileID: 114474275508558034}
- component: {fileID: 4397616534160401849}
- component: {fileID: 866096450993677657}
m_Layer: 0
m_Name: Archer
m_TagString: Untagged
Expand Down Expand Up @@ -616,6 +617,19 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
characterSprite: {fileID: 1229620062354838}
--- !u!114 &866096450993677657
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1672393161269726}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 73cfe5cb0090d42fc94d3ab2256fabe8, type: 3}
m_Name:
m_EditorClassIdentifier:
healthAmount: 500
--- !u!1 &6763482453901833201
GameObject:
m_ObjectHideFlags: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ GameObject:
- component: {fileID: 114086648407061294}
- component: {fileID: 114664649952649960}
- component: {fileID: 5539059543134416113}
- component: {fileID: 1337271320379226147}
m_Layer: 0
m_Name: Knight
m_TagString: Untagged
Expand Down Expand Up @@ -616,6 +617,19 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
characterSprite: {fileID: 1734782633609212}
--- !u!114 &1337271320379226147
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1795698667356696}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 73cfe5cb0090d42fc94d3ab2256fabe8, type: 3}
m_Name:
m_EditorClassIdentifier:
healthAmount: 1000
--- !u!1 &7627006276340788893
GameObject:
m_ObjectHideFlags: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ GameObject:
- component: {fileID: 114615997679115346}
- component: {fileID: 114769968751128320}
- component: {fileID: -9056175464833686089}
- component: {fileID: 5610465354671830875}
m_Layer: 0
m_Name: Wizard
m_TagString: Untagged
Expand Down Expand Up @@ -276,6 +277,19 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
characterSprite: {fileID: 1733968886697200}
--- !u!114 &5610465354671830875
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1210278977448276}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 73cfe5cb0090d42fc94d3ab2256fabe8, type: 3}
m_Name:
m_EditorClassIdentifier:
healthAmount: 500
--- !u!1 &1276592372013812
GameObject:
m_ObjectHideFlags: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ MonoBehaviour:
attackedAnimation: {fileID: 1226959955713265118}
deadAnimation: {fileID: 996590074768006885}
health: 100
mobExperience: 5
mobDamageText: {fileID: 8469844777433203015, guid: 87e1f42ee42344620acfbd1da4926470,
type: 3}
mobDamagePosition: {fileID: 4756870909268700154}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ MonoBehaviour:
attackedAnimation: {fileID: 2809993840063044388}
deadAnimation: {fileID: 4445643555974304797}
health: 100
mobExperience: 10
mobDamageText: {fileID: 8469844777433203015, guid: 87e1f42ee42344620acfbd1da4926470,
type: 3}
mobDamagePosition: {fileID: 7720485623999414934}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 120, y: 80}
m_AnchoredPosition: {x: 115, y: 90}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &114161394725660716
Expand Down
Loading

0 comments on commit d175534

Please sign in to comment.