Kraken Logo

Kraken Engine

DocumentationGuidesShowcaseCommunity
Ctrl
K
Navigating the Docs
Building Docs
Overview
Anchor
AnimationController
Audio
Batcher
Body
Camera
Capsule
CastHit
CharacterBody
Circle
Collision
Color
DistanceJoint
Effect
Event
FilterJoint
Flip (Texture)
Font
ImageLayer
InputAction
Joint
Layer
Line
Map
MapObject
Mask
MotorJoint
MouseJoint
ObjectGroup
Orchestrator
PixelArray
PolarCoordinate
Polygon
PrismaticJoint
Rect
RevoluteJoint
RigidBody
Sample
Sampler
Shader
SheetStrip
StaticBody
Stream
Style
Terrain (TileSet)
Text
TextProperties
Texture
Tile (TileLayer)
Tile (TileSet)
TileLayer
TileResult (TileLayer)
TileSet
Timer
Transform
Tween
Vec2
Vertex
WeldJoint
WheelJoint
World

Built bydurkisneer1.Kraken Engine is open source and available onGitHub.

  1. Docs
  2. Classes
  3. Orchestrator

Orchestrator

Timeline animator for Transform objects.

Constructor

  • Orchestrator(target: Transform) → OrchestratorOrchestrator(target: Transform) → Orchestrator

Timeline animator for Transform objects.

Properties


NameDescriptionType
finalizedWhether the orchestrator has been finalized.bool
finishedWhether the animation has completed.bool
loopingWhether the animation should loop when finished.bool
playingWhether the animation is currently playing.bool

Methods


Finalize

finalize() → Nonefinalize() → None

Finalize the orchestrator, preventing further edits.

Must be called before play(). Logs a warning if called multiple times.

Parallel

parallel(*effects: Effect) → Orchestratorparallel(*effects: Effect) → Orchestrator

Add multiple effects to run in parallel.

Args

  • *effects : Variable number of Effect objects to run simultaneously.

Returns

Orchestrator : Self for method chaining.

Pause

pause() → Nonepause() → None

Pause the animation at the current position.

Play

play() → Noneplay() → None

Start playing the animation from the beginning.

Logs a warning if not finalized or if there are no steps.

Resume

resume() → Noneresume() → None

Resume a paused animation.

Rewind

rewind() → Nonerewind() → None

Reset the animation to the beginning without stopping.

Stop

stop() → Nonestop() → None

Stop the animation and reset to the beginning.

Then

then(effect: Effect) → Orchestratorthen(effect: Effect) → Orchestrator

Add a single effect to the timeline.

Args

  • effect : The Effect to add.

Returns

Orchestrator : Self for method chaining.

PreviousObjectGroup
NextPixelArray

On this page

ConstructorPropertiesMethodsFinalizeParallelPausePlayResumeRewindStopThen