linsyking/messenger-core/20.0.0

Renamed to elm-messenger/messenger-core. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as linsyking/messenger-core still install under that name. 34 versions of 52 come from the new location (see their notes). 7 versions could not be recovered and cannot be installed.

Messenger.Scene.VSR

Virtual Scene Runner

Run a scene as data inside another object, usually a global component. This is used by transitions and stacked scenes where the previous scene must continue to render or update while another scene is active.

type alias VSR userdata scenemsg =
{ env : Env () userdata
, runtime : Runtime
, scene : MAbstractScene userdata scenemsg
}

Virtual scene runner state.

It stores the virtual scene's environment and the abstract scene value.

VSR userdata scenemsg
-> ( VSR userdata scenemsg
, List (SceneOutputMsg scenemsg userdata)
)

Update the virtual scene runner with a user event.

Tick also advances the virtual scene's internal time counters, mirroring how the main Messenger model updates scene time.

viewVSR : VSR userdata scenemsg -> Renderable

Render the virtual scene.