The ShadeBob Demo Effect V1.1 3rd January 1998 James Rutherford (Mr.Frosty / Hex Heroes) http://www.netyaroze-europe.com/~mrfrosty j.t.rutherford@sms.ed.ac.uk [Please ensure you read the cautionary note] A pretty GsSPRITE routine reminiscent of the shadebob effects commonly found on the Amiga demo scene. This sort of thing is actually pretty simple to do with Yaroze because the transparency effects need no extra coding. 450 transparent sprites follow a complex sin-wave track across the screen (I could possibly squeeze a few more out, but I'm erring on the side of 1-frame caution). Standard and analogue pads are supported. ------------------------------------------------------------------------ Standard Pad and Analogue Pad shared controls: Triangle Button - Transparency rate 0 // 0.5*B + 0.5*F Square Button - Transparency rate (1<<28) // 1.0*B + 1.0*F Circle Button - Transparency rate (1<<29) // 1.0*B - 1.0*F Cross Button - Transparency rate (1<<28)+(1<<29) // 1.0*B + 0.25*F [for explanation of semi-transpareny rates see the section about GsSPRITEs in the Yaroze Library reference manual] Shoulder right 1 - Increase sprite spacing Shoulder right 2 - Decrease sprite spacing Start - Quit Select - Freeze screen Standard Pad Only: Direction up - Increase screen red Direction down - Decrease screen red Direction right - Increase screen green Direction left - Decrease screen green Shoulder left 1 - Increase screen blue Shoulder left 2 - Decrease screen blue Analogue Pad Only: Left stick right - Increase screen red Left stick left - Decrease screen red Left stick up - Increase screen green Left stick down - Decrease screen green Right stick right - Increase screen blue Right stick left - Decrease screen blue ------------------------------------------------------------------------ CAUTION: If you think you are susceptible to epileptic seizures then take it easy with the analogue sticks and the transparency flipping. To run, load djsetup and type 'siocons auto'. Things to try: * Find loopy patterns. * Hold select to freeze the screen and use R1 and R2 to make the sprite snakes stretch. * Find nice colour / transparency rate combinations. * Turn off the lights, bung a CD on loud and use like one of Yak's light-synths. * Learn about semitransparency? * Use it as a screensaver. * Set the transparency rate to something freaky and twiddle the analogue sticks for all you're worth! * Set it running in the background at a party. Possible future implementations: * An automatic mode (music controlled??) Whatever, have fun with it, post me a comment and visit the mrfrosty homepage on the SCEE server once in a while! James Rutherford (mrfrosty).