Make Video Play fullscreen after intro animation


#1

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!


#2

Hi there,

Is your intro animation a video, timeline or state?

Mark


#3

It’s a timeline


#4

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.

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