Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!hplabs!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga Subject: Re: Need MORE HELP on GAME DEVELOPMENT on the Amiga Keywords: Just one more question (or two)... Message-ID: <5051@well.UUCP> Date: 23 Jan 88 22:19:28 GMT References: <1617@ssc-vax.UUCP> <5038@well.UUCP> <39432@sun.uucp> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Organization: Lt. Col. Oliver North, Overseas Shipping and Receiving. Lines: 22 In article <39432@sun.uucp> cmcmanis@sun.UUCP (Chuck McManis) writes: >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. [ ... ] Yup, it's perfectly valid. In fact, I did it for a commercial program I wrote in early '86 (Typing Tutor plus Word Invaders). 1.1 had a bug in the ScrollRaster() call, in that it failed to observe the RastPort.Mask field correctly. So I set up a "bogus" RastPort that pointed to the plane I was interested in. Worked great. A neat side effect was that the programming got easier; I didn't have to do all sorts of fiddling around with a single RastPort's mask field. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape ihnp4!ptsfa -\ \_ -_ Recumbent Bikes: dual ---> !{well,unicom}!ewhac O----^o The Only Way To Fly. hplabs / (pronounced "AE-wack") "Simplicity and clarity should be your theme in dress." -- A fortune cookie I got in LA's Atomic Cafe.