Path: chuka.playstation.co.uk!news From: "Alex Herbert" Newsgroups: scee.yaroze.beginners Subject: Re: Drawing to background. Date: Tue, 15 Jun 1999 14:13:48 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 41 Message-ID: <7k5jf3$75r5@chuka.playstation.co.uk> References: <7k4b39$75r3@chuka.playstation.co.uk> NNTP-Posting-Host: 212.56.120.22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Scott Ward wrote in message news:7k4b39$75r3@chuka.playstation.co.uk... > Wow, I've finally got on the news group. Don't ask me why I couldn't get on > before, it was just me being thick again. > > I've never used a newsgroup before so here's a question to test it out. > > Is there any way to draw images to the background. > For example: > Say I have a game which has lots of aliens > flying about the screen, when the aliens get shot the sprites are replaced > with pictures of dead aliens. However, because the images just need to stay > there without moving or anything is there anyway of drawing them without > sorting them as sprites and therefore maybe saving on speed. Is this a > relevent question or am I just missing the point? > > Cheers, > > Scott "thick as pig shit" Ward. > Hi Scott, Welcome to the newsgroups! As the screen is completely redrawn each frame, those objects still need to be drawn. However, if your background is a static 16-bit bitmap, then you could draw your sprites directly onto the background image by moving the GPU drawing/clipping area accordingly. This would give the desired effect, but you have to be careful not to move the clipping area while the GPU is drawing. And don't forget, a screen sized 16-bit image will take up a lot of VRAM. Herbs