videoPage(whichPage, which folder, clip0, clip1, which folder, clip0, clip1, priority, vectorPage, vidCommand)

From pinHeck Wiki
Revision as of 02:32, 18 October 2016 by Benheck (Talk | contribs)

Jump to: navigation, search

Kernel 3 has (8) video pages which are stored in memory. Each page has its own set of (8) graphics which can include scores, progress bars and sprites.

This command loads [whichpage] with both the front [folder, clip0, clip1] and back [second folder, clip0, clip1] layers at [priority] priority level.


whichPage

Sets which page this video should be loaded in, from 0-7.



When the video ends, the system will jump to [vectorPage] page. If the two layer videos are of different lengths, the vector jump will occur when the shorter video reaches its end.

[vidCommand] tells the system what to do with this page we just loaded:

vidCommands defines:

loadNormal - Sets up a video page but doesn't load it yet. Use this when setting up several pages that you want to cycle between.

loadNew - Sets up a video page and immediately runs it. Use this when you want to start playing a new loop.

loadInt - Use this to play a quick video, then return to whatever loop was already playing. When using loadInt you don't need to set a vectorPage the system does this automatically.

loadQueue - Not yet implemented.

fghfg