SplitScript reference / Migration / Script-computed game time
Script-computed game time
Migration from ASL
Source pattern
Look for the ASL concept Script-computed game time in the source. The semantic difference below is more important than a token-for-token rewrite.
Canonical SplitScript
Use the canonical language and API symbols linked below.
Semantic difference
Return a typed Duration from gameTime when the game exposes its own elapsed clock; fall through or return None when no new value is available.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.
Related reference
-
gameTime (language)
-
Duration (type)
-
Duration.fromFrames (standard library)