Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!oliveb!epimass!csi!jwhitnel From: jwhitnel@csi.UUCP (Jerry Whitnell) Newsgroups: comp.sys.mac.programmer Subject: Re: screen swapping Message-ID: <1478@csib.csi.UUCP> Date: 14 Apr 88 15:58:27 GMT References: Reply-To: jwhitnel@csib.UUCP (Jerry Whitnell) Organization: Communications Solutions Inc., San Jose, Ca Lines: 25 In article bm1q+@andrew.cmu.edu (Benjamin Jameson McCurtain) writes: |> don't do it ... mac II stuff, etc. etc. etc... use off screen buffers |> and copy it onto the screen, etc. |NO NO NO NO!!!! I could care less about Mac II's right now, all I want to |do is REALLY FAST animation of a bunch of objects and even screen scrolling! | |Dark Castle (and beyond DC) both use screen swapping ( you can see the |effect by having the Jclock init while the screen is scrolling in the |labyrinths, it's all over the place)... Does these games work on a Mac II? Beyond Dark Castle works on the Mac II in 2-bit mode (b&w). Dark Castle came out before the Mac II was known to exist and so does not work. The trick to supporting both seems simple enough with only a little extra work on your part. Detirmine whether you are running on a Plus/SE or a II. If on the Plus/SE, use screen swapping. If on the II, make up a offscreen bit-map that you draw into, then copybit the whole thing onto the real screen. On a II, in two-bit mode this should be fast enough. A little more work and we II owners won't flame you when your program doesn't work on our machines :-). | |Ben -- bm1q@andrew.cmu.edu Jerry Whitnell Been through Hell? Communication Solutions, Inc. What did you bring back for me? - A. Brilliant