Path: utzoo!mnetor!uunet!husc6!think!ames!oliveb!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga Subject: Re: Need MORE HELP on GAME DEVELOPMENT on the Amiga Message-ID: <39432@sun.uucp> Date: 20 Jan 88 19:32:16 GMT References: <1617@ssc-vax.UUCP> <5038@well.UUCP> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 25 Keywords: Just one more question (or two)... In article <5038@well.UUCP> ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) writes: |> /* |> * Example assumes that colors 8-15 are dimmer versions of |> * colors 0-7. |> */ |> SetAPen (RastPort, 0xffL); /* Set all bits */ |> RastPort.Mask = 0x08; /* Set high bit */ |> /* Draw shadow over whatever's there. */ |> RectFill (RastPort, x1, y1, x2, y2); Just out of curiosity, has anyone tried opening a 4 bitplane window, and then creating two additional rastports one of which is a 3 plane, and one of which is a 1 plane? Then for background images you draw into the 3 plane rastport, and for shadow stuff you draw into the 1 plane rastport. Maybe setup Bobs for both and use them simultaneously? Just a thought, I'll have to try it out sometime. Also there is the TV*Text way of doing shadows. Basically you use a pattern fill, and fill a light dither of black into your background. Due to the way the eye perceives things the area will seem 'darker'. Try using the gadget ghosting pattern (which if I recall is 0x8888,0x2222). --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.