Path: chuka.playstation.co.uk!news From: "JohnT" Newsgroups: scee.yaroze.beginners Subject: Re: Sprite sizes Date: Wed, 18 Mar 1998 21:34:22 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 44 Message-ID: <6epebh$l5r10@chuka.playstation.co.uk> References: <6ellbo$eiv1@emeka.playstation.co.uk> <350EEE49.F515326E@netmagic.net> NNTP-Posting-Host: nettech.demon.co.uk X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Elliott Lee wrote in message <350EEE49.F515326E@netmagic.net>... >Lewis_Evans@Playstation.sony.com wrote: >> >> From: Lewis_Evans@Playstation.sony.com >> To: news@playstation.co.uk >> >> Sprites can be as small as you like, down to 1x1 pixels. >> You can display sprites anywhere on screen, no alignment >> needed; alignments affect textures' pixel and clut areas in VRAM. >> Must be due to something else. >> >> Lewis >> >> Is there a minimum size for sprites? I tried a 4x4 sprite over the weekend >> and nothing appeared! However, on second thoughts, as the image of the >> sprite was in a 16x16 grid that is used for background cells (the small >> sprite used to be displayed by the background routine) the actual image of >> the sprite is in the center of the cell. Could it have been because the >> sprite did not start on a 16 pixel boundary along the X axis? >> JohnT > >John, if you meant whether or not the sprite image data in VRAM had >to be aligned on 16-pixel boundaries (not in the frame buffer), then >yes. As a general rule, I align all my sprites onto 16x/16y pixel >boundaries and I've had no problems ever since starting to do that. >As for CLUTs, I align them only on 16x pixel boundaries. > That is exactly what I meant! It would be a sad machine if the sprites could only be placed on the screen on 16 pixel boundaries!! ;) Think of all the extra sprite images just to make one move a pixel at a time!! JohnT ------------------------------------------------ Contact me at http://wwp.mirabilis.com/9461567 Send e-mail to johnt@nettech.demon.co.uk Visit my web site at www.coco.net.uk/johnt ------------------------------------------------