Skip to content

Cutscenes

Wizard edited this page Dec 10, 2022 · 2 revisions

The Files

  • Intro cutscenes are found in data/cutscenes/song.hx.
  • Outro cutscenes are found in data/cutscenes/song-end.hx.
function create() {
    startVideo(Paths.video("video"), function() {
        close();
    });
}
Example of playing a video during a cutscene.

Running the close(); function either starts from intro or ends from cutscene.

Clone this wiki locally