Path: chuka.playstation.co.uk!news From: "JohnT" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Using BG Maps Date: Fri, 27 Feb 1998 11:13:09 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 50 Message-ID: <6d66qo$g2d3@chuka.playstation.co.uk> References: <34E86162.16D4@mdx.ac.uk> <34E877F6.7B1A@sms.ed.ac.uk> <6cuptd$as6@chuka.playstation.co.uk> <34F59D11.63D9@sms.ed.ac.uk> NNTP-Posting-Host: 194.75.167.131 X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 James Rutherford wrote in message <34F59D11.63D9@sms.ed.ac.uk>... >Hi John, > >I agree, the manuals aren't clear what is supposed to be going on with >BGs. I hadn't a clue what was meant to be happening to start with and in >the end I bit the bullet and just started typing (before I understood >what I ought to be typing). > >The GsBG structure is in fact very sensibly designed. I could tell you >how to do it (if I could remember without a reference guide, that is), >but I reckon it would be more helpful in terms of developing your Yaroze >skills if I instead gave you a couple of pointers... > >- Your background is built from 16x16 pixel tiles contained within the >frame buffer. You need to set up each different type of block as a >GsCELL. > >- GsMAP (I think) provides a nice way of linking which tiles you want >where for a particular map (a 2d value table) with which GsCELLs you >want to use in it. > >- GsBG is the top-level handle which can be registered into an OT. > >- Don't forget to set up the working memory area as well. > > >I hope this helps. >If you're still stuck, maybe Jason Jones' (SCEA) map designer and >associated routines will help. >I'll try and get round to posting a bitmap library myself when I've got >a bit more time (2 weeks from now?). > Thanks for the pointers. I agree with you when you say it is better to point someone in the right direction for them to learn better :) I have one more question regarding the BG. Can all the cells reside in one tpage? I only have about 12 different 16x16 4bit cell images all using the same clut (Yep, not a very colour rich game to start with. I plan to 'upgrade' it if it works!) JohnT ------------------------------------------ Send e-mail to johnt@nettech.demon.co.uk Visit my web site at www.coco.net.uk/johnt ------------------------------------------