home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / pascal / 6543 < prev    next >
Encoding:
Text File  |  1992-11-12  |  2.3 KB  |  53 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!ukma!darwin.sura.net!udel!sbcs.sunysb.edu!csws2.ic.sunysb.edu!clane
  3. From: clane@csws2.ic.sunysb.edu (Charles F Lane)
  4. Subject: Re: tp graphics
  5. Message-ID: <1992Nov13.000718.25871@sbcs.sunysb.edu>
  6. Sender: usenet@sbcs.sunysb.edu (Usenet poster)
  7. Nntp-Posting-Host: csws2.ic.sunysb.edu
  8. Organization: State University of New York at Stony Brook
  9. References: <BxGryz.8H9@watserv1.uwaterloo.ca>
  10. Date: Fri, 13 Nov 1992 00:07:18 GMT
  11. Lines: 40
  12.  
  13. In article <BxGryz.8H9@watserv1.uwaterloo.ca> nowinski@watserv1.uwaterloo.ca (NOWINSKI A - OPTOMETRY ) writes:
  14. >
  15. >Subject : Help needed for Graphics in Turbo Pascal 6.
  16. >
  17. >Hi,
  18. >  my name is Jack Nowinski. I have some trouble with graphics in
  19. >Turbo Pascal, I have three questions. I would really appreciate
  20. >
  21. >1) I want a picture that has the PCX or GIF extension to show up  
  22. >   on my graphics screen, and in any screen resolution I want     
  23. >   i.e. (320x200x256, 640x480x16 etc). I also want the 
  24. >   picture to show up in a flash, instead of a slow fade.
  25.  
  26. You can find GIF loaders in Pascal on FTP sites.  E-mail me if you
  27. don't know where to look.  I think they're kind of slow, though -- not
  28. too sure.
  29.  
  30. >
  31. >2) I would like to have people walk in the background without     
  32. >   changing color or leaving black blocks behind. When I draw a   
  33.  
  34. What you need is a sprite engine.  I have various units obtained from FTP
  35. sites.  Some names are SPRITES.ZIP, WGT_<SomethingOrOther>, TPANI, and
  36. others.  I am working on one myself for a while now and hope to release it
  37. within the next century.  E-mail for additional info on the above units.
  38.  
  39. >3) When I use SetActivePage() or SetVisualPage() it does not work 
  40. >   in the mode I am using, I am using the 320x200x256 mode in     
  41. >   Turbo Pascal. If I have a background picture and I want to     
  42.  
  43. 320x200x256 mode (mode $13) only offers one page of graphics memory.
  44. You can get drivers for 320x240x256 with 2 pages from FTP sites (a wonderful
  45. thing, these FTP sites) ;-)  You could dynamically allocate a 64k buffer to
  46. use as a second page, but it's kind of slow copying standard memory to video
  47. memory and you would have to make your own drawing routines.
  48.  
  49. -- 
  50.                           | "So who is this Al Gorithm guy they keep
  51. Charles F. Lane           |  mentioning in my Computer Science classes?"
  52. clane@Libws1.ic.sunysb.edu|
  53.