Difference between revisions of "videoPage(whichPage, which folder, clip0, clip1, which folder, clip0, clip1, priority, vectorPage, vidCommand)"

From pinHeck Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
+
Overloaded function version of videoPage.
  
This command loads [whichpage] with both the front [folder, clip0, clip1] and back [second folder, clip0, clip1] layers at [priority] priority level. When the video ends, the system will jump to [vectorPage] page.
+
Works the same way as videoPage, but loads both video layers (0 and 1) of the page at the same time.
  
[vidCommand] tells the system what to do with this page we just loaded:
+
The first video specified (0) is the foreground layer. Black pixels act as transparency. The second video specified (1) is the background layer. It is only visible through the black pixels of the foreground layer.
  
'''vidCommands defines:'''
+
When two videos are running the frame rate is cut in half to 15 FPS. The playback of each layer can be controlled separately with the videoControl() function.
 
+
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.
+

Latest revision as of 03:17, 18 October 2016

Overloaded function version of videoPage.

Works the same way as videoPage, but loads both video layers (0 and 1) of the page at the same time.

The first video specified (0) is the foreground layer. Black pixels act as transparency. The second video specified (1) is the background layer. It is only visible through the black pixels of the foreground layer.

When two videos are running the frame rate is cut in half to 15 FPS. The playback of each layer can be controlled separately with the videoControl() function.