Skip to content

InGameCutScenePlayer ​

Inherits: Node

InGameCutScenePlayer is a simple base class for in-game cutscenes that use AnimationPlayer. Cutscene scenes should extend this class and have an AnimationPlayer as a child node.

Description ​

Key features:

  • Simple play() and stop() interface for cutscenes
  • Requires an AnimationPlayer node to be present
  • Emits signals for cutscene events
  • Handles basic cutscene state management

Usage:

  1. Create a scene that extends InGameCutScenePlayer

  2. Add an AnimationPlayer as a child

  3. Create your cutscene animations

  4. The UIContainer will instantiate and play your cutscene

Methods ​

voidplay( animation_name: String = "" )
voidstop()

Signals ​

cutscene_started() ​

Emitted when the cutscene starts.

cutscene_finished() ​

Emitted when the cutscene ends.

Method descriptions ​

void play( animation_name: String = "" ) ​

Plays the cutscene animation

void stop() ​

Stops the cutscene animation