This repository has been archived by the owner on Apr 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple stat handling system for games.
SHiLLySiT/StatSystem
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A simple stat handling system for flash games. For more information visit: http://pixelsquidgames.net/projects/statsystem/statsystem.html For documentation visit: http://pixelsquidgames.net/projects/statsystem/documentation/index.html Changelog: Version 2.1.2 (August 6th, 2012) * Many Miscellaneous fixes for the inventory package (sorry too many over a long period of time to recall) Version 2.1.1 (July 11th, 2012) * Fixed setValue() not checking if a max value was set for the stat. If there is one, the new value is clamped within that range. If not, the new value is unchanged. * Added empty() and fill() function to the Stat class. Empty sets the stat value to 0 and calls the onEmpty function and fill sets the value to the max value (if there is one) and calls the onFull function. Version 2.1.0 (June 18th, 2012) * Added null check for the onEmpty and onFull functions when a stat is set to a particular value * Added inventory management features, item base class, and optional database management class Version 2.0.2 (May 13th, 2012) * Updated documentation * Added setValue and setMaxValue methods Version 2.0.1 (May 6th, 2012) * Updated documentation * Setting a stat to a maxValue of zero is now interpreted as no limit Version 2.0 (April 26th, 2012) NOTE: This is not backwards compatible, hence major version bump * condensed MeterStat and LevelStat into one class * removed experience methods * added onFull and onEmpty functions which execute when a stat's value equals maxValue or 0 respectively * modifier now has a type variable which identifies the value it affects * added saving and loading of the stat system, stats, and modifiers Version 1.1 (January 24, 2014) * Split stat class into two separate classes * Add experience management for stats Version 1.0 (Inital Release)
About
A simple stat handling system for games.
Resources
Stars
Watchers
Forks
Releases
No releases published