Path: chuka.playstation.co.uk!news From: "Carlos Pieterse" Newsgroups: scee.yaroze.beginners Subject: Re: TIM File Attribute Date: Wed, 29 Jul 1998 21:24:31 +0200 Organization: PlayStation Net Yaroze (SCEE) Lines: 28 Message-ID: <6pnssv$3ue16@chuka.playstation.co.uk> References: <6pnohn$3ue14@chuka.playstation.co.uk> NNTP-Posting-Host: pm29-10.image.dk X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 > I know this is probably a really easy question to answer but can anyone >explain how I calculate the attribute number for TIM files ?? I have used >Ira Rainey's Sprite tutorial which uses 8 bit sprites but I am now working >on a breakout game using 4 bit TIM's and it doesn't work !! Someone please >help. Ok, the bits 24-25 must be set to 0, when you use 4bit sprites. Like this: bit 25,24 - 0,0 = 4bit bit 25,24 - 0,1 = 8bit bit 25,24 - 1,1 = 15 bit direct Look under GsSPRITE in Library Reference, where the used bits of attribute are described!!! > >Cheers, > > >James Carlos Pierterse