home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22266 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.5 KB

  1. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!cs.utexas.edu!sun-barr!olivea!apple!goofy!kip-53.apple.com!chris_russo
  2. From: chris_russo@gateway.qm.apple.com (Christopher Russo)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Arcade-style animation...
  5. Message-ID: <34994@goofy.apple.COM>
  6. Date: 27 Jan 93 02:40:31 GMT
  7. References: <1993Jan23.014127.5750@cs.ucla.edu> <1993Jan25.094256.12845@rulway.LeidenUniv.nl>
  8. Sender: usenet@goofy.apple.COM
  9. Organization: Apple
  10. Lines: 21
  11.  
  12. In article <1993Jan25.094256.12845@rulway.LeidenUniv.nl> Theo Vosse, 
  13. vosse@ruls41.LeidenUniv.nl writes:
  14. >Life is simple... Forget the UpdateScreen function, and implement the
  15. >EraseSprite as a copy of the old contents (that were stored under the
  16. >sprite) back to its original position. So, DrawSprite must copy the
  17. >contents of the sprite's position before drawing the actual sprite.
  18.  
  19. Unless you have sprites overlapping each other, which would lead to some 
  20. ugly flicker and possibly a mess on the screen.  You'll probably want to 
  21. handle overlapping sprites as a special case.  Oh, and get that 'update the 
  22. entire screen during refresh' idea out of your mind completely unless you 
  23. have the secret of Mac page-flipping.
  24.  
  25. Speaking of which, anyone have some low-level info, like where the screen 
  26. pointer is kept, and the procedure for changing it?  Come on, give with the 
  27. info.
  28.  
  29. -- Christopher Russo
  30. -- Funny bumper sticker I saw the other day:
  31. -- "Welcome to California, now go home!"
  32. -- day 408.974.6070
  33.