-Added accurate rotationPerSec & secondPerRot values!... Up to a speed
of ~720.
--Used for new idle expgain calculation in Load()
-Added scripting for assigning button events within
InitializeButtonArrays()
--stored all buttons to arrays depending on contents of the parent UI
panel's name
--mainButtons[], rotationButtons[], colorButtons[]... etc
--Future buttons will automatically exist within the array, only events
need assigning.
--Buttons do not include tick boxes, etc!
--Buttons cannot have onClick() even assigned through editor (Unity
bug?)
Added PlayerData class to GamerManager.cs
- Stored in Application.PersistantDataPath + "/playerInfo.dat"
- Safer way to store / transfer data?
- Add saving of local time when calling Save() or Load()
- Compare save time to load time and give afk rewards earned based on
rotation speed
-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
Any scripts contained in subdirectory "WebPlayerTemplates/" will not be
compiled
-Fixes build errors created from reference scripts within Ultimate GUI
Kit
-Fixed messy RectTransforms, cleaned up scaling of UI across different
resolutions
-Prints level correctly in landscape view
-Added red 'container' that doubles as mask for displaying EXP gained
Needs:
-Scale exp bar, drawn within ExperienceBar script
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?
Added pre-commit hook script to '.../SpinningCube/.git/hooks/' to ignore
meta files on directories excluded by .gitignore
Pre-commit Script backed up in '.../UnityProjects/Git Hooks - Scripts/'