Make Video Play fullscreen after intro animation

Hello,

I’d like to play my fullscreen AFTER my intro animation is finished. I was wondering what code I’d need for this, and where I’d input it. Thank you!

Hi there,

Is your intro animation a video, timeline or state?

Mark

It’s a timeline

Awesome, what you’re looking for is the ‘complete’ event that is fired by timeline objects when they have reached the end.

The easiest way to access this is by dragging your timeline into a script node and selecting to add the complete event handler.

52

Any code you put in the resulting event handler function that gets generated (between the two { } ) will be run once the timeline has completed.

Cheers,
Mark