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