Commit Graph

4 Commits

Author SHA1 Message Date
Shaun Reed b2283462bf New experience system
Doesn't work, branching for later development
2017-08-26 23:42:00 -04:00
Shaun Reed 12775c8ef7 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
2017-08-26 18:31:01 -04:00
Shaun Reed 3251ae85b6 Fixed ExperienceBar.cs
Fixed bar filling up before gaining require exp
Added exp curve (required + required^1.05)
Removed fixed levels, added infinite progression
Fixed clicksNeeded to account for expObtained
Added ExpReset() and ExpLess()

Needs:
Click count
Better debug logs
Delevel if previousExpRequired>expObtained  ( When using ExpLess() )
--Exponential equation to determine infinite previous levels without
storing them individually?
2017-08-23 11:11:04 -04:00
Shaun Reed 91a7f533a1 Initial Commit
Exp bar and Levels.
Rethink ExperienceBar and ToggleMenus scripts
2017-08-22 13:29:01 -04:00