Skip to content

Releases: prooheckcp/RobloxStateMachine

RobloxStateMachine - V.1.1.7

12 May 15:55
2f7113a
Compare
Choose a tag to compare

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

StateMachine.zip

RobloxStateMachine - V.1.1.6

29 Feb 16:03
Compare
Choose a tag to compare

📝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

StateMachine.zip

RobloxStateMachine - V.1.5

15 Feb 01:36
c60e24b
Compare
Choose a tag to compare

📝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

StateMachine.zip

RobloxStateMachine - V.1.3

15 Feb 01:06
c30761f
Compare
Choose a tag to compare

📝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

StateMachine.zip

RobloxStateMachine - V.1.1

07 Nov 03:19
Compare
Choose a tag to compare

📝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

StateMachine - Version 1.1.1.zip

RobloxStateMachine - V.1.0

05 Jul 21:32
d22625d
Compare
Choose a tag to compare

First stable release. The library is now battle-scarred and shouldn't change the syntax ever again.

RobloxStateMachineV1.zip

RobloxStateMachine - V.0.2

10 May 12:44
Compare
Choose a tag to compare

Latest release of the state machine:

StateMachine.zip