Difference between revisions of "videoQ(which folder, clip0, clip1, attributes, progressBar, priority)"

From pinHeck Wiki
Jump to: navigation, search
(Created page with "Works exactly like the normal video command, except it schedules this video to begin playing as soon as the current one ends. A typical usage might be: playSFX(0, 'P', '9',...")
 
 
Line 1: Line 1:
 
Works exactly like the normal video command, except it schedules this video to begin playing as soon as the current one ends.
 
Works exactly like the normal video command, except it schedules this video to begin playing as soon as the current one ends.
 +
  
 
A typical usage might be:
 
A typical usage might be:
  
 
playSFX(0, 'P', '9', 'X' + random(3), 255);                //Win dialog!
 
playSFX(0, 'P', '9', 'X' + random(3), 255);                //Win dialog!
 +
 
video('P', '9', 'Z', noExitFlush, 0, 255);                //Win video!
 
video('P', '9', 'Z', noExitFlush, 0, 255);                //Win video!
 +
 
numbers(0, numberFlash | 1, 255, 11, modeTotal);          //Set graphic #0 to show how many points we got in this mode
 
numbers(0, numberFlash | 1, 255, 11, modeTotal);          //Set graphic #0 to show how many points we got in this mode
 +
 
videoQ('P', '9', 'V', noEntryFlush | B00000011, 0, 255);  //Show mode total along with the graphic of the points.
 
videoQ('P', '9', 'V', noEntryFlush | B00000011, 0, 255);  //Show mode total along with the graphic of the points.
 +
  
 
Your kernel can send this all in one shot, and then the A/V processor will handle the timing from there.
 
Your kernel can send this all in one shot, and then the A/V processor will handle the timing from there.

Latest revision as of 19:49, 21 September 2014

Works exactly like the normal video command, except it schedules this video to begin playing as soon as the current one ends.


A typical usage might be:

playSFX(0, 'P', '9', 'X' + random(3), 255); //Win dialog!

video('P', '9', 'Z', noExitFlush, 0, 255); //Win video!

numbers(0, numberFlash | 1, 255, 11, modeTotal); //Set graphic #0 to show how many points we got in this mode

videoQ('P', '9', 'V', noEntryFlush | B00000011, 0, 255); //Show mode total along with the graphic of the points.


Your kernel can send this all in one shot, and then the A/V processor will handle the timing from there.