Mail Archives: djgpp/1996/06/19/07:32:38
In article <Pine DOT SGI DOT 3 DOT 91 DOT 960618173249 DOT 174C-100000 AT tower DOT york DOT ac DOT uk>
slh100 AT york DOT ac DOT uk "Shawn Hargreaves" writes:
> > I saved the screen as a 320 x 200 256 colour PCX file. However,
> > upon loading it in to the grabber program, when trying to grab an
> > image from the PCX file, the dotted box seems to be on a grid, not
> > allowing me to cut my images out properly. Is there any way to fix
> > this? I looked at the code for the grabber routine, but couldn't
> > find a way around this.
>
> I did this to make life easier, sorry if it is having the opposite
> effect :-) My reasoning was that, given a lot of images in a single PCX
> file (eg. I typically draw all the frames of a 32x32 character animation
> in one PCX), without some sort of grid it would be a nightmare trying
> to grab just the right bit of the image. If you position all your frames on
> 16x16 grid squares, it's much easier to get the right bit of the bitmap.
Hi,
The grid system probably does make life easier. The only reason I found it a
little strange, was because I used many grabbers like this on the Amiga, when I
was working with the AMOS language, and I used similar methods to create a
sprite/bob bank.
[Code Snipped]
Thanks, I will Rem out the two lines...
> I suppose this really ought to be configurable...
Your original method is probably much better... I'm just strange, and draw all
my little images in little white boxes of the right size :))
--
Cheers,
Ben -=Look for "Moo-Juice" on the IRC=-
---------------------====### legal notice ###====--------------------------
Microsoft Network is prohibited from redistributing this work in any
form,in whole or in part. License to distribute this post is available to
Microsoft for $499. Posting without permission constitutes an agreement to
these terms.
- Raw text -