Quick Reference
Getting Information 1
| compute() | What the current shot wants this frame. |
Checks (True / False) 1
| isBusy() | The battle waits while this is true. |
Actions 6
| setLevel() | Change the level for this save (an options screen); "default" goes back to System's. |
| reset() | Reset. |
| play() | Start a shot, from whatever is on screen. |
| take() | Take the view: remember the 2D one exactly, and ask the tactical view to leave it alone. |
| release() | Ease the view back over frames; with hold the battle waits for it. |
| finish() | The view is the map's again, exactly as it was. |
Events, Commands & Input 1
| handle() | One event from the feed. |
Updating & Drawing 2
| update() | Once a frame, at the scene's own rate (never slowed). |
| drawBars() | The letterbox: two bars on the map scene, over the map and under the windows. |
Other 23
| active() | Active. |
| shot() | Shot. |
| timeScale() | How fast the battle runs: 1, or less in slow motion. |
| presentation() | What a HUD fades by and how far the letterbox is in: the same object every call. |
| keepsRegion() | The tactical view's see-through ground is kept: on the way down from it, on the way back, in a shot that stay… |
| live() | A Tactical battle is being fought on this map. |
| eye() | Where the camera is now on a 3D map, or null. |
| slow() | Slow the battle to scale for frames (the setting allowing). |
| suspendView() | Suspend view. |
| abort() | Stop now: a battle that ended, a scene that is leaving. |
| skip() | The player has seen enough: the view goes back and the rest of this action is not filmed. |
| queue() | A shot to start once the frame rate is steady and no message has come up; the battle waits for it. |
| ideal3() | The pose the camera should be at this frame on a 3D map, before the spring. |
| pose3() | The pose to show on a 3D map, given the pose the map camera placed this frame. |
| pose2() | The pose to show on a flat map: what the saved view was looking at is the base. |
| base2() | Base2. |
| apply2D() | Scroll and zoom the flat map to this frame's pose. |
| skipPressed() | Skip pressed. |
| ride() | The round of a long shot is in the air: the camera goes with it. |
| sequenceStart() | An Action Sequence starts playing on the map (from the sequence player): { unitId, targetIds, cameraSteps, im… |
| sequenceCamera() | A camera step of an Action Sequence playing on the map. |
| cutSubjects() | The characters the cutaway opens walls and roofs for during a shot; null when the view is the map's. |
| apply3D() | Apply3 d. |
Getting Information
compute
static sourceD.compute()
What the current shot wants this frame.
Checks (True / False)
isBusy
static sourceD.isBusy()
The battle waits while this is true.
Actions
setLevel
static sourceD.setLevel(level)
Change the level for this save (an options screen); "default" goes back to System's.
reset
static sourceD.reset()
Reset.
play
static sourceD.play(shot)
Start a shot, from whatever is on screen.
take
static sourceD.take(shot)
Take the view: remember the 2D one exactly, and ask the tactical view to leave it alone.
release
static sourceD.release(frames, hold)
Ease the view back over frames; with hold the battle waits for it.
finish
static sourceD.finish()
The view is the map's again, exactly as it was.
Events, Commands & Input
handle
static sourceD.handle(name, payload)
One event from the feed.
Updating & Drawing
update
static sourceD.update()
Once a frame, at the scene's own rate (never slowed).
drawBars
static sourceD.drawBars(scene)
The letterbox: two bars on the map scene, over the map and under the windows.
Other
active
static sourceD.active()
Active.
shot
static sourceD.shot()
Shot.
timeScale
static sourceD.timeScale()
How fast the battle runs: 1, or less in slow motion.
Details
How fast the battle runs: 1, or less in slow motion. Eased, never a step.
presentation
static sourceD.presentation()
What a HUD fades by and how far the letterbox is in: the same object every call.
keepsRegion
static sourceD.keepsRegion()
The tactical view's see-through ground is kept: on the way down from it, on the way back, in a shot that stays in it.
live
static sourceD.live()
A Tactical battle is being fought on this map.
eye
static sourceD.eye()
Where the camera is now on a 3D map, or null.
slow
static sourceD.slow(scale, frames)
Slow the battle to scale for frames (the setting allowing).
suspendView
static sourceD.suspendView()
Suspend view.
abort
static sourceD.abort()
Stop now: a battle that ended, a scene that is leaving.
skip
static sourceD.skip()
The player has seen enough: the view goes back and the rest of this action is not filmed.
queue
static sourceD.queue(make, options)
A shot to start once the frame rate is steady and no message has come up; the battle waits for it.
ideal3
static sourceD.ideal3(base)
The pose the camera should be at this frame on a 3D map, before the spring.
pose3
static sourceD.pose3(base)
The pose to show on a 3D map, given the pose the map camera placed this frame.
pose2
static sourceD.pose2()
The pose to show on a flat map: what the saved view was looking at is the base.
base2
static sourceD.base2()
Base2.
apply2D
static sourceD.apply2D()
Scroll and zoom the flat map to this frame's pose.
skipPressed
static sourceD.skipPressed()
Skip pressed.
ride
static sourceD.ride()
The round of a long shot is in the air: the camera goes with it.
sequenceStart
static sourceD.sequenceStart(info)
An Action Sequence starts playing on the map (from the sequence player): { unitId, targetIds, cameraSteps, impactAt, length }.
Details
An Action Sequence starts playing on the map (from the sequence
player): { unitId, targetIds, cameraSteps, impactAt, length }. One
with camera steps is filmed by those, not by the automatic shots.
sequenceCamera
static sourceD.sequenceCamera(step, context)
A camera step of an Action Sequence playing on the map.
Details
A camera step of an Action Sequence playing on the map. context is
{ user, target, targets } (map characters). Returns false when the
camera stays where it is (level Off, or no battle).
cutSubjects
static sourceD.cutSubjects()
The characters the cutaway opens walls and roofs for during a shot; null when the view is the map's.
apply3D
static sourceD.apply3D(spriteset)
Apply3 d.