Class: A_CamMove

b5. A_CamMove

b5.A_CamMove

new b5.A_CamMove(target, dx, dy, duration){b5.A_CamMove}

actions/generic/camera.js, line 114

Action that moves a scene camera dx, dy units over the specified time then exits

Created actions should be added to an actor or scenes actions list to be processed

For a complete overview of Actions see Booty5 Actions Overview

Name Type Description
target string | b5.Scene

Path to or instance of target scene that contains camera

dx number

Distance to move on x axis (passing null will not affect the property)

dy number

Distance to move on y axis (passing null will not affect the property)

duration number

Amount of time to move over in seconds

Returns:
Type Description
b5.A_CamMove The created action