Log inGet started
Package

session.module

This package holds more than this page lists. See all of its files in its world.

README.md

session

Session.new(config) builds a crash-test game session for the local player: :start() registers the screen, the countdown and readout panel and shows the title; :update(dt) follows the synced CrashRig (state, config, result), runs the debounced prepare, the camera orbit, live telemetry, results, credit and the auto replay; :callback(id, data) handles <prefix>:… ids (returns true when it was one); :enter() opens the lab as the title's Play does; :state() snapshots it; :destroy() cleans up. Options are in the package README. Used by crashSession.CrashSession and games (Crumple Zone's game.CrashGame).