tomaszkot / Roguelike

Apache License 2.0
0 stars 0 forks source link

Hero stats - UI #32

Open tomaszkot opened 1 year ago

tomaszkot commented 1 year ago

We shall have a panel in the game showing 1) hero Name, Level , Current Exp/Next Level Exp example:

Name: Koto Level: 2 Experience: 123/255

Involved Roguelike.Tiles.LivingEntities.Hero props Name: Name Level: Level Current Exp : Experience Next Level Exp: NextLevelExperience

2) hero stats (prop hero.Stats): Health: CurrentValue/TotalValue Strength: CurrentValue/TotalValue Defense: CurrentValue/TotalValue Magic: CurrentValue/TotalValue

Stat can be grabbed like: HeroTile.Stats[EntityStatKind.Health], it has props TotalValue and CurrentValue.

Next to a each stat there shall be a button + allowing to increase hero stats in there are any Exp. Points left.

tomaszkot commented 1 year ago

image

UI overlaps in some places