Cineractive
global instance
The Cineractive library allows you to play and coordinate the cineractive scenes that are used for in-game cinematics in Armada 2. When a Cineractive is active, the MMMApp:cineractiveUpdate function is used instead of MMMApp:update.
Properties
Name | Type | Access | Description |
---|---|---|---|
active | Boolean | RW | True if there is a Cineractive running |
skippable | Boolean | RW | True if the Cineractive can be skipped |
Functions and Enumerations
- Instance Functions
Functions that are used with a Cineractive instance.
- lookAt( position )
Look at a position in the game world
- lookFrom( entity )
Look from an Entity in the game world
- lookFrom( position )
Look from a position in the game world
- lookFrom( path, speed )
Look from a path (the camera will move along the path)
- setCameraOffset( offset )
Set the amount the camera position is offset from the look from location
- fadeIn( time )
Fade the screen in from black over a period of time
- fadeOut( time )
Fade the screen out to black over a period of time
- lookAt( entity )
Look at an Entity in the game world
- lookAt( position )