Releases: prooheckcp/RobloxStateMachine
RobloxStateMachine - V.1.1.7
RobloxStateMachine V.1.1.7 IS NOW OUT!
📝Description
Added multiple new features and QOL improvements. Also an upgrade to the documentation
🔧Changes
Version 1.1.7
-Added:
-
Added OnDestroy virtual Method on Transition
-
Added OnDestroy virtual method on State
-
State:Extend to extend the class
-
Transition:Extend to extend the class
-
Added State:CanChangeState method
-
Deprecated:
-
Transition:CanChangeState has been deprecated
-
QOL improvement:
-
Improved documentation
-
Can now Call class constructors without .new
--Example:
local StateMachine = require(ReplicatedStorage.RobloxStateMachine)
local GoToRed = require(script.Parent.Parent.Transitions.GoToRed)
local State = StateMachine.State
local ChangeColorState = State "ChangeColorState"
ChangeColorState.Transitions = {GoToRed}
👣Next steps
No further steps are necessary
📁 Install
RobloxStateMachine - V.1.1.6
📝Description
Fixes issue with Heartbeat callback and a few extra features to the transitions and states.
🔧Changes
- Ignore the first frame of the States Hearbeats
- Cleanup OnEnter functions of States
- Added :GetState and :GetPreviousState
- Adding :ChangeData :GetState :GetPreviousState and :ChangeState
- Added OnEnter and OnLeave Virtual Methods to transitions
👣Next steps
No further steps are necessary
📁 Install
RobloxStateMachine - V.1.5
📝Description
Small changes to avoid an annoying error and cleanup the warnings output
🔧Changes
- Fixed error message when attempting to use :ChangeData in :OnEnter virtual method
- Replace asserts with underscored values to suppress Selene warnings
👣Next steps
No further steps are necessary
📁 Install
RobloxStateMachine - V.1.3
📝Description
Important bugfix on data. This was already update in December but I forgot to open a release
🔧Changes
- Fixed ChangeData
- Added virtual method for ChangedData
- Add destroyed flag
👣Next steps
None for now
📁 Install
RobloxStateMachine - V.1.1
📝Description
Major polishing of the library
🔧Changes
- Remove useless OnHeartbeat
- Adding error contexts to the developers
- Improve LoadDirectory
- Major improvement to the API website
- Added tutorials
- Updated ReadMe file to a cleaner and simpler file
- Fixing types of issues
- Improved performance
- Added new support to index data in different ways
👣Next steps
None for now
📁 Install
RobloxStateMachine - V.1.0
First stable release. The library is now battle-scarred and shouldn't change the syntax ever again.
RobloxStateMachine - V.0.2
Latest release of the state machine: