Path: chuka.playstation.co.uk!news From: "Alex Herbert" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Have I mentioned this before... bgWorkArea? Date: Fri, 6 Jul 2001 18:49:12 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 36 Message-ID: <9i4sa2$b933@www.netyaroze-europe.com> References: <9i4n4l$b931@www.netyaroze-europe.com> NNTP-Posting-Host: host213-123-128-89.btopenworld.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Hi Max, According to the Library Reference (page 142): size=(((ScreenW/CellW+1)*(ScreenH/CellH+1+1)*6+4)*2+2) Hope this helps. Alex "Max" wrote in message news:9i4n4l$b931@www.netyaroze-europe.com... > Hey all, > > I've started up again on the 2D tutorial and I'm puzzling over this > bgWorkArea size. Basically I have played around with it quite a bit. I have > 320 [16x16] tiles on the screen (20 tiles width x 16 tiles height) and my > bgWorkArea is (20*16)*12 = 3840, now I get the 20*16 bit - the number of > tiles on the screen but 12 is just an arbitiary number I put in but it won't > work with anything less. I have also tried SCREEN_WIDTH (320) * > SCREEN_HEIGHT (256) = 81920 (the number of pixels on the screen) but this > number far outweighs what I actually need as a bare minimum... because it > works with 3840. > > Can anyone tell me what the bgWorkArea size is actually mean to be? - > please? > > Max > >