Path: chuka.playstation.co.uk!news From: Jim Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Fading.. Date: Mon, 11 May 1998 00:02:08 +0100 Organization: Mobius Codeworks Ltd. Lines: 20 Message-ID: <355631F0.B2491ABC@codeworks.demon.co.uk> References: <6j25v8$aek17@chuka.playstation.co.uk> NNTP-Posting-Host: codeworks.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (WinNT; I) Hi Anders, I just draw a filled transparent GsBOXF over the top of what ever image I want to fade, but I use the subtraction semi-transparency mode. So if I want to fade up from black, I set the rgb of the box to (255,255,255) to subtract all colour from the frame, and then decrement the rgb every subsequent frame to ramp it up. Be sure to set the priority higher than the every thing else in the OT as well. Cheers Jim Anders Clerwall wrote: > > Hi.. I've seen some fading done in many Yaroze programs.. How's it done? > If I LoadImage(&pic, (u_long *)picaddr); how do I fade it up/down to/from > black??? I really wanna do this.. please help! > > // Anders