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:
Create a scene that extends InGameCutScenePlayer
Add an AnimationPlayer as a child
Create your cutscene animations
The UIContainer will instantiate and play your cutscene
Methods ​
void | play( animation_name: String = "" ) |
void | stop() |
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