Here is an early demo of a timeline feature I’m building in a PlayCanvas project. This uses an array of data to determine which actions to perform at a specified time during the sequence.

Concepts * Entities publish events that the timeline can run * Timeline reads an array of objects containing time and action(s) to execute * Actions are run by calling the events using “app . fire(“event-name)”

You can try it out or checkout time timeline script here. Run the scene and press 0 (zero) on your keyboard to kick off the timeline.