Article View: comp.sys.mac
Article #27079Re: Animation!
From: Myron-Meier
Date: Thu, 07 Apr 1988 22:13
Date: Thu, 07 Apr 1988 22:13
16 lines
1217 bytes
1217 bytes
In Message <8WKEany00VsEFLs08A@andrew.cmu.edu>, es1o+@andrew.cmu.edu writes > Ok, here's another problem I'd like some help with. I'm working >on a program where several small objects move around in front of a >background. The problem is I don't know a good way to replace the >background after my objects have been erased and moved. At the >moment everything (including the background) is a separate picture >(PICT) resource. What do I need to do?!? > > Eric One thing you might try is to draw the whole thing into an offscreen bitmap then copybits it onto the screen. For each frame you erase the offscreen bitmap, draw the background, then draw the forground objects, and then transfer it onto the screen. The only problem with this is that copybitsing into mem then onto the screen might take longer than you want...
Technical Details
Message-ID:
<4369@cup.portal.com>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!portal!cup.portal.com!Myron-MeierReferences:
<8WKEany00VsEFLs08A@andrew.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!portal!cup.portal.com!Myron-Meier From: Myron-Meier@cup.portal.com Newsgroups: comp.sys.mac Subject: Re: Animation! Message-ID: <4369@cup.portal.com> Date: 7 Apr 88 22:13:34 GMT References: <8WKEany00VsEFLs08A@andrew.cmu.edu> Organization: The Portal System (TM) Lines: 15 XPortal-User-Id: 1.1001.2552