Super Scroller Supplement

Home Page · Up 1 Level · Site Map · Send Us Mail · ICDIA Main


Overview:

Super Image Scroller allows you to navigate back-and-forth or up-and-down on an specially prepared scrolling-picture. The scrolling-picture may be longer or wider than the screen, and is superimposed onto a full-screen picture. The scrolling-picture itself can have hotspots on it. Scrolling Control is done via Menu-Editor-created $ hotspots, or hotspots on the scrolling picture, as created by makesscr. cdi_sccr is used as a background plugin and runs until the user clicks a non-$ hotspot (on or off the scrolling-picture), which causes a branch to the script defined by the hotspot.

Plug-ins required for operation:

makesscr - a utility which manufactures the necessary scroller files for use with MediaMogul. Runs under OS-9 only.

cdi_cssr - the Mogul plugin which provides the scrolling feature.

MediaMogul utilities required to prepare assets:

makesscr

Assets to create before using plug-in:

Special preparations:

How plug-in works:

A full-screen foreground picture is brought in first via a dissolve, cut, etc. Next, cdi_sscr is started up as a background process. 00:20 or so later, it begins to scan the background video plane for files that end in .0, .1, .2 or .3. As they load, it moves them elsewhere in memory. After all the .n files have been loaded, the full-screen background picture is loaded. It has to be loaded last, else it would be obliterated by a .n file. Finally, the makesscr manufactured menu file (something.mnu) is loaded, with WAIT. When cdi_sscr sees that a WAIT command has been done, it displays the scrolling picture and draws the scroll bar (if specified). It also retrieves the contents of variable "X" and scrolls the image to that spot. Clicking on $ hotspots invoke navigation of the scroller, etc. Clicking non-$ hotspots invoke a branch. cdi_sscr quits at the branch, storing the current scroll position in variable "X".

To properly setup a script to use SuperScroller:

Examples:

Typical script:

00:00   	Skip_off      
00:00   	Dissolve      	/h0/PLUGINS/SCROLL/VIDEO/scrollr.dyu	00:20  
00:00   	Call_bg       	/h0/SUBROUT/cdi_sscr CURS_DOWN,PAGER,TRANSPARENT 5
00:20   	Background    	/h0/PLUGINS/SCROLL/VIDEO/vtr.0
01:10   	Background    	/h0/PLUGINS/SCROLL/VIDEO/vtr.1
02:00   	Background    	/h0/PLUGINS/SCROLL/VIDEO/scrollr.dyu
02:00   	Wait          	/h0/PLUGINS/SCROLL/MENUS/vscroll.mnu

;CA 4485479

Typical makesscr manufactured .mnu file:
VIDEO /H0/PLUGINS/SCROLL/VIDEO/SCROLLR.DYU
REGION $DOWN_BUTTON NO_RETURN D_RECT 396 464 480 544 36
REGION $UP_BUTTON NO_RETURN D_RECT 402 413 474 465 36
REGION $WINDOW NO_RETURN D_RECT 494 44 668 546 36
TIMEOUT / NO_RETURN
REGION /h0/PLUGINS/SCROLL/SCRIPTS/scroll.s01 RETURN D_RECT 494 0 668 160
REGION /h0/PLUGINS/SCROLL/SCRIPTS/scroll.s02 RETURN D_RECT 508 182 650 256
REGION /h0/PLUGINS/SCROLL/SCRIPTS/scroll.s03 RETURN D_RECT 508 872 650 946
REGION /h0/PLUGINS/SCROLL/SCRIPTS/scroll.s04 RETURN D_RECT 508 970 650 1044
REGION /h0/PLUGINS/SCROLL/SCRIPTS/scroll.s05 RETURN D_RECT 508 1068 650 1142
REGION /h0/PLUGINS/SCROLL/SCRIPTS/scroll.s06 RETURN D_RECT 508 1166 650 1240
REGION /h0/PLUGINS/SCROLL/SCRIPTS/scroll.s07 RETURN D_RECT 508 1264 650 1338
REGION /h0/PLUGINS/SCROLL/SCRIPTS/scroll.s08 RETURN D_RECT 494 1374 666 1534

Home Page · Up 1 Level · Site Map · Send Us Mail · ICDIA Main