home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!spool.mu.edu!sgiblab!cs.uoregon.edu!mystix.cs.uoregon.edu!mkelly
- From: mkelly@mystix.cs.uoregon.edu (Michael A. Kelly)
- Subject: Re: Arcade-style animation...
- Message-ID: <1993Jan23.222607.13981@cs.uoregon.edu>
- Sender: news@cs.uoregon.edu (Netnews Owner)
- Organization: High Risk Ventures
- References: <1993Jan23.014127.5750@cs.ucla.edu>
- Date: Sat, 23 Jan 1993 22:26:07 GMT
- Lines: 22
-
- In article <1993Jan23.014127.5750@cs.ucla.edu> tj@kona.cs.ucla.edu (Tom Johnson) writes:
- >It looks like drawing directly to the window's pix map will be required.
-
- Yep. And you'll have to write it in assembly.
-
- >But! If I'm drawing directly to the screen, how do I handle the
- >"EraseSprite()" function? Since I want to support a complex color
- >background (ie a 256 color pict, not just a black bacground with a few
- >stars like most other games I've seen), I need to restore the old location
- >of the sprite.
-
- You'll have to keep a copy of your background in another offscreen pixmap,
- and copy the appropriate pixels from there to erase each sprite.
-
- Later,
-
- Mike.
- --
- _____________________________________________________________________________
- Michael A. Kelly Senior Partner
- mkelly@cs.uoregon.edu High Risk Ventures
- _____________________________________________________________________________
-