Path: chuka.playstation.co.uk!news From: rs108@mdx.ac.uk (Robert Swan) Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Sprite bug ? or me ? Date: Mon, 06 Jul 1998 23:06:38 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 27 Message-ID: <35a15812.938475@www.netyaroze-europe.com> References: <359E28D7.4E53@livemedia.co.uk> <359F45A0.D1846764@compuserve.com> <359fa89f.1123741@www.netyaroze-europe.com> <35A0F14F.C43A88CF@ndirect.co.uk> <35A115EB.3453F7CF@compuserve.com> <35A1187A.551DC7D4@compuserve.com> NNTP-Posting-Host: stu-dialup1.mdx.ac.uk X-Newsreader: Forte Free Agent 1.11/32.235 On Mon, 06 Jul 1998 19:33:30 +0100, Nick Slaven wrote: >Nick Slaven wrote: >> >> Herbs wrote: >> > width. i.e. the width of a 4-bit image should be a multiple of 4 pixels >> > etc. I found this when trying to use a 7x7, 4-bit sprite and got grabage >> > on the 8th pixel across. There is an exception with 1x1 sprites tho, >> > although I beleive they should still be aligned correctly. >> >> I thought they could be any length you liked, I'm sure I've got 7 9 & 11 >> pixel wide 16 bit sprites. >> >Oops forgot that I'm not using GsSortFastSprite if that makes any difference > >Nick S Hmm, somethings bizarre. When I did a 1x1 sprite it seemed to make it a 4x1 sprite (for 16colour) so i had to make sure my 1x1 sprite had the black as transparent option set otherwise i got solid black to the right of the dot. In fact, you can see this in the starfield demo on my webpage. It seems maybe we all get different results, but Id say try to keep them 16bit aligned :) Robert Swan rs108@mdx.ac.uk