From: Dan P. <ba...@al...> - 2005-11-20 16:53:14
|
On Nov 20, 2005, at 6:19 AM, Sam Steele wrote: > imageSet is an extension of Banner that holds a vector<> of > textures and lets you select which one to display by index. It > does a neat blending transition into the new selection when it > changes. It's used on the TikiBlap level selector to show > screenshots of the levels. I've actually got one of these from FoF too, and it's capable of doing a timed slide show (used it in the background of the FoF main menu :). I'm just gonna go through and list off a few generic Drawables/ Animations I have in the FoF sources that would be nice to include, potentially: - log3dmover/exp3dmover -- similar to the log/exp 2d movers, but works in 3d - gridselector -- takes an array of textures, both active and inactive states as desired, and displays N selectors around those textures, each potentially with their own color and overlay texture (see: FoF character or difficulty select, jukebox menu, etc) - manualviewer -- takes an html-like input file and compiles it into a binary manual format which can then be scrolled through with inline images and all (see: FoF online manual) - menubox -- a little pop-up box that lets you display N menu options and have the user choose one - messagebox/popup -- the actual pop-up used by menubox as a backdrop - screenblinds -- a powerpoint-like transition effect where dark bars move onto or off of the screen with alpha blending at the edges (seen in the song menu of FoF) - scroller -- bog-standard demo style scrolltext (character menu in FoF) - slideshow -- described above - soundfader -- animation that fades the background music - starfield -- a little less generic but people still seem to like 'em :) - textdisplay -- takes a vector of strings and displays them centered in a box (with or without backdrop) - wavetxr -- otherwise acts like a banner, but does a "water droplet" effect with shading and distortion (it's faked, not real 3d :) I think I may also eventually drop the code used for the options menu in FoF into a generic piece that handles hierarchical menus. It's not too far from it as it is but could use a little genericization. |