Reworked ExperienceBar.cs

-Alters expBarSprite's fill amount according to % ( exp gained /
required )
-Scales according to viewport
-Used Mathf.Lerp() to smooth bar growth over time.deltatime * lerpSpeed
-Added clicks integer to keep track of total clicks

Needs:
-Delevel if ExpLess() called until expObtained < previousExpRequired
-Create function to query for previous and future level requirements
returned and stored within structs
This commit is contained in:
2017-08-26 18:31:01 -04:00
parent ad57d40c70
commit 12775c8ef7
2 changed files with 45 additions and 43 deletions

Binary file not shown.