This release of BBMOD adds a new module "State machine", which includes an implementation of a general-purpose state machine, as well as a state machine for animation playback control.
Core module:
BBMOD_Class
which is a base struct for BBMOD structs that require more OOP functionality.on_event
, off_event
and trigger_event
of BBMOD_AnimationPlayer
into a new interface BBMOD_IEventListener
.BBMOD_AnimationPlayer
now implements interface BBMOD_IEventListener
.BBMOD_IEventListener.on_event
can now take the event name as the second argument.BBMOD_IEventListener.on_event
is now optional. If it is not specified, then the listener is executed on every event.BBMOD_VFORMAT_DEFAULT_BATCHED
, which by accident used shader BBMOD_ShDefaultAnimated
.BBMOD_Quaternion.FromEuler
, which initializes a quaternion using euler angles.State machine module:
BBMOD_StateMachine
and BBMOD_State
, which implement a state machine.BBMOD_AnimationStateMachine
and BBMOD_AnimationState
, which implement a state machine that controls animation playback.Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.